TRANS_SID troubles

From: Date: Sun, 04 Jun 2000 01:43:19 +0000
Subject: TRANS_SID troubles
Groups: php.version4 
Request: Send a blank email to php-version4+get-16117@lists.php.net to get a copy of this message
Sascha (or anyone else who can help), I'm using RC4dev with RH6.1/ Linux-Apache. I'm having some troubles with TRAN_SID mangling URL's. If I have <a href=/all/php/restart.php>Log Out</a> the ?PHPSESSID=... is appended to the URL properly, like so: <a href=/all/php/restart.php?PHPSESSID=51df322e3c3061ef587f42ae8d650cfb>Log Out</a> But if I embed a PHP var into the URL like this: $LANGDIR = 'ENGL'; <a href=/<?=$LANGDIR?>/USER/map.php>Site Map</a> then the output gets ugly: <a href=/?PHPSESSID=51df322e3c3061ef587f42ae8d650cfbENGL/USER/map.php?&960079833>Site Map</a> If I write it like this: <?="<a href=/$LANGDIR/USER/map.php>"?>Site Map<?='</a>'?> then PHP generates the correct output, but I'd like to avoid doing this, since it makes the links "invisible" to Dreamweaver, and makes it hard to work with. I've looked at the current CVS, it it doesn't appear that any changes have been made to the url_scanner code since long before the version that I am running. Any help would be appreciated ... Regards, Paul ------------------------------------------------------------------------- This email server is running an evaluation copy of the MailShield anti- spam software. Please contact your email administrator if you have any questions about this message. MailShield product info: www.mailshield.com

« previous php.version4 (#16117) next »