Thread: PHP help please
View Single Post
Old 10-18-2002, 01:24 PM  
Rory
Confirmed User
 
Join Date: Jul 2002
Location: I Love Ixtapa, Mexico ö
Posts: 616
$_SERVER['PHP_SELF'] will give you the path of the php file that is executing...... so do this :

$current_page = $_SERVER['PHP_SELF'];
$full_web = "http://www.yourdomain.com" . $current_page;
Rory is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote