PHP: Write address line data to page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
TufanCetin
Forum Newbie
Posts: 1
Joined: Wed Jul 23, 2008 10:39 am

PHP: Write address line data to page

Post by TufanCetin »

Write address line to page in PHP... How can I do?
adroit
Forum Commoner
Posts: 37
Joined: Fri Aug 08, 2008 1:25 am
Location: India
Contact:

Re: PHP: Write address line data to page

Post by adroit »

Hi TufanCetin,

$new_url = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];

Regards,
Adroit
http://www.adroitsoftware.org
Post Reply