Re: Script execution
| From: | Shawn McKenzie | Date: | Mon, 09 Mar 2009 21:14:18 +0000 |
| Subject: | Re: Script execution | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-289708@lists.php.net to get a copy of this message | ||
George Larson wrote:
> Hi everybody.
>
> The "problem" that I'm having is probably because I've got more of a
> Windows
> background -- and it isn't so much a problem as a point of curiosity.
>
> I've recently noticed that when I write a script that they seem to have
> different permissions when executed at the command line. Two that I have
> written recently run just fine when you execute 'php scriptname.php' but
> they are unable, at least, to write the data if I browse to them on
> localhost.
>
> Am I imagining things? If not, how would I properly make them able to run
> through a browser?
>
> Thanks!
> G
>
Are you just opening the file in a browser, or do you have a webserver
running that is configured with PHP?
If you have a webserver, do other php scripts work?
--
Thanks!
-Shawn
http://www.spidean.com