note 94797 added to function.dirname

From: Date: Wed, 25 Nov 2009 14:06:53 +0000
Subject: note 94797 added to function.dirname
Groups: php.notes 
Request: Send a blank email to php-notes+get-163267@lists.php.net to get a copy of this message
In my mvc based framework i make BASE_PATH and BASE_URL definitions like the following and both work well in the framework without problem. index.php : define('BASE_PATH',realpath('.')); define('BASE_URL', dirname($_SERVER["SCRIPT_NAME"])); BASE_PATH is for server side inclusions. BASE_URL is for client side inclusions (scripts, css files, images etc.) ---- Server IP: 69.147.83.197 Probable Submitter: 85.103.142.210 ---- Manual Page -- http://www.php.net/manual/en/function.dirname.php Edit -- https://master.php.net/note/edit/94797 Del: integrated -- https://master.php.net/note/delete/94797/integrated Del: useless -- https://master.php.net/note/delete/94797/useless Del: bad code -- https://master.php.net/note/delete/94797/bad+code Del: spam -- https://master.php.net/note/delete/94797/spam Del: non-english -- https://master.php.net/note/delete/94797/non-english Del: in docs -- https://master.php.net/note/delete/94797/in+docs Del: other reasons-- https://master.php.net/note/delete/94797 Reject -- https://master.php.net/note/reject/94797 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#163267) next »