开发者

how to access remote cgi from PHP script?

I'm totally rookie as to PHP. I want to write a PHP script in which it can access a remote cgi via http to get some data. I know that PHP is able to fopen any remote URL and fetch file content, but I concern about the result retur开发者_Go百科ned by cgi script, not the script itself.


Opening and retrieving a URL is the output of the script, it is what your web browser does when you open a PHP page. Retrieving the script itself is normally not possible - it would be a security vulnerability if everyone could read your source code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜