/**

popular collection of scripts for all

*/
/** Search */

How to Find the Current URL with PHP

 }

How to Find the Current URL with PHP

Hits: 7
*****
0.0
The full URL to a page comes in three parts: The domain name, the path to the file then the filename, and the query string. For example, take the URL http://www.example.com/ex ample/page.php?name=Bob: 1. The domain name: www.example.com; 2. The path to the page: /example/page.php; 3. The query string: name=Bob So how do you find it all out in your own PHP scripts? This guide will tell you how access each of these elements by using the $_SERVER superglobal array which is available at all times within your PHP scripts.
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris
Date: Dec, 10 2006
Author: Sven Vdhrison, http://discomoose.org/2005/11/02/how-to-find-the-current-url-with-php/

License

 }
  • License #1
    • License Type: Other Free / Open Source License
    • price: Free
  • License #2
    • License Type: Commercial License
    • price: 19.95$

Ratings

 }
Number of Ratings: 0 Votes
Visitor Voting Booth:

   
1 2 3 4 5

Others Scripts

 }
{ Copyright } ©2006 NuclearScripts.com