FW: [PHP-WIN] cookie's

From: Date: Wed, 23 Aug 2000 15:49:44 +0000
Subject: FW: [PHP-WIN] cookie's
Groups: php.windows 
Request: Send a blank email to php-windows+get-2074@lists.php.net to get a copy of this message
Eh nope, I decided to make use of multiple files anyway, so this cookie setting go's OK; But what sould I do after this ? : $tmp=CheckCookie(); if ($tmp="Nothing") { MakeCookie(); } echo "<html><head><meta http-equiv=\"Content-Language\" content=\"en-us\">"; echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">"; echo "<title>$strTemp!</title>"; echo "</head><body>"; echo "</center></div></FORM></body></html>"; include ("./mainmenu.php"); exit; What I want to do here is simple, leave this script and setting's and let the browser go to the mainmenu.php page, from within this script I'll recall the previousd settings from the cookie... Regards, Jeroen. -----Original Message----- From: Pablo Vera [mailto:pvz@vercan.com] Sent: Wednesday, August 23, 2000 17:33 To: php-windows@lists.php.net Subject: Re: [PHP-WIN] cookie's Jeroen: If I understood you correct, you will need to check at the begining of the script what variables are set, so that you can determine what page should be generated. But as I always say, just give it a try and let us know what happened, I think it might work. Saludos, Pablo Vera _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Wednesday, August 23, 2000, 8:53:45 AM, you wrote: JtB> Sorry to bother you guys with something that should be clear in the PHP JtB> manual, but I nood to know for sure... JtB> I have 1 big file with a complete php script, this script generates page JtB> after page after page, at the start of the second page a cookie is set, then JtB> on a submit on that page another page is created, am I able to get the JtB> cookie variable now for this last page ? JtB> Or should I create an extra script for the following pages ? JtB> I know you guys don't like putting every-thing in a single file, but for my JtB> purpouse it is the most convenient... JtB> Regards, JtB> Jeroen. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#2074) next »