|
Posted by Martin Jay on 05/17/06 00:07
In message <446a3807$0$31638$e4fe514c@news.xs4all.nl>, "Wenting, Marcel"
<liledevil@gmail.invalid> writes
>Infiliset wrote:
>> Hi all! I'm trying to test some php script using the command line
>>php.exe. Is there any way to pass the $_POST variables? I know how to
>>pass the $_GET variables, but I don't know how to do this for the
>>$_POST ones. Thank you all!
>I would think of declaring this yourself at the beginning of your
>script, cant think of any other logical way since it's http headers and
>command line just aint http
Yep, or set up a local web server and create a form to send variables to
the script. There's a free one, which is easy to set up, available
from:
<http://www.aprelium.com/>
It needs a bit of configuring. Details can be found at:
<http://www.aprelium.com/abyssws/php.html>
It's probably a good idea to run your own local web server if you're
going to develop PHP applications for the WWW.
--
Martin Jay
Navigation:
[Reply to this message]
|