Ok, I do not know if it's possible AT ALL, but I want to do some stresstesting of some php scripts intended to be on the internet, but testing them offline by passing them to the PHP executable... it works great, only I do not have the faintest idea how to pass parameters.
So
php.exe -f test.php gives the output I expected, but when 'test.php' expects some variables (normally coming from posting/getting the vars), it does not work... How do I 'fool' the commandline and make it think it's invoked by a webserver ??????
Even a simple script like
Code: Select all
<?php
echo $test;
?>I use 4.2 on Windows...