pbolduc 0 Report post Posted December 19, 2007 I need to be able to identify the URL of the current page being viewed in order to put it in a link on that page.I'm new to php and have not figured this one out yetAny assistance would be appreciatedthanks in advancepete Share this post Link to post Share on other sites
iGuest 3 Report post Posted December 27, 2007 To get the current URL you just need to output: <?php echo $_SERVER['PHP_SELF']; ?> If that doesn't contain enough for what you need, then do:<?php phpinfo(); ?> and look at what variables exist that might contain the information you want.Cheers,MC Share this post Link to post Share on other sites