[thelist] Function for listing a page's URL

Justin King getafixx at getafixx.com
Thu Feb 10 12:41:37 CST 2005


Hi dom,

<?
global $SCRIPT_NAME;
global $SERVER_NAME;
echo "http://" . $SERVER_NAME . $SCRIPT_NAME . "\n";
?>

this will put the url of the page where ever you want it.

Justin
----- Original Message ----- 
From: "Dominick Cancilla" <cancilla.d at mellon.com>
To: <thelist at lists.evolt.org>
Sent: Thursday, February 10, 2005 5:22 PM
Subject: [thelist] Function for listing a page's URL


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?

I've poked around on Google for this, but have had no luck (I may not be
searching for the right thing).

Thanks!

--Dominick

The information contained in this e-mail may be confidential and is intended
solely for the use of the named addressee.
Access, copying or re-use of the e-mail or any information contained therein
by any other person is not authorized.
If you are not the intended recipient please notify us immediately by
returning the e-mail to the originator.(A)
-- 

* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !




More information about the thelist mailing list