Sublime directory Surf the web anonymous Pagerank Monitor


file upload to remote location, could use a hand here :)

symvar
Tue 15 August 2006, 11:42 am GMT +0200
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  ;D

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

olaf
Tue 15 August 2006, 11:50 am GMT +0200
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...

symvar
Tue 15 August 2006, 12:16 pm GMT +0200
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

olaf
Tue 15 August 2006, 12:22 pm GMT +0200
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?

this big uploads are only via ftp possible, check this page:
http://curl.planetmirror.com/libcurl/php/examples/ftpupload.html

(and tell how it works, I like to do this in a diff. project)

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional