complete address including variables

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • windandwaves

    complete address including variables

    Hi Folk

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

    "http://".$_SERVER['HTTP_HOST'].$HTTP_SERVER_V ARS["SCRIPT_NAM E"];

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

    Is it possible to add this?

    Cheers

    - Nicolaas


  • \(¯`·..Yttrium ...·´¯\)

    #2
    Re: complete address including variables


    "windandwav es" <winandwaves@co ldmail.com> a écrit dans le message de news:
    4270284c$1@clea r.net.nz...[color=blue]
    > Hi Folk
    >
    > Is it possible to get the complete address in the address bar?
    >
    > "http://".$_SERVER['HTTP_HOST'].$HTTP_SERVER_V ARS["SCRIPT_NAM E"];
    >
    > 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_quer y ()


    Comment

    • windandwaves

      #3
      Re: complete address including variables

      (¯`·..Yttrium ...·´¯) wrote:[color=blue]
      > "windandwav es" <winandwaves@co ldmail.com> a écrit dans le message de
      > news: 4270284c$1@clea r.net.nz...[color=green]
      >> Hi Folk
      >>
      >> Is it possible to get the complete address in the address bar?
      >>
      >> "http://".$_SERVER['HTTP_HOST'].$HTTP_SERVER_V ARS["SCRIPT_NAM E"];
      >>
      >> 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_quer y ()[/color]

      thanks cool!


      Comment

      Working...