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:[EMAIL PROTECTED]]
Sent: Monday, March 11, 2002 3:03 PM
To: [EMAIL PROTECTED]
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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to