[PHP] Re: Settings to Allow Precise File Upload Bytes

2012-01-20 Thread Dee Ayy
My browser is claiming it is still busy from a 1MB (1030001 bytes) upload where I was trying to find out if it is setting $_FILES['attachment']. Thanks Maciek. It makes sense that I should be looking at $_FILES['attachment']['error'] before the size. I'm just surprised it's still hanging. I'm u

[PHP] Re: Settings to Allow Precise File Upload Bytes

2012-01-20 Thread Maciek Sokolewicz
Answers are inside the mail On 20 January 2012 21:18, Dee Ayy wrote: > Obviously I don't want a Flash/Gears solution. > > FYI: Your #6 should be: > The server uploads... > No, the server downloads, the client uploads. Downloading is performed by the receiving end (in this case, the server), whil

Re: [PHP] Re: Settings to Allow Precise File Upload Bytes

2012-01-20 Thread Jim Lucas
On 01/20/2012 12:18 PM, Dee Ayy wrote: Obviously I don't want a Flash/Gears solution. FYI: Your #6 should be: The server uploads... Actually, from the perspective that he described it, his phrasing would be correct. The server is actually receiving from the client the data. This data is be

[PHP] Re: Settings to Allow Precise File Upload Bytes

2012-01-20 Thread Dee Ayy
Obviously I don't want a Flash/Gears solution. FYI: Your #6 should be: The server uploads... Even though I do not want a Flash/Gears solution, I would be happy with your #8 stating: I won't fail silently, I'll report the problem to the user. Do you know the correct settings on any applicable LAM

[PHP] Re: Settings to Allow Precise File Upload Bytes

2012-01-20 Thread Maciek Sokolewicz
Your problem here is the fact that you do not seem to grasp what is hapenning when a file is being uploaded, hence your question. So let me explain: 1. A user goes to your page by entering it into the browser. 2. The page is downloaded to the client, and the connection is closed. 3. The user cho

[PHP] Settings to Allow Precise File Upload Bytes

2012-01-20 Thread Dee Ayy
Please advise the proper settings (Apache/PHP/HTML/MySQL/Anything else I missed) to allow a specific byte size upload and to deny 1 byte over with error reporting in LAMP/AJAX. I've heard of Flash and Gears solutions, but these require additional installs for the user -- just to know the file size

[PHP] Considering segfaults: how to protect other requests?

2012-01-20 Thread Kārlis Repsons
Hi there... Perhaps some of you could advise about this: using apache2 prefork, I've confirmed that the same PHP extension can receive multiple requests through browser and if one of those requests causes a segfault, the other request, which is still in process during the segfault, will be complet