diff --git a/reference/stream/reference.xml b/reference/stream/reference.xml index 6ebd637215..f08a4e09ec 100644 --- a/reference/stream/reference.xml +++ b/reference/stream/reference.xml @@ -1,5 +1,5 @@ - + Stream functions Streams @@ -206,7 +206,7 @@ $data = "foo=" . urlencode("Value for Foo") . "&bar=" . urlencode("Value for Bar fputs($sock, "POST /form_action.php HTTP/1.0\r\n"); fputs($sock, "Host: secure.example.com\r\n"); -fputs($sock, "Content-type: application/x-www-url-encoded\r\n"); +fputs($sock, "Content-type: application/x-www-form-urlencoded\r\n"); fputs($sock, "Content-length: " . strlen($data) . "\r\n"); fputs($sock, "Accept: */*\r\n"); fputs($sock, "\r\n");