RE: [PHP-DB] passing both an anchor and a variable
| From: | Norland, Martin | Date: | Fri, 12 Nov 2004 16:08:35 +0000 |
| Subject: | RE: [PHP-DB] passing both an anchor and a variable | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-37249@lists.php.net to get a copy of this message | ||
I have to admit, I've managed never to actually run into this - mostly
because I almost never use anchors:
http://www.faqts.com/knowledge_base/view.phtml/aid/317/fid/2
Counter-intuitively, it seems you have to toss the anchor at the end of
the get string. This works in my brief testing - and more importantly,
putting the anchor before the get string didn't work.
I would have thought it would go before though - I suppose the idea is
the anchor gets put on last, and more importantly - stripped off first
(by the browser). It may not be passed to the webserver at all.
/me checks access log
Nope - anchor's aren't passed in the request. So, yeah - it's only used
by the browser. (That makes sense - the point of anchors is to go to a
spot within a page)
Neat, ya learn something new every day.
Cheers,
- Martin Norland, Database / Web Developer, International Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.
-----Original Message-----
From: Perry, Matthew (Fire Marshal's Office)
[mailto:Matthew.Perry@fmo.hctx.net]
Sent: Friday, November 12, 2004 9:58 AM
To: PHP DB
Subject: [PHP-DB] passing both an anchor and a variable
How do you append both an anchor and a variable to a URL with PHP?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php