File remote server php
I've been looking all over the place for the last two days and trying everything and still can't get anything to work. I feel like this should be a relatively simple thing to do. All I want to do. For example, you can use this to open a file on a remote web server, parse the output for the data you want, and then use that data in a database query, or simply to . On server2 I have my apache server, and I want it to read the log on server1. I need to do this because I want to make a real time console, displaying data from the log on server1. I will get the data from the log in one PHP file and then do some ajax in another file and then I have a real time log. My questions.