FalconsG33k Posted November 12, 2010 Share Posted November 12, 2010 im looking for a cool code to read file content of a file in a remote server i have a file called online.php that have this commands <?php echo (exec('netstat -a -n |find "5816" |find "ESTABLISHED" /c')-2); ?> i wanna have another file in my own host to read the content of this file from the remote server anyone have an idea ? Quote Link to comment https://forums.phpfreaks.com/topic/218483-read-file-contect-help/ Share on other sites More sharing options...
ManiacDan Posted November 12, 2010 Share Posted November 12, 2010 file_get_contents reads remote files. -Dan Quote Link to comment https://forums.phpfreaks.com/topic/218483-read-file-contect-help/#findComment-1133424 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.