At 18:33 4-9-03, you wrote:
Hi all

Can someone tell me what the correct syntax is to pass
a Session ID via the header redirect is? Im trying:

header( "Location: page2.php?<?echo strip_tags
(SID)?>" )

You are making a row of mistakes that suggest it is a good idea to read a bit on PHP syntax and how variables are passed over pages.


For instance, you are calling a php function such as header(), you are already inside php tags (<?PHP and ?>), or at least you SHOULD be.
Then, you work with SID, is that a CONSTANT ?


A good place to start is the first chapters of the online php manual on uk.php.net/manual/en and a tutorial on sessions on http://www.phpfreaks.com/tutorials/41/0.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to