hype 0 Report post Posted July 2, 2005 Is there any scripts that allows user to upload files from a certain url to your server? Share this post Link to post Share on other sites
Lord Evil the 666 0 Report post Posted July 2, 2005 There are scripts for all already, and I'm sure, for uploading from url too... The problem is to find it.http://forums.xisto.com/no_longer_exists/I believe, this is what did you need. Share this post Link to post Share on other sites
hype 0 Report post Posted July 2, 2005 I dont think that's what I'm looking for...I'm looking for this:I have a file at other server, I want to transfer it to my main server, I open up a page and enter a url to that particular file, and click upload, and it'll appear at my main server Share this post Link to post Share on other sites
Lord Evil the 666 0 Report post Posted July 2, 2005 Hmm...Well, try Google, I think it will find what you need... It always finds, the problem is that it also finds "some" junk, but I'm not responsible for it(what a pity... really ) Share this post Link to post Share on other sites
hype 0 Report post Posted July 3, 2005 Tried but didnt get any, but I've seen that photobucket is able to do that with images so there should be 1 for all extension... Share this post Link to post Share on other sites
Lio 0 Report post Posted July 8, 2005 if u know some php that wouldnt be so hard.. u just need to get the url.. i dont know the syntax to write it.. but its preety logical if u ever proggramed. Share this post Link to post Share on other sites
Saint_Michael 3 Report post Posted July 8, 2005 i maybe missing the point of the topic but i will give it a try you asking for a a script that will load another page from a differnt url well couldn't you do it like you would do with loading css scripts instead of php i think you could do with with javascript since the same idea goes in with loading the css script for the website. i havn't seen the actual script myself but i do believe it actually works like it sorry if i can't be any more helpful then that. Share this post Link to post Share on other sites
hype 0 Report post Posted July 9, 2005 Actually, I dont really need it to be php just that it can be integrated to the php... I do know how to get upload script but getting a zip files from a url and transfer it into my server is very hard, which I know it's possible but I just couldnt find it... Share this post Link to post Share on other sites
wappy 0 Report post Posted July 3, 2006 Is the other server with the files you with to move yours or you have access to it?? If yes use ftp functions. You can find on php.net. Or i think you can do it with the copy command if the destination folder is chmod 0777 maybe like this but i could be wrong ok... <?$source="http://cul.t34.biz/neocult.jpg";$destination="destdir/neocult.jpg";copy ($source, $destination);//thats it (i think)?> Share this post Link to post Share on other sites
farsiscript 0 Report post Posted July 4, 2006 i think at first read file with fopen or some function http://ir.php.net/manual/en/function.fopen.php then write in file with fwrite http://ir.php.net/manual/en/function.fwrite.phpi think you can do that with fopen and fwritethanks Share this post Link to post Share on other sites