Current URL
Posted: Tue Oct 17, 2006 5:35 pm
How do I read the current url into a variable? Something like:
thanks
Code: Select all
$url = read_current_url();A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
$url = read_current_url();Code: Select all
$yourvariable = $_SERVER['SERVER_NAME'];