PDA

View Full Version : [ubuntu] Php -f function! help fast!!.



niiklas
December 8th, 2008, 09:36 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?

gettinoriginal
December 8th, 2008, 11:29 PM
Don't know what that command is, but have you tried sudo php -f /var/www/test.php?id=hej