Jorge Salamero Sanz wrote: >> > i've set up a small webserver with cherokee and i've some problems >> > with php and perl scripts, i can execute them but if i pass them >> > variables thougth the url they don't get interpreted :? >> >> Umm.. it is really odd. >> >> The configuration looks alright. I have added a new QA test to >> ensure it is working: >> >> http://svn.0x50.org/file/cherokee/qa/102-QueryString.py >> >> How are you trying the read the parameters? > > > take a look at: > http://downgrade.no-ip.org/echo.php?var=foo > > <? > echo "veamos la variable var"; echo "\n"; > echo $var; > ?>
I would rather use: === <?php echo "veamos la variable var"; echo "\n"; echo $_GET["var"]; ?> === As far as I remember, there is a PHP configuration entry which let you change that behaviour: http://php.net/manual/en/ini.core.php#ini.register-globals -- Greetings, alo. _______________________________________________ Cherokee mailing list [email protected] http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee
