Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
HaiSoft (public)
Plesk - Mail Autoconfig
Commits
41a79b24
Unverified
Commit
41a79b24
authored
May 17, 2018
by
MegaS0ra
Committed by
GitHub
May 17, 2018
Browse files
Replaced mimetype for OS X compatibility
parent
2af82575
Changes
1
Hide whitespace changes
Inline
Side-by-side
iphone_en.xml
View file @
41a79b24
<?php if ($_REQUEST['email'] != "" && $_REQUEST['nom'] != "" && filter_var($_REQUEST['email'], FILTER_VALIDATE_EMAIL)): ?>
<?php if ($_REQUEST['email'] != "" && $_REQUEST['nom'] != "" && filter_var($_REQUEST['email'], FILTER_VALIDATE_EMAIL)): ?>
<
?php
<
?php
header('Content-Type:
text/plain
');
header('Content-Type:
application/x-apple-aspen-config
');
header("Content-Disposition: attachment; filename=\"".$_REQUEST['email'].".mobileconfig\"");
header("Content-Disposition: attachment; filename=\"".$_REQUEST['email'].".mobileconfig\"");
$conf = file_get_contents('iphone.mobileconfig');
$conf = file_get_contents('iphone.mobileconfig');
$conf = str_replace('%email%', $_REQUEST['email'], $conf);
$conf = str_replace('%email%', $_REQUEST['email'], $conf);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment