1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Gah! posttohost() doesn't speak ssl

This commit is contained in:
Rasmus Lerdorf
2012-01-22 07:32:24 +00:00
parent 52af0c2fe2
commit eb81c4b5e3
3 changed files with 3 additions and 3 deletions

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