note 35228 deleted from function.realpath by vincent
| From: | vincent@php.net | Date: | Sun, 24 Aug 2003 16:43:57 +0000 |
| Subject: | note 35228 deleted from function.realpath by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54998@lists.php.net to get a copy of this message | ||
Note Submitter: dave@birko.cjb.net
----
note: on some servers,
$from = dirname(realpath($_SERVER['SCRIPT_FILENAME']))
should be used instead of
$from = dirname(realpath($_SERVER['DOCUMENT_ROOT'].
$_SERVER['SCRIPT_NAME']));