FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


how to copying files between http using php ?





Philip
is there a way to copy a big file,
like

http://www.google.com/setup.exe to http://myhost.com/download/

who's know how to do it ?

thanks,
Philip


poppitz
Hi,

what exactly do you want to do? you can download the file and upload it to your webserver.

but why do you want to copy the file? you can link to it without copying.
Philip
i know i can download and upload, but it;s more reliable if transfer it with out download and upload.

i need it, so i can transfer it between my 2 sites.
Maryndor
Well there is a way, but I'm wondering how much legal would be?! Yeah, it's something like downloading to your computer, but you're sharing that file from your server.
simplyw00x
If what you want is to download a file from another webserver to your own, then yes, there is a way. Use a PHP shell interface and wget. PM me if you still need help.
Philip
or is there away,
that a link in my sites, but the files in other server sites ?

www.mysites.com/setup.exe -> actually download from othersites.com/setup.exe.

but the i dont want the user know that actually the files is from othersites.com

so i want to hide the information for some kind reason. thanks, Smile
Related topics
Hot to change "Reset Ownership" using php?
[tutor] How to protect images without htaccess using PHP
Copy files between server.
how to compress a file using php ?
Using php to change content of a .txt
Can I add tasks to Windows Scheduled Tasks - Using PHP?
Using PHP
Includ Images using PHP.
How to start using PHP? Help!
Website Designing using PHP
how can i setup a page break for printer on html using php ?
how can u share files between two wifi enabled laptops?
Reading word documents using PHP?
I am trying to build a contact form using php and flash
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.