note 37191 added to function.getcwd

From: Date: Thu, 06 Nov 2003 13:00:58 +0000
Subject: note 37191 added to function.getcwd
Groups: php.notes 
Request: Send a blank email to php-notes+get-59984@lists.php.net to get a copy of this message
//chdir() and getcwd() and also test the behavior of 'exit' if (!isset($id) || !isnumeric($id) ) { exit ('Incorrect id'); /* Interresting behavior of exit with if/else statements concerning out put */ echo "Because of id"; } else { // Change Directory chdir(my_Directory); // to get Current working directory my_String(getcwd()); } Regards Raja Shahed _______________________________________________ ---- Manual Page -- http://www.php.net/manual/en/function.getcwd.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37191 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37191&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37191&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#59984) next »