Well, the way f2s does it (yes, yes.. f2s), is they do that exact same thing. Though it's #!/usr/bin/php which is pretty close to the same thing. But that's if you want to run your php script outside of safe mode on f2s. You also have to rename the file extension to .cgi, not .php
_________________________
-Never Underestimate The Power Of Stupid People In Large Groups.