problem with fsockopen ............

From: Date: Mon, 18 Aug 2003 15:28:34 +0000
Subject: problem with fsockopen ............
Groups: php.general 
Request: Send a blank email to php-general+get-159896@lists.php.net to get a copy of this message
Hi,Sir: Can I block cookies when I ftput headers ? following is my fsockopen() scripts, but it always send back "cookies"..... Is there any way to prevent from it ? thanks ------------------------------------------------- $fp = fsockopen ("XXX.XXX.XXX.XXX", 80, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno)<br>\n";} else { fputs ($fp, "GET /index.php HTTP/1.0\r\"); fputs($fp,"Host: XXX.XXX.XXX.XXX\r\n"); fputs($fp,"Pragma: no-cache\r\n"); fputs($fp,"Connection: close\r\n\r\n"); } fclose ($fp); ----------------------------------- Fongming from Taiwan. ------------------------------------------ ¡»From: ¦¹«H¬O¥Ñ®ç¤p¹q¤l¶l¥ó1.5ª©©Òµo¥X... http://fonn.fongming.idv.tw fongming@fonn.fongming.idv.tw

« previous php.general (#159896) next »