Jump to content

[urgent] File upload + memory allocation -> limit?


Rasper

Recommended Posts

Hi, i'm new to the forum.

I need some information on how PHP handles uploads. A few months ago I designed an upload tool that uses Flash to upload a file to the server. Flash uses a Server Side Script to write the file to the server.

I heard that ASP.NET stores the entire file in the RAM memory before writing it to the hard drive. Somehow I thought/heard that PHP works differently and stores temporary chunks on the hard drive first, so the memory doesn't get full. So I used PHP for my application.

Now I read that PHP DOES store the entire file in the memory, just like ASP.NET. Is this true? If so, my use of PHP is pretty useless, since the rest of my application is in ASP.NET.

I really need an answer for this since I made this app for my internship and I'm writing a thesis of what I've done. I hope it doesn't turn out PHP can't handle large files, just like ASP.NET [img src=\"style_emoticons/[#EMO_DIR#]/unsure.gif\" style=\"vertical-align:middle\" emoid=\":unsure:\" border=\"0\" alt=\"unsure.gif\" /]

Thanks in advance
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.