My code: #include <fcgi_stdio.h>#include <stdlib.h>int main(void){ int l - Pastebin.com
Used library GitHub - FastCGI-Archives/fcgi2: FastCGI.com fcgi2 Development Kit fork from http://repo.or.cz/fcgi2.git + last snapshot on Linux with Lighttpd.
Web-server has rights for writing.
I am putting png file to the form and clicking button. Then, there is a textfile with non-zero size created. But no one text editor can read it as a text. Why? What am I don't ng wrong? Thank you.