I don't know if it's possible because as far as I know headers are sent immediately upon execution when PHP is installed as CGI binary. But my question is, if possible, how can I get cookies to work when PHP has been installed as CGI binary.
This does NOT work for me: // start of code #!/usr/bin/php <?php setcookie ("logName","someUser",time()+3600); ?> // end of code Any ideas? Thanks, - Kurtii -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]