954,587 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

cURL vs. PHP file upload?

Hi,

Is cURL FTP to upload word files to webspace or inhouse server is better option than using simple PHP file uploading function "move_uploaded_file()", if there are around 1000 user upload files in a day?

Or is there any better solution?

Thanks in advance

veledrom
Master Poster
758 posts since Apr 2008
Reputation Points: 42
Solved Threads: 0
 

Hi,

Is cURL FTP to upload word files to webspace or inhouse server is better option than using simple PHP file uploading function "move_uploaded_file()", if there are around 1000 user upload files in a day?

Or is there any better solution?

Thanks in advance


Off course the cURL is always the better option than simple file upload.
It will be faster if there are too many uploads

network18
Practically a Master Poster
619 posts since Sep 2009
Reputation Points: 29
Solved Threads: 76
 

you can search for jQuery's file upload plugin too. something like this

network18
Practically a Master Poster
619 posts since Sep 2009
Reputation Points: 29
Solved Threads: 76
 

Ok, cURL is more reliable than move_uploaded_file()".

1. Can cURL actualy handle it?
2. Do I have to prepare my Apache server and MySQL database for these kind (very busy) of applications?

veledrom
Master Poster
758 posts since Apr 2008
Reputation Points: 42
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You