)
-Original Message-
From: David Allen [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 6:45 AM
To: [EMAIL PROTECTED]
Subject: [PHP] session problem using headers
Hi,
I am having problems with sessions. With cookies turned on it works
fine. Turn off cookies it fails.
I
the preferences advanced tab in Netscape.
David
David Allen wrote:
Thanks for your email. I did the changes you suggested, and the page is now
going
to input.php?= ie no record of the SID.
I added the following lines to the code.
echo SID: $SID;
and
echo SID: $PHPSESSID;
and $SID
Hi,
I am having problems with sessions. With cookies turned on it works
fine. Turn off cookies it fails.
I have tried both
header(Location: input.php?=SID);
header(Location: input.php?PHPSESSID=.PHPSESSID);
to pass the session id to the programme input.php but neither works.
The first lines
Why store the html in the db? Why not have multiple db fields, say url and desc
then when you grab them from the db to be outputed put them into the html
print 'A HREF="'.$url.'"'.$desc.'/A';
Then you wouldn't have to input all the html when it gets stored in the db, not
have to worry about
4 matches
Mail list logo