I feel like a dingbat. The "or die("error message") works fine on the call
that flails on the open_basedir restriction. I also put an "@" in front of
the failed open_basedir call so the page doesn't have an error message
besides what's in my die("blah") call.

If there's a better or cleaner way, let me know.

-Dash

"They told me I was gullible ... and I believed them!"

On Sun, 22 Sep 2002, Dash McElroy wrote:

> Hello there,
>
> I have what should be a simple question: How can I get a script to fail
> (terminate or exit, whatever) on a failed open_basedir restriction? In
> other words, if I try to open a file outside of the open_basedir
> restriction, how do I get the script to stop?
>
> This should be simple and I must be missing something...
>
> Thanks in advance,
>
> -Dash
>
> As long as the answer is right, who cares if the question is wrong?
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to