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
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
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
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
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.
5 matches
Mail list logo