heh nice and simple..but good practice http://www.wafflesweb.co.uk/song.php complete with validation..I hope. give it a whirl if you would, see if you can break it :x:
then my validation worked I figured people would try haha to make a googolplexian of items appear and destroy my server so i fixed it good
even tried to sneak this into it [putting it onto the "Item" box] , failed Code: <SCRIPT LANGUAGE="JavaScript">window.alert("OMG, no filterz")</SCRIPT> mwhahahahahaha, wonder how many times (a second) i can submit a request for 100 verses [your max limit ] wonder if this post will get automerged.... yeah it did 100 red Waffles sitting on the wall... 100 red Waffles sitting on the wall... And if one red Waffle, should accidentally fall... There''ll be 99 red Waffles sitting on the wall. 99 red Waffles sitting on the wall... 99............. ............. ......... ...... ... . There'll be no more red Waffles sitting on the wall. :chk: lovin it!
heh you found out something I missed, good work with that. and telling me :x: edit: fixed teh "exploit" now contains logs..so becareful what you type in
cool little script man! you can however enter HTML tags so maybe you can look into adding more validation...
Interesting, my 10 red jockstraps have all gone now though . I need to start a web site :guns:__________________________________________ :jump:
heh I removed logs, decided not really necessary after all. Made a simple HTML Table Code generator... http://wafflesweb.co.uk/table.php input #rows, #columns and the width in px, and it will generate a table and provide the html code, ready to be copied and pasted.. I think I validated this one properly...only numbers, and no stupid values.. *hopes* --- that aside, any one think of any other useful/fun scripts to code? Im in a coding mood
Very cool Waffles, eventually you should put lots of little scripts together to allow people to create basic templates for websites, now that would be cool!
How Far do you think you could pimp that up? Having a few formatting options would make the tool a big time saver! Writing tables in notepad can take time.... but if your script allowed for things such as merging boxes (ie the top bar) it would make it invaluable! I liked reading the logs, and there GONE :crying: [maby it wasnt such a bad idear... there where a few weird things appearing in them!!!]