Re: [PHP] Non systems-wide auto_prepend_file

2003-03-16 Thread CodersNightMare
php_value auto_prepend_file /home/www/www.virtual.com/php/prepend.php php_value auto_append_file /home/www/www.virtual.com/php/append.php OR: php_admin_value auto_prepend_file your_file_name.php php_admin_value auto_append_file your_file_name.php I think that one or the other should work in the

RE: [PHP] Can't run PHP cli script from Cron

2003-02-28 Thread CodersNightMare
I am sure you have tried this, but, Do you call the full path to php for cron. something like: 40 * * * * /usr/local/bin/php -q /home/user/phpcliscript Hope this helps. At 10:10 AM 2/28/2003 -0800, you wrote: The path is #!/usr/local/bin/php -q But like I said, that can't be the problem becaus

Re: [PHP] List folder contents with links?

2003-02-20 Thread CodersNightMare
You can also take a look at: http://www.php.net/manual/en/function.opendir.php Hope this helps. At 11:54 AM 2/20/2003 -0500, you wrote: on 2/20/03 11:49 AM, David Otton at [EMAIL PROTECTED] wrote: >> Is it possible to display the contents of a given folder, list them , and >> make them links?

RE: [PHP] Root Commands

2003-02-19 Thread CodersNightMare
I have looked into this once before, and If I remember correctly, there is a way but PHP has to be compiled as CGI and not as a module. Then you would be able to use suEXEC to force it to run as a user other than what the web server is running. Try Qmail as your mail server, this has a lot of