Re: Re[2]: [PHP] Newbie redirect/variable question

From: Date: Thu, 10 May 2001 13:59:43 +0000
Subject: Re: Re[2]: [PHP] Newbie redirect/variable question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-52280@lists.php.net to get a copy of this message
You should probably urlencode the address first, like this: <a href="redirect.php?fred=<?php echo urlencode("www.fusion.org.au") ?>">test link</a> Not sure if it solves the problem though. Regards, Jakob Kruse ""Steve Wade"" <swadie@zipworld.com.au> wrote in message news:MABBKCBDLHPGCKNPPFEKEELHCFAA.swadie@zipworld.com.au... > Ahh - thanks - that's helped :-) (Line 9 was the http_referrer line) > > Now the only trouble is, it seems to still treat $fred as null. > > The passing line is from index.php: > > <a href="redirect.php?fred=www.fusion.org.au">test link</a> > > Should this work? > > Thanks, > > Steve > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Steve Wade > Youth Outreach Coordinator > Fusion Australia Ltd (Sydney North) > ABN 26 001 273 105 > +61 2 9477 1110

« previous php.general (#52280) next »