AW: [PHP] ?param=value&#anchorname

From: Date: Tue, 06 Mar 2001 13:29:04 +0000
Subject: AW: [PHP] ?param=value&#anchorname
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-42746@lists.php.net to get a copy of this message
ok, what i wanted to do was: 1. submit a variable ('param') to the following page and independently 2. on the following page jump to an anchor ('anchorname') of course, if you want to submit the variable: 'value#anchorname' to the following page the first approach ist the one and only bye Matthias Matthias Krehl matthias.krehl@key-work.de > -----Ursprüngliche Nachricht----- > Von: Jon Haworth [mailto:JHaworth@witanjardine.co.uk] > Gesendet: Dienstag, 6. März 2001 14:17 > An: 'Matthias Krehl' > Betreff: RE: [PHP] ?param=value&#anchorname > > > But if you're trying to pass an anchor as part of a hyperlink which is > itself the contents of a variable, you DEFINITELY want to use the first, > right? > > I can't see when you'd need the second. What are you using it for? (What > happens to "#anchorname"?) > > Cheers > Jon > > -----Original Message----- > From: Matthias Krehl [mailto:matthias.krehl@key-work.de] > Sent: 06 March 2001 13:14 > To: php-general@lists.php.net > Subject: [PHP] ?param=value&#anchorname > > > I found this one. Perhaps it's interesting for someone. Maybe it's even a > bug. Or maybe i ignored some specifications. However: > > This query: > > foo-script.php?param=value#anchorname > > will lead to 'value#anchorname' for $HTTP_GET_VARS['param'] > > Better is this one: > > foo-script.php?param=value&#anchorname > > which will lead to 'value' for $HTTP_GET_VARS['param'] > > bye Matthias > > > Matthias Krehl > matthias.krehl@key-work.de > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > ********************************************************************** > 'The information included in this Email is of a confidential > nature and is > intended only for the addressee. If you are not the intended addressee, > any disclosure, copying or distribution by you is prohibited and may be > unlawful. Disclosure to any party other than the addressee, whether > inadvertent or otherwise is not intended to waive privilege or > confidentiality' > > **********************************************************************

« previous php.general (#42746) next »