Re: Unknown Error Reason

From: Date: Mon, 11 Mar 2002 21:22:44 +0000
Subject: Re: Unknown Error Reason
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-88093@lists.php.net to get a copy of this message
Hi. Sorry to bother you. I want to return my PHP script to a shell, and I have line breaks in it. However, the shell doesn't like newlines as far as I can tell (it puts it all one line). In my program, the line is split by \n. Can anyone help me with this issue? Thanks David. David wrote: > > Thanks! I think I've been working too hard :) > > David. > > Rick Emery wrote: > > > > 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. > > Rick Emery wrote: > > > > 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.

« previous php.general (#88093) next »