note 105027 deleted from function.file by danbrown

From: Date: Mon, 25 Jul 2011 12:29:28 +0000
Subject: note 105027 deleted from function.file by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-181835@lists.php.net to get a copy of this message
Note Submitter: Ben ---- To open files with a path relative to the script itself, you need to use "dirname(__FILE__)" like: <?php $x = open(dirname(__FILE__) . "/../data/sample.txt"); ?>

« previous php.notes (#181835) next »