Final URI

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

    Final URI

    Hello,
    How can I know using PHP what Uri was actually served when I goto
    http://localhost/ (or anyother website).

    For example in .Net, HttpWebResponse class has one key property -
    ResponseUri - that returns the final Uri that was read; for example,
    if we tried to access http://localhost/ then the
    HttpWebResponse Instance.Respon seUri would be
    http://localhost/index.html (if index.html is the default page) and
    NOT just http://localhost/.

    I hope you understand my question. Appreciate all your help.
    Thanks, Subhash
  • R. Rajesh Jeba Anbiah

    #2
    Re: Final URI

    subhash_daga@ya hoo.com (Subhash) wrote in message news:<fdffa0fb. 0409031241.2756 ebef@posting.go ogle.com>...[color=blue]
    > Hello,
    > How can I know using PHP what Uri was actually served when I goto
    > http://localhost/ (or anyother website).
    >
    > For example in .Net, HttpWebResponse class has one key property -
    > ResponseUri - that returns the final Uri that was read; for example,
    > if we tried to access http://localhost/ then the
    > HttpWebResponse Instance.Respon seUri would be
    > http://localhost/index.html (if index.html is the default page) and
    > NOT just http://localhost/.[/color]

    print_r($_SERVE R);

    --
    | Just another PHP saint |
    Email: rrjanbiah-at-Y!com

    Comment

    Working...