PDA

View Full Version : [ubuntu] Using php -f with _GET's



niiklas
December 8th, 2008, 09:18 PM
Hello.

i have been trying to get this to work but now im out of ideas..

This is what i want to do but its not possible:


php -f /var/www/test.php?id=hej
Could not open input file: /var/www/test.php?id=hej


However this work:


php -f /var/www/test.php

How is the proper way to use the first one?

niiklas
December 8th, 2008, 10:01 PM
bump