1
0
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:
Ferenc Kovacs
2012-08-06 00:12:13 +02:00
parent 1511842d06
commit 3866e9ed7e
4 changed files with 4 additions and 4 deletions

View File

@@ -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'],

View File

@@ -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'],

View File

@@ -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),

View File

@@ -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";
}