Re: [PHP-WIN] Works through DOS, not through Apache

2001-07-31 Thread Frank M. Kromann
Hi Shawn, If you run the script without supressiung the warnings you would perhaps see the reson :-) When running the script from the command line PHP hase the same access rights as the user executing the script. When executing through a request to a web server, PHP has the same access rights

[PHP-WIN] Works through DOS, not through Apache

2001-07-31 Thread SHAWN
Can anyone tell me why the following code won't work when I call it through Apache, but it DOES work when I do it in a Command Prompt? It gives me 0 when I run it through Apache. I'm have PHP set up to run as CGI. PHP 4.0.6 w/ latest 4.0.7-dev snapshot on top. What I'm going to end up doing is