I know there is a setting in php.ini ("file_uploads") which decides whether php uploads are allowed or not. My question is, how does the php/web server act differently based on this setting?
Put another way, what happens if I write a loop that sends say 1 meg of data for each iteration in the form of HTTP POST file uploads to a server running PHP? If the file_uploads setting is off, is the bandwidth of the server still wasted? If so, then isn't this a trivial resource-hogging attack?