problems with passing variables through command line
Posted: Thu May 08, 2003 3:38 pm
hiho =)
i wrote a web server and want to make it supporting php (as cgi for now).
now it works fine when it should interprete normal php with:
php.exe site\test.php
but if i want to pass eg stuff that was entered in some input form i have a problem:
the browser sends "test2.php?value1=suc&value2=cess"
now how could i "translate" that into command line? either the variables are "not defined" in test2.php or there is simply no output at all =(
so where is the trick?
thx in advance
muaB
i wrote a web server and want to make it supporting php (as cgi for now).
now it works fine when it should interprete normal php with:
php.exe site\test.php
but if i want to pass eg stuff that was entered in some input form i have a problem:
the browser sends "test2.php?value1=suc&value2=cess"
now how could i "translate" that into command line? either the variables are "not defined" in test2.php or there is simply no output at all =(
so where is the trick?
thx in advance
muaB