如何使bash查找upload.php并传递参数?

如何使bash查找upload.php并传递参数?,php,bash,Php,Bash,我有这个命令 php upload.php?qdatei=temp%2Fsession_ids%2F75hbhgedlj6i03vdifpd5save1-1.txt&edatei=temp%2Ffortschritt%2F75hbhgedlj6i03vdifpd5save1-ergebnis.txt&fdatei=temp%2Ffortschritt%2F75hbhgedlj6i03vdifpd5save1-1.txt&id=11 在linux中找不到Where upl

我有这个命令

php upload.php?qdatei=temp%2Fsession_ids%2F75hbhgedlj6i03vdifpd5save1-1.txt&edatei=temp%2Ffortschritt%2F75hbhgedlj6i03vdifpd5save1-ergebnis.txt&fdatei=temp%2Ffortschritt%2F75hbhgedlj6i03vdifpd5save1-1.txt&id=11
在linux中找不到Where upload.php

所以我把它改成了

php upload.php -- 'qdatei=temp%2Fsession_ids%2F75hbhgedlj6i03vdifpd5save1-1.txt&edatei=temp%2Ffortschritt%2F75hbhgedlj6i03vdifpd5save1-ergebnis.txt&fdatei=temp%2Ffortschritt%2F75hbhgedlj6i03vdifpd5save1-1.txt&id=11'
这使得php找到upload.php,但没有传递任何参数


如何使linux查找upload.php并传递参数?

只有在脚本评估
argv
时,这才有效。否则您需要
phpcgi
二进制文件并设置相应的环境;属于
QUERY\u字符串中的变量,例如.RTLM: