PHP Questions Home
Categories
Arrays
Files
Forms
Creating PDFs
PHP Errors
Functions
Images
MySQL
Numbers
Others
Strings
Website

PHP Forums
Forums Index
MySQL Forum
PHP Forum
Flash/Actionscript
Javascript
Web design

More PHP
PHP Functions
Top Questions
Ask a Question
PHP Interview Questions
PHP Jobs
Ecommerce
IT Questions
Business Websites

Sponsors

sponsor ad
My Salary
PHP Developer Salary
Advertise Here

How can i upload large files like mp3 songs using php?


If you want to upload files, then you need to first create a file upload element in your HTML form.

Once uploaded, you can access all the various elements through the $_FILES global.

There are quite a few steps to the file upload process and quite a few checks that you should perform whilst you copy the file to the server and do whatever you want to do with it.

A full treatment is beyond the scope of this fairly brief question and answer format.

However there is excellent information that should tell you just what you need to know here:

http://uk3.php.net/features.file-upload

Comments on this Question/Answer

How can i upload large files like mp3 songs in php
By: Dibyasuchi Mallick, 01 Jun 2009 23:13:50



Reply to comments / post your own comment >>>

ASK A QUESTION

More files PHP Questions

How can i print a file without opening it ?

Getting first five lines from a file

How do I open a file to write content to?

How can I view a Word document in a PHP page?

I am trying to find the most recent directory that I am working in. example http://www.mysite.com/apples/index.php how do I get php to find the directory "apples" so I can make it a directory



Custom Search