Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checking the file size of an (input type="file")

Status
Not open for further replies.

cesark

Programmer
Dec 20, 2003
621
Does anyone know how this feature works internally in PHP?: (more or less)

"A hidden field (measured in bytes) that precede the file input field, and its value is the maximum filesize accepted. This is an advisory to the browser, PHP also checks it. This form element should always be used as it saves users the trouble of waiting for a big file being transferred only to find that it was too big and the transfer failed."

The complete article is here:

I only want to adapt this feature (the advisory to the browser) to my ASP.NET pages.

Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top