Re: [PHP] Unknown Error Reason

2002-03-11 Thread David

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:[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.
> 
> 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:[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




Re: [PHP] Unknown Error Reason

2002-03-11 Thread David

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:[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.


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:[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




RE: [PHP] Unknown Error Reason

2002-03-11 Thread Rick Emery

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