I need function or a script which will grab a file from another server.
I've 10's of sites with the same tamplate so i just want to change only 1 template so all the designs will change accordingly.
But i don't want to download this template each time a users visits if so i'd just use implode("",file("$url")) if this is done template will be loaded thousands of times daily and will cause traffic and slowness...
I want imploded template file to be cached on every sites server and be changed if only main template file is modified or once in every day.. so when someone visits one of my sites template will be called from same server.
some of my servers my not support cronjobs so if there's a better or another solution it's better..
if anything is not clear please ask....