Hi NG.

I'm having trouble making a local php script open a remote php script and 
save the output of the remote script in a local file.
I have FTP access to the remote server, so if placing the "local" script at 
the same server as the "remote" script, makes this easier this would also be 
an option for me.

What I want to do is like this:

A local script like: http://localhost/fetch_remote_contents.php
fetch_remote_contents.php should open the remote script 
http://www.blablabla.com/index5.php?id=23554
and save it's output in a local file instead of displaying it in a browser.

If this can't be done, running fetch_remote_contents.php from the same 
remote server as index5.php and saving the output in a file on the remote 
server is also an option as I have access to it.

Can anyone help me out here, I'm pretty sure it's possible because I think 
I've done it before I just forgot how :o(

Thanks, Aidal

 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to