note 37191 deleted from function.getcwd by didou
| From: | didou@php.net | Date: | Thu, 06 Nov 2003 13:07:23 +0000 |
| Subject: | note 37191 deleted from function.getcwd by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-59986@lists.php.net to get a copy of this message | ||
Note Submitter: raja@rajashahed.com
----
//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
_______________________________________________