28, May 2012

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

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Easy PHP Upload (Moderator: Olaf)
Topic: file upload to remote location, could use a hand here :)
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author 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  Smiley

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  Grin

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: Male
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 Smiley

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! Wink


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  Roll Eyes

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 Smiley (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: Male
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?

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)

Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=3676
Tags : php google ftp Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Easy PHP Upload (Moderator: Olaf)
Topic: file upload to remote location, could use a hand here :)
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 03:05:21 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.