note 103695 added to function.realpath

From: Date: Thu, 28 Apr 2011 15:54:10 +0000
Subject: note 103695 added to function.realpath
Groups: php.notes 
Request: Send a blank email to php-notes+get-179235@lists.php.net to get a copy of this message
Regarding the function getRelativePath I have a simple suggestion: str_replace($_SERVER['DOCUMENT_ROOT'], '', realpath($yourDocument) .'/'. basename($yourDocument)); ---- Server IP: 217.160.235.204 Probable Submitter: 91.220.125.48 ---- Manual Page -- http://www.php.net/manual/en/function.realpath.php Edit -- https://master.php.net/note/edit/103695 Del: integrated -- https://master.php.net/note/delete/103695/integrated Del: useless -- https://master.php.net/note/delete/103695/useless Del: bad code -- https://master.php.net/note/delete/103695/bad+code Del: spam -- https://master.php.net/note/delete/103695/spam Del: non-english -- https://master.php.net/note/delete/103695/non-english Del: in docs -- https://master.php.net/note/delete/103695/in+docs Del: other reasons-- https://master.php.net/note/delete/103695 Reject -- https://master.php.net/note/reject/103695 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#179235) next »