3 ms·
This script was improved upon (and further shrunk) by a redditor named "illiterate": Using PDO Using SQLite No XSS holes No SQL injection holes File
by miles 17y ago
This script was improved upon (and further shrunk) by a redditor named "illiterate":
Using PDO
Using SQLite
No XSS holes
No SQL injection holes
File size is only 766 bytes
http://www.reddit.com/r/programming/comments/bvqbl/a_php_forum_in_964_bytes_of_code/c0oubni http://www.reddit.com/r/programming/comments/bvqbl/a_php_for...
- jqueryin 17y agoI was actually coming into the comments section to hate on the "< 1kb forum" until I saw this. The first thing I had looked for yesterday was security holes and that took ~1 second due to the small filesize. Bravo illiterate.