Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

A brilliant/terrible idea

Name: Anonymous 2009-12-21 14:02

If you hang out on the imageboards at all, there's a cool greasemonkey script available that allows you to play .ogg audio files catenated to an image. After the novelty wore off, I started thinking.

You can't upload images to /prog/, but there IS a possible way to upload .ogg, archives, or even image files here. ASCII and Unicode characters are stored as integers, right? One could create a script that converts a file into a string of characters, which can then be posted into /prog/. A greasemonkey script could convert any encoded file (surrounded with a new EXTENDED BBCODE file tag, so that those with the script do not have to see a million characters) into an audio file, archive, image, whatever.

The only problem is that of a maximum post length. Does anyone happen to know the maximum characters allowed in a /prog/ post? I've seen some very long ones, so I assume its greater than the standard imageboard post. If it is necessary, one could modify the script to spread file data over several posts, allowing for potentially unlimited file sizes.

Name: 31 2009-12-21 21:57

It's strange, because the source for shiichan says 10000.
// Length checks
if (strlen($_POST[mesg]) == 0) fancydie("You didn't write a post?!");
if (strlen($_POST[mesg]) > 10000) fancydie("Thanks for your contribution, but it was too large.");
if (strlen($_POST[subj]) > 45) fancydie("Subject is too long!");
if (count(explode("<br>", $_POST[mesg])) > 100) fancydie("Your post has far too many lines in it!");


This query might be more useful as you can check for yourself
sqlite> select thread,id,length(body) from posts order by length(body) desc limit 10;
1160468267|1|864120
1171382882|37|386770
1160468267|2|168917
1138095301|7|51744
1212106376|6|51744
1138095301|6|50484
1138095301|5|49820
1138095301|4|49680
1239154736|50|47944
1219329495|51|47119

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List