Re: Trouble with running PHP from the command line

From: Date: Thu, 02 Aug 2001 18:04:09 +0000
Subject: Re: Trouble with running PHP from the command line
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-3804@lists.php.net to get a copy of this message
hi, I've solved the problem. The solution was to give the #!/usr/bin/php -q at the head of the file. thanks, Raphael. "Raphael Kuriyan" <raph_kuriyan@yahoo.com> wrote in message news:20010802171029.49494.qmail@pb1.pair.com... > hi > > I'm trying to run PHP from the command line. With plain constructs, it works > fine. But if I make an odbc connection or attempt to send a mail from within > the code, it is not processed. the interpreter does not show any errors - > the lines that make the connection/send mails are just ignored. > > I've done a few google searches (including archives of this newsgroup) but > have come up with anything. Can anybopdy help? > > thanks, > Raphael. > > >

« previous php.install (#3804) next »