mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Revert "now that posttohost() supports ssl, we should use https here" as there could be mirrors without ssl support.
This reverts commit 1511842d06.
This commit is contained in:
@@ -82,7 +82,7 @@ if (count($_POST) && (!isset($_POST['purpose']) || !is_array($_POST['purpose'])
|
||||
// Post the request if there is no error
|
||||
if (!$error) {
|
||||
$error = posttohost(
|
||||
"https://master.php.net/entry/svn-account.php",
|
||||
"http://master.php.net/entry/svn-account.php",
|
||||
array(
|
||||
"username" => $cleaned['id'],
|
||||
"name" => $cleaned['fullname'],
|
||||
|
||||
@@ -68,7 +68,7 @@ if (isset($_POST['maillist'])) {
|
||||
|
||||
// Get in contact with master server to [un]subscribe the user
|
||||
$result = posttohost(
|
||||
"https://master.php.net/entry/subscribe.php",
|
||||
"http://master.php.net/entry/subscribe.php",
|
||||
array(
|
||||
"request" => $request,
|
||||
"email" => $_POST['email'],
|
||||
|
||||
@@ -97,7 +97,7 @@ if ($process) {
|
||||
// Post the variables to the central user note script
|
||||
// ($MQ is defined in prepend.inc)
|
||||
$result = posttohost(
|
||||
"https://master.php.net/entry/user-note.php",
|
||||
"http://master.php.net/entry/user-note.php",
|
||||
array(
|
||||
'user' => ($MQ ? stripslashes($user) : $user),
|
||||
'note' => ($MQ ? stripslashes($note) : $note),
|
||||
|
||||
@@ -121,7 +121,7 @@ if ($process) {
|
||||
|
||||
if (isset($_POST['action']) && $_POST['action'] === 'Submit' && empty($errors)) {
|
||||
// Submit to master.php.net
|
||||
$result = posttohost("https://master.php.net/entry/event.php", $_POST);
|
||||
$result = posttohost("http://master.php.net/entry/event.php", $_POST);
|
||||
if ($result) {
|
||||
$errors[] = "There was an error processing your submission: $result";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user