cookies fails when php from ssi
| From: | Francesco Borri | Date: | Tue, 14 Nov 2000 10:10:56 +0000 |
| Subject: | cookies fails when php from ssi | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-4416@lists.php.net to get a copy of this message | ||
hi everybody!
On my website I use SSI, so my pages have .shtml extension.
The webserver is Apache and php is version 3.
Now I'm writing a PHP script for insert some html lines in a certain point
in my page and I want to run this script with a SSI instruction from that
point in the page (<!--#include virtual="my_script.php3" -->).
The problem is the script uses cookies and calling the script from a SSI
instruction causes the impossibility for the script to read and write
cookies. So it seems!
I can't turn my pages in .php3 extension becasue they are indexed in many
search engines.
Could anybody suggest me a solution ?
Thank you very much.
Francesco