Re: Missing

From: Date: Thu, 31 Oct 2002 16:29:40 +0000
Subject: Re: Missing
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-122270@lists.php.net to get a copy of this message
For some reason, if I didn't change it to: die("DOH!\n"); it wouldn't work, I guess in console mode, you have to shunt an extra newline character (\n) before it will work. Adam Voigt adam.voigt@cryptocomm.com On Thu, 2002-10-31 at 11:28, Chris Hewitt wrote: > Adam Voigt wrote: > > >#!/usr/local/php_4.2.3/bin/php -q > ><?php > > > >if(!file_exists("sdlksd")) > > die("DOH!"); > > > >?> > > > I think it works. I get "DOH!" printed when I try this. What do you get? > I'm doing this from a web browser rather than command line though, so I > don't use your #!/usr... line. > HTH > Chris > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#122270) next »