Thread: PHP help please
View Single Post
Old 10-18-2002, 01:39 PM  
3Xguru
Confirmed User
 
Join Date: Sep 2001
Location: Iasi
Posts: 1,281
Quote:
Originally posted by Rory
$_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;
Yes, I understand the PHP_SELF part, but I also need the name of the domain to be loaded dynamicaly. How do I do that?
__________________
-=Free Webmaster Tools=-
3Xguru is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote