Connecting Tech Pros Worldwide Help | Site Map

complete address including variables

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 12:52 PM
windandwaves
Guest
 
Posts: n/a
Default complete address including variables

Hi Folk

Is it possible to get the complete address in the address bar?

"http://".$_SERVER['HTTP_HOST'].$HTTP_SERVER_VARS["SCRIPT_NAME"];

will give me the location, but not the variables after the ?

Is it possible to add this?

Cheers

- Nicolaas



  #2  
Old July 17th, 2005, 12:53 PM
\(¯`·..Yttrium ...·´¯\)
Guest
 
Posts: n/a
Default Re: complete address including variables


"windandwaves" <winandwaves@coldmail.com> a écrit dans le message de news:
4270284c$1@clear.net.nz...[color=blue]
> Hi Folk
>
> Is it possible to get the complete address in the address bar?
>
> "http://".$_SERVER['HTTP_HOST'].$HTTP_SERVER_VARS["SCRIPT_NAME"];
>
> will give me the location, but not the variables after the ?
>
> Is it possible to add this?
>
> Cheers
>
> - Nicolaas[/color]

HI
You must add $_SERVER['QUERY_STRING'] to your URL
Or use http_build_query ()


  #3  
Old July 17th, 2005, 12:54 PM
windandwaves
Guest
 
Posts: n/a
Default Re: complete address including variables

(¯`·..Yttrium ...·´¯) wrote:[color=blue]
> "windandwaves" <winandwaves@coldmail.com> a écrit dans le message de
> news: 4270284c$1@clear.net.nz...[color=green]
>> Hi Folk
>>
>> Is it possible to get the complete address in the address bar?
>>
>> "http://".$_SERVER['HTTP_HOST'].$HTTP_SERVER_VARS["SCRIPT_NAME"];
>>
>> will give me the location, but not the variables after the ?
>>
>> Is it possible to add this?
>>
>> Cheers
>>
>> - Nicolaas[/color]
>
> HI
> You must add $_SERVER['QUERY_STRING'] to your URL
> Or use http_build_query ()[/color]

thanks cool!


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.