note 48694 deleted from function.get-current-user by felipe

From: Date: Thu, 03 Jan 2008 01:41:16 +0000
Subject: note 48694 deleted from function.get-current-user by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-134689@lists.php.net to get a copy of this message
Note Submitter: chris ---- If you want to get the absolute name of the file you are currently on, use this: <? $rest = explode("php.net/", $PHP_SELF); $rest = $rest[0]; echo("/home/".get_current_user()."/public_html".$rest); ?> Just change php.net/ to your site's domain and a slash.

« previous php.notes (#134689) next »