Re: 302 Responses (Was: session cookies)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris Shiflett wrote:
> 3. Chris's modified test script:
> 
> header('Location: http://www.php.net/');
> $fp = fopen('/tmp/log.txt', 'w');
> for ($i = 0; $i < 30; $i++)
> {
>     $str = "Count $i\n";
>     echo str_repeat($str, 1000);
>     fputs($fp, $str);
>     sleep(1);
>     flush();
> }

This redirects right away for me.  Try it:

http://lerdorf.com/cs.php

Code at: http://lerdorf.com/cs.phps

No idea what you are doing on your end to get a different result.

-Rasmus

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux