Topic: file upload to remote location, could use a hand here :) (Read 1581 times)
Google dot what?
Posts: 2
16 credits Members referred : 0
« on: Aug 15, 2006, 11:42:51 am »
Hi there,
I'm new to your forums here.. I got here because i was looking for a nice PHP upload script, and Easy PHP Upload is what i found
It all seams to work very nice, but i have a little situation where i dont know what's the best solution, mabe you can help me:
I want to run the script on my website: http://www.wicservices.nl, but i would like it to upload the files to another host(where i have some nice storage space). But how is the best way to do this? Do i have to run the script on my "filehost"? Or is it posible to modify something so it will directly upload there?
Some advise would be appriciated
And another question: Are big uploads a problem? for example, if i set the max file size to lets say 2 GB, would we get problems with timeouts or whatever?
Greets, Symvar
« Last Edit: Aug 15, 2006, 11:45:43 am by olaf »
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: Aug 15, 2006, 11:50:11 am »
Hello Symvar and welcome
Quote
I want to run the script on my website: http://www.wicservices.nl Visit through proxy, but i would like it to upload the files to another host(where i have some nice storage space). But how is the best way to do this? Do i have to run the script on my "filehost"? Or is it posible to modify something so it will directly upload there?
On almost every server its not allowed to do this.
You create an IFRAME on your small hosting to show the upload form from the big hosting (but be carefull its unsafe)
Quote
Are big uploads a problem? for example, if i set the max file size to lets say 2 GB, would we get problems with timeouts or whatever?
yes there is a problem, php's upload functions are default configured for 2MB!
Maybe you can tell us what kind of problem you're trying to solve, to get a better advice...
Google dot what?
Posts: 2
16 credits Members referred : 0
« Reply #2 on: Aug 15, 2006, 12:16:36 pm »
Thanks for the fast reply
Ok, if i remember correctly its not allowed on this server aswell. I understand the IFRAME way, but why is it unsafe? (just wondering, i guess a search on google "iframe not save" would help me out here) hehe.
And for the problem, I would like clients to be able to upload biggy files (1 Gb or something) do you mabe know if there's a way to get past the default setting of 2 Mb?
Thanks in advance for any replies.
Greets, Symvar
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #3 on: Aug 15, 2006, 12:22:20 pm »
Quote
Ok, if i remember correctly its not allowed on this server aswell. I understand the IFRAME way, but why is it unsafe? (just wondering, i guess a search on google "iframe not save" would help me out here) hehe.
because everyone can use the file behind the iframe or people need to login before entering the (remote) form (but this not really user friendly)
Quote
I would like clients to be able to upload biggy files Smiley (1 Gb or something) do you mabe know if there's a way to get past the default setting of 2 Mb?