Posted by Sjoerd on 12/05/05 21:46
Why does header location does not work? I tried the following script, and it just writes numbers into test.txt. The only problem is that Firefox stops after 20 redirects. <?php header('Location: test.php?item='.($_GET['item']+1)); sleep(1); $fp = fopen('test.txt', 'a'); fwrite($fp, $_GET['item']."\n"); fclose($fp); ?>
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming