LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   httpd (https://www.linuxquestions.org/questions/linux-newbie-8/httpd-847580/)

saran_redhat 11-30-2010 10:21 PM

httpd
 
Hi

How do i upload files using apache configurations. please can anyone help me. ho do i do that. i am using centos.

because my client wants upload files through httpd.
thanks

paulsm4 11-30-2010 10:48 PM

It's easy to do, you have many different options.

For example, here's how you might do it in PHP:
Quote:

http://w3schools.com/PHP/php_file_upload.asp

1. Create an HTML form for the user to select the local file to upload.
Specify method="post", enctype="multipart/form-data" and the name of your PHP script on the server

2. Your PHP script will validate the input and call the built-in function "move_uploaded_file()"

3. Voila! File upload accomplished :)
You have similar options for Ruby/Ruby on Rails, Java/Tomcat, or whatever server-side web platform you prefer.

saran_redhat 12-01-2010 03:35 AM

httpd
 
Quote:

Originally Posted by paulsm4 (Post 4176564)
It's easy to do, you have many different options.

For example, here's how you might do it in PHP:


You have similar options for Ruby/Ruby on Rails, Java/Tomcat, or whatever server-side web platform you prefer.


Thanks for reply.
Ok i know but file size is huge. like 2gb data how we upload.

z99 12-01-2010 06:44 AM

what about a php forum? like:
www.phpfreaks.com
maybe it helps

z99 12-01-2010 06:44 AM

what about a php forum? like:
www.phpfreaks.com
maybe it helps


All times are GMT -5. The time now is 08:48 AM.