|
Posted by tony on 11/19/08 11:47
In article <1147392417.375602.32800@v46g2000cwv.googlegroups.com>,
a8736d53@hotmail.com says...
> Domestos wrote:
>
> > Yes - but you will need a web server for it to be any use. i.e. Apache.
> >
> > I would get xammp in one download and get apache, mysql and php in one easy
> > to install download.
>
> I found "XAMPP Lite 1.5.2"
> (http://www.apachefriends.org/en/xampp-windows.html#646). Would this do
> the job?
>
>
Also you dont need a web server.
I often run tests without apache on Win98 from the command line.
I find it easier and quicker than messing about with web browsers and
servers.
You can even call php through dos batch files (I do all the time)
You can for eg on the command line(with PHP in your path):
c:\php\scripts\php myscript.php
You can pass values to it using argv,argc etc.
in a batch file you can do:
call php myscript.php %1 %2 %3
and so on.
Just remember to do "\n\r" not "<br>" when outputting strings but appart
from that there doesn't seem to be any difference.
tony
Navigation:
[Reply to this message]
|