[Sussex] Getting files from a remote web server in a PHP script

Steve Dobson steve at dobson.org
Sat Oct 22 18:47:36 UTC 2005


Hi All

I need to write a little script to fetch HTML files from a remote
web server from within a PHP script.  Now I could use system()
to call wget and do it that way.

But I was wondering is there a better way (more direct) of getting 
the remote data?

Steve
-- 
Debian Tip of the E-Mail:
Debian Hint #31: Documentation can be made available at http://localhost/
by installing the 'doc-base' and 'doc-central' packages and their
dependencies.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.lug.org.uk/pipermail/sussex/attachments/20051022/a83239ed/attachment.pgp 


More information about the Sussex mailing list