comphist / cora

A web-based, token-level annotation tool for non-standard language data
http://www.linguistics.rub.de/comphist/resources/cora/
MIT License
10 stars 6 forks source link

Handle low post_max_size #67

Open mbollmann opened 8 years ago

mbollmann commented 8 years ago

Originally reported by: Marcel Bollmann (Bitbucket: mbollmann, GitHub: mbollmann)


If post_max_size is too low, CorA can fail when trying to import large texts. This is natural.

However, since this causes the $_POST variable to just be empty, the server will answer with "Unknown request", which is not helpful. The PHP documentation recommends using a separate $_GET variable to check for this.