No,thanks.....I still got the cookies , and
could not block cookies, how comes that ?

the following is my  scripts:
--------------------------------------- 
 $fp = fopen("http://XXX.XXX.XXX","r";);
       
       while(!feof($fp))
            {
            echo fgets($fp,128);
            }
       fclose($fp);

----------------------------------------
>If you want to block the http headers sent back by >the web server,use
>fopen() instead.
> -----Original Message-----
> From: fongming [mailto:[EMAIL PROTECTED] 
> Sent: Monday, August 18, 2003 11:29 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] problem with fsockopen ............
> 
> 
> 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: 此信是由桃小電子郵件1.5版所發出...
> http://fonn.fongming.idv.tw
> [EMAIL PROTECTED]
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-----------------------------------
Fongming from Taiwan.


------------------------------------------
◆From: 此信是由桃小電子郵件1.5版所發出...
http://fonn.fongming.idv.tw
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to