views:

47

answers:

1

Hi

anyone can explain file upload process in PHP. I mean what happens in backend internally.

like saving with temp name, moving to upload folder etc.

I want it's step by step working.

Thanks

+3  A: 

How to do file uploads is explained in the PHP Manual:

Please go through these chapters to learn how to do uploads.

If you want to know how File Uploads are implemented in the PHP core, check out

Afaik, this is the module that handles this.

If none of the above do give you the information you are looking for, please refine your question to indicate what is missing.

Gordon
May be I am wrong, but there is nothing of PHP internals, e.g. when and how MIME data being decoded, etc
Col. Shrapnel
@Col updated with link to sources
Gordon