Re: "fragment" component of a URL
| From: | Angel Fenoy | Date: | Wed, 26 Jul 2000 09:22:26 +0000 |
| Subject: | Re: "fragment" component of a URL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-8227@lists.php.net to get a copy of this message | ||
Hello, Daniel & list.
You are near to understand my problem now:
$REQUEST_URI does NOT contain "fragment" part of present URI.
^^^
Try this script:
----------myscript.php------------
<? echo $REQUEST_URI; ?>
--------End of myscript.php-------
Call it WITH THIS SYNTAX:
http://yourhost/yourpath/myscript.php?myvar1=1&myvar2=2#myfragment
The result is:
/yourpath/myscript.php?myvar1=1&myvar2=2
Component '#myfragment' of URI has disappeared!!!
It happens to me only??
Can somebody see in screen '#myfragment' when execute the script??
This is what I need. A variable or function like $REQUEST_URI but that
also contains "fragment" part of URI.
Thanks
Angel