[PHP-WIN] open_basedir with apache on a per-virtalhost basis?

2002-11-03 Thread Luke
Does anyone know how to set the open_basedir in Apache 1.3x running on win2k on a per-virtual host basis? I've been looking for hours and I haven't found any information that works :( PHP is running as several SAPI modules (maybe this is the problem, but I've read that SAPI is better than the cgi

Re: [PHP-WIN] open_basedir question (solved)

2002-09-22 Thread Dash McElroy
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, l

[PHP-WIN] open_basedir question

2002-09-22 Thread Dash McElroy
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 m

[PHP-WIN] OPEN_BASEDIR

2001-08-28 Thread Erick Baum
I have specified the "open_basedir" in our php.ini file on our Windows 2000 Server running IIS5. No matter what I set open_basedir = it does not work. It will still allow me to open any file on the hard drive. I have tried specifying all of the following and it seems to have no effect: open_bas