Re: syntax error using header and SID
| From: | John W. Holmes | Date: | Thu, 04 Sep 2003 16:46:44 +0000 |
| Subject: | Re: syntax error using header and SID | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-161672@lists.php.net to get a copy of this message | ||
bob pilly 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)?>" ) but it isnt working for me and all the docs i can find just deal with tagging it to the end of a hyperlink.header("Location: page2.php?" . SID); You should use a complete URL, btw, including http:// and the domain name. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com