[nycphp-talk] Getting fragment - after the hashmark[redeem]
Alberto dos Santos
acas at sapo.pt
Sat Jun 25 06:12:07 EDT 2005
Hans,
Javascript has "location.hash" which return the portion after # of the url.
I just don't know how to capture that to php, anybody canhelp here?
Bye
--
Alberto dos Santos
email: acas at sapo.pt
web: otrebla.no.sapo.pt
skype: fatflash
msn: fatflash at hotmail.com
Salvaguarda: Este email está protegido de vírus e programas maliciosos
-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of Hans Zaunere
Sent: sábado, 25 de Junho de 2005 7:22
To: 'NYPHP Talk'
Subject: [nycphp-talk] Getting fragment - after the hashmark
This seems like a silly question, and something that would be common.
When managing URLs during PHP runtime, how do you get the fragment part that
comes after the hashmark?
http://us4.php.net/manual/en/function.parse-url.php
Says it will return an array containing the fragment part, but the function
also requires you to pass in the URL. Yet, I can't find a way to get the
URL that includes the fragment, so it's a chicken-before-the-egg problem.
I'm probably forgetting the function or variable that does exactly what I
want, but I just can't place it.
Thanks,
H
_______________________________________________
New York PHP Talk Mailing List
AMP Technology
Supporting Apache, MySQL and PHP
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org
More information about the talk
mailing list