On Thu, 2003-09-04 at 09:33, 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)?>" )
header( "Location: page2.php?". strip_tags( SID ) ); the problem you are having is that you are already inside php tags when you are using the header function and don't need to make new php tags to use the echo statement. and for that matter, you don't need to use the echo statement at all. just append the SID to the end of the location. > but it isnt working for me and all the docs i can find > just deal with tagging it to the end of a hyperlink. > > Any help would be greatly appreciated! > > > > ________________________________________________________________________ > Want to chat instantly with your online friends? Get the FREE Yahoo! > Messenger http://mail.messenger.yahoo.co.uk -- Tyler Lane <[EMAIL PROTECTED]> Lyrical Communications
signature.asc
Description: This is a digitally signed message part