Say there is a file http://website.com/file.php which i want its output to be a variable in a script, how would i go about doing this?
fopen and fread etc doesnt work with this :/
Cheers
i think you want file()
...though I don't see why fopen and fread wouldn't work (unless URL wrappers are turned off, and then file() wouldn't work either and you'd be needing to build your own socket connections).