I have a cron job that calculates the disk space on ServerA
I have a MySQL database on ServerB that stores the disk space values
ServerA in not allowed to access MySQL database on ServerB (Rules out direct MySQL Connect)
ServerA cannot open files on ServerB (Rules out include();
)
ServerA and ServerB have no shell_exec()
abilities
I've tried header("Location: http://ServerB.com/record.php?disk_space=$disk_space");
using a get method then the receiving file $_REQUEST
the values but it only works when run through browser and not when run as a cron job.
I think there are no proper alternatives. But I'm happy with a peculiar or scruffy solution. Please put forward your ideas. TIA