note 76800 added to function.fsockopen
| From: | noreply at recgr dot com | Date: | Tue, 31 Jul 2007 10:43:47 +0000 |
| Subject: | note 76800 added to function.fsockopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129071@lists.php.net to get a copy of this message | ||
Never forget to put double newline break at the end of string which you're going to transmit.
## BAD:
<?
$out = "GET / HTTP/1.1\r\n";
$out .= "Host: www.recgr.com\r\n";
$out .= "Connection: close\r\n";
?>
## CORRECT:
<?
$out = "GET / HTTP/1.1\r\n";
$out .= "Host: www.recgr.com\r\n";
$out .= "Connection: close\r\n\r\n";
?>
----
Server IP: 193.198.184.18
Probable Submitter: 193.198.146.56
----
Manual Page -- http://www.php.net/manual/en/function.fsockopen.php
Edit -- https://master.php.net/note/edit/76800
Del: integrated -- https://master.php.net/note/delete/76800/integrated
Del: useless -- https://master.php.net/note/delete/76800/useless
Del: bad code -- https://master.php.net/note/delete/76800/bad+code
Del: spam -- https://master.php.net/note/delete/76800/spam
Del: non-english -- https://master.php.net/note/delete/76800/non-english
Del: in docs -- https://master.php.net/note/delete/76800/in+docs
Del: other reasons-- https://master.php.net/note/delete/76800
Reject -- https://master.php.net/note/reject/76800
Search -- https://master.php.net/manage/user-notes.php