FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » browser url with #...
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: browser url with #... [message #173187 is a reply to message #173185] Sat, 26 March 2011 18:39 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  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
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to call external php script from html?
Next Topic: Stats comp.lang.php (last 7 days)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 09:11:45 GMT 2024

Total time taken to generate the page: 0.05314 seconds