Page 1 of 1

#!/usr/bin/php and https:

Posted: Fri Jul 15, 2005 8:35 am
by lisamarie_tt
Hi,
I am relatively new to PHP and need some help. I understand the the use of the line #!/usr/bin/php is for php congiguration. I am using an Apachee Web Server and the above mentioned config line to process my php files, (This is working fine).

I have however made the following observation that when using https: and the #!/usr/bin/php line in a file that has a setcookie function, the cookie is not being set or i have problems retriving information belonging to a particular cookie.

Has this occured before with anyone?
Do you that it has to do with my configuration?

Any insight or suggestions in this would be welcome.
:)

Posted: Fri Jul 15, 2005 8:50 am
by patrikG
Nothing wrong with your config at all. Session cookies set on an unencrypted page are not valid for encrypted pages. The solution: viewtopic.php?t=14994

P.S.: Welcome to the forum