RE: [PHP] Unknown Error Reason
| From: | Rick Emery | Date: | Mon, 11 Mar 2002 21:09:03 +0000 |
| Subject: | RE: [PHP] Unknown Error Reason | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-88085@lists.php.net to get a copy of this message | ||
First: change -
if(file_exists($info[5]){
to -
if(file_exists($info[5])){
Second: ensure the file permissions are set to rwxrwxr-x for bank.php
-----Original Message-----
From: David [mailto:dapthorpe@btinternet.com]
Sent: Monday, March 11, 2002 3:03 PM
To: php-general@lists.php.net
Subject: [PHP] Unknown Error Reason
Hi,
When I try to run this, I get an error saying "invalid file permissions"
and will not run. However, I then run it using php -q bank.php and this
works fine.
Unfortunately, there is a parse error on line 68 (apparantly) which I
cannot figure out.
Can anyone help me here?
Thanks in advance,
David Apthorpe.