How to run blank application directly from URL

What is the correct way to running an application called GetDocument and pass it 2 parameters from the QueryString.

Like any other php application: http://www.myurl.com/myapp.php?mypar1=something&

Thanks Albert, found solution as follows, with a pointer from your answer

http://www.myurl.com/myapp/index.php?mypar1=something&mypar2=somethingelse