Jump to content


#!/usr/local/bin/php and sessions

  • Please log in to reply
No replies to this topic

#1 prisonerjohn

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 07 March 2006 - 03:57 AM


I am running a script on a server that requires me to put this line at the top of my script: #!/usr/local/bin/php (I think it has something to do with cgi, I'm not sure) but I also have to put my session_start() command at the top of the script.

If either of these is not the first executed statement, I get an error.

How am I supposed to do this?


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users