Re: [PHP] session problem using headers

2001-07-16 Thread David Allen
) -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

Re: [PHP] session problem using headers

2001-07-16 Thread David Allen
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

[PHP] session problem using headers

2001-07-13 Thread David Allen
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

Re: [PHP] pop textarea field w/ text incl. quotes

2001-02-21 Thread David Allen Reid
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