[thelist] Function for listing a page's URL

Alex Virdol ciocanel at gmail.com
Thu Feb 10 12:37:06 CST 2005


On Thu, 10 Feb 2005 09:22:51 -0800, Dominick Cancilla
<cancilla.d at mellon.com> 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?

And the Javascript version:
<footer>
    <script type="text/javscript">
         document.write(document.location)
     </script>
</footer>

-- 
Linux registered user #379965.


More information about the thelist mailing list