Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 3 of 3
  1. #1
    Platinum Lifetime Member

    Join Date
    Apr 2006
    Location
    Calgary, Canada
    Posts
    163
    DNF$
    121
    Bank
    0
    Total DNF$
    121
    Donate  

    $_SERVER['PHP_SELF'] problem

    I am having trouble getting a URL, I was wondering if there is a better command than $_SERVER['PHP_SELF'], because if I use that with a URL like index.php?option=com_content&itemid=2
    I will get with PHP_SELF
    index.php

    I want to get the whole URL, how do I do this?

  2. #2
    Platinum Lifetime Member
    goodyork's Avatar
    Join Date
    Jan 2005
    Location
    Beijing
    Posts
    794
    DNF$
    785
    Bank
    0
    Total DNF$
    785
    Donate  

    Re: $_SERVER['PHP_SELF'] problem

    use $_SERVER['REQUEST_URI']

  3. #3
    Platinum Lifetime Member

    Join Date
    Apr 2006
    Location
    Calgary, Canada
    Posts
    163
    DNF$
    121
    Bank
    0
    Total DNF$
    121
    Donate  

    Re: $_SERVER['PHP_SELF'] problem

    Thanks, that worked

Similar Threads

  1. SECURITY ALERT: Bogus Whois Problem Reports
    By Domagon in forum General Domain Name Discussion
    Replies: 2
    Last Post: 11-05-2004, 05:10 PM
  2. BIG Problem Accessing This Site
    By Duke in forum Gold Cafe
    Replies: 6
    Last Post: 09-21-2002, 03:27 PM
  3. Renewal: problem with Credit Card.. HELP!!!
    By pixelman in forum General Domain Name Discussion
    Replies: 12
    Last Post: 08-21-2002, 05:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Domain name forum recommended by Domaining.com