fwrite to a remote file
#1

Say I'm running a samp server off of my home computer, and have log files located on my web server. I'm curious if it would it be somehow possible to establish a connection between the samp server and that web server and append the fwrite function to write to a remote file located there. Ideas?
Reply
#2

Use the HTTP function to invoke a PHP script (or similar) to read/write. You can't do it with fwrite because it's not supported, also it would freeze the server until it was done reading/writing.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)