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?