Re: [PHP] transfer file

2006-06-17 Thread Ahmed Saad
Hi Richard.. On 15/06/06, Richard Lynch <[EMAIL PROTECTED]> wrote: HTTP just plain ain't gonna let you open a file up for "writing" -- thank god. I think it does in form of PUT requests.. http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html (apparently not supported by PHP streams(?)) Secur

Re: [PHP] transfer file

2006-06-15 Thread Richard Lynch
On Tue, June 13, 2006 9:55 pm, kristianto adi widiatmoko wrote: > $remote = fopen("http://B/file.txt","w+); HTTP just plain ain't gonna let you open a file up for "writing" -- thank god. Can you imagine the number of websites that would get hacked? [shudder] But if you have FTP access to B, you

Re: [PHP] transfer file

2006-06-13 Thread Chris
kristianto adi widiatmoko wrote: i try to transfer file from one server to another server, lets call it server A to server B. My Idea is like this I place my script in server A http://B/file.txt","w+); while(!feof($local)) { $buff = fread($local,1024); fwrite($remote, $buff); } fcl

[PHP] transfer file

2006-06-13 Thread kristianto adi widiatmoko
i try to transfer file from one server to another server, lets call it server A to server B. My Idea is like this I place my script in server A http://B/file.txt","w+); while(!feof($local)) { $buff = fread($local,1024); fwrite($remote, $buff); } fclose($local); fclose($remote); ?> I

Re: [PHP] transfer file

2006-06-09 Thread Richard Lynch
On Thu, June 8, 2006 10:16 pm, kristianto adi widiatmoko wrote: > can php do transfer file betwen 2 server without using ftp function > socket that use ftp port If you want to re-write all the FTP stuff in PHP, with http://php.net/fsockopen and fgets and fputs, sure, you could do that... Kinda si

[PHP] transfer file

2006-06-08 Thread kristianto adi widiatmoko
can php do transfer file betwen 2 server without using ftp function socket that use ftp port Send instant messages to your online friends http://uk.messenger.yahoo.com

Re: [PHP] transfer file

2004-10-25 Thread raditha dissanayake
Akshay wrote: How to transfer text file from one machine to another using php Please give the code if possible It depends on what protocol you want to use. Please pick from FTP, HTTP, NFS etc and let us know. akshay -- Raditha Dissanayake.

[PHP] transfer file

2004-10-25 Thread Akshay
How to transfer text file from one machine to another using php Please give the code if possible akshay -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] transfer file

2004-10-25 Thread Akshay
How to transfer text file from one machine to another using php Please give the code if possible akshay -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php