Re: browser url with #... [message #173187 is a reply to message #173185] |
Sat, 26 March 2011 18:39 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 3/26/2011 1:24 PM, Thomas 'PointedEars' Lahn wrote:
> Twayne wrote:
>
>> Vincenzo Scarpa typed:
>> :: with this code I get the address of the browser:
>> :: $url =
>> :: 'http://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
>> ::
>> :: but with this address:
>> :: http://www.example.com/example.php#one
>> ::
>> :: the code above does not work ($url contains only 'http://
>> :: www.example.com/example.php').
>> ::
>> :: How come? :(
>> ::
>> :: Thanks
>> :: Vincenzo
>>
>> # indicates a bookmark in the document at the URL.
>
> It does not.
>
>> If there is no such bookmark, then it cannot go there and fails.
>
> Bookmarks have nothing to do with this; that misconception aside,
> you are correct, but you are missing the point.
>
> Please<http://netmeister.org/news/learn2quote.html>.
>
>
> PointedEars
Wrong again. But that's pretty normal for you.
And I know I'm not quoting like YOU want. And I don't give a flying frick.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|