RE: [PHP-DEV] auto_prepend/append: does the PHP engine cache the

2002-10-07 Thread Lance Lovette
Pwee does allow you to change the environment based on virtual host by setting a php_value for pwee.userconfpath in either the VirtualHost specification or .htaccess file. There's a brief section on the web site about this. It's not as elegant a solution as you'd like though. Being able to specify

RE: [PHP-DEV] auto_prepend/append: does the PHP engine cache the

2002-10-05 Thread Lance Lovette
> I find myself including() the same constants.inc file in all my scripts, > is there a way to declare static constants that remain even when a > script exits? (I am using PHP as an Apache module). I wrote the PWEE PHP extension to solve this exact problem. http://pwee.sourceforge.net I haven

[PHP-DEV] PHP -f or -q?

2002-07-18 Thread Lance Lovette
I am executing PHP CGI scripts from the command line. I usually run scripts using the -f switch. However I recently started passing arguments to the scripts and notice that if the first argument after the name of the script is a hyphenated argument it will not be passed to the script. For example,

[PHP-DEV] No file uploaded...

2002-07-17 Thread Lance Lovette
I have a question related to bug #17530. The message "Notice: No file uploaded in Unknown on line 0" is driving me crazy. I see it every time I submit a bug report in Mantis or execute a query in phpMyAdmin. They only way I've found to get it to stop is to disable E_NOTICE in php.ini. I don't like

[PHP-DEV] Re: FRC: psv (Persistent Server Variable) module

2002-04-15 Thread Lance Lovette
Check out the Pwee extension module. It sounds like it might provide some of the described functionality. http://pwee.sourceforge.net/ -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php