Re: [PHP] Binary file copy

2008-10-16 Thread Andrew Ballard
On Thu, Oct 16, 2008 at 1:58 PM, Jay Moore <[EMAIL PROTECTED]> wrote: > Greetings list! > > Say I want to copy a jpg from a remote server onto mine, using PHP. Right > now, my script opens a socket to the remote server, and opens the image > file. It copies its contents into a dummy variable, open

[PHP] Binary file copy

2008-10-16 Thread Jay Moore
Greetings list! Say I want to copy a jpg from a remote server onto mine, using PHP. Right now, my script opens a socket to the remote server, and opens the image file. It copies its contents into a dummy variable, opens a new file on my server, and dumps the contents of the dummy variable int