I do not want to let user to upload full file. I desire to limit it to first n bytes. I need just file header not a full file and I want to prevent browser from sending all data. For example mp3 file is 1MB long and I want to read just first 1024 bytes of it on server side. Is it possible to save transfer by breaking it at some point? I can use JavaScript on client side and Php and/or CGI scripts/compiled binaries with Apache server. Thanks in advance for any suggestion.