[thelist] Function for listing a page's URL
Benjamin Tilley
kalos at carolina.rr.com
Thu Feb 10 12:31:22 CST 2005
Just add this to wherever you want the listing.
It will display, for example, http://blah.com/dir1/dir2/page.ext
<?php echo $_SERVER["SCRIPT_URI"]; ?>
Dominick Cancilla wrote:
>I'd like to add a function to my Website's footer that would list the page's
>URL (as a reminder to credit the page if it is quoted elsewhere). My server
>is capable of PHP, but I don't know a darned thing about it. Is there a PHP
>or Javascript method for doing what I want? Or something else I'm
>overlooking?
>
More information about the thelist
mailing list