Is it possible to use fopen to open a webpage that is a script?
For example, say a webpage is a perl script with various parameters, and I want to use fopen to open and extract data from the page, can I do this?
Please assist.
Thank you.
Yes you can do that, it'll work fine 🙂 If you use fopen to open a script that's on the same server, it'll return the PHP code contained in the script file. If it's a script on a different server, it will return the output of the script.