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
[EMAIL PROTECTED]
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
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php