note 96367 added to function.getcwd

From: Date: Tue, 23 Feb 2010 16:45:16 +0000
Subject: note 96367 added to function.getcwd
Groups: php.notes 
Request: Send a blank email to php-notes+get-166289@lists.php.net to get a copy of this message
In response to znupi69: I start all php scripts that I run from the command line (or as cron job) with the following statement: chdir(dirname(__FILE__)); to be able to use relative paths with an include. ---- Server IP: 69.147.83.197 Probable Submitter: 93.97.193.240 ---- Manual Page -- http://www.php.net/manual/en/function.getcwd.php Edit -- https://master.php.net/note/edit/96367 Del: integrated -- https://master.php.net/note/delete/96367/integrated Del: useless -- https://master.php.net/note/delete/96367/useless Del: bad code -- https://master.php.net/note/delete/96367/bad+code Del: spam -- https://master.php.net/note/delete/96367/spam Del: non-english -- https://master.php.net/note/delete/96367/non-english Del: in docs -- https://master.php.net/note/delete/96367/in+docs Del: other reasons-- https://master.php.net/note/delete/96367 Reject -- https://master.php.net/note/reject/96367 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#166289) next »