As some of you may be aware of, the TFP TB post generator is gone for reasons unknown (to me at least).
Instead most posts are now manually crafted or generated with
Kreskin's Post Generator (found
here).
Which is a kewl thing, but limited in functionality.
So I was thinking... how hard would it be to kill 2 birds with one stone and copy some functionality from the
EZpics and the TFP TB generator, add some more functionality and make it into a super-duper PHP script?
So I made some notes and I now submit these for review, maybe if I find some time I may make it and have my own server run the script. Fortunately, the counter shows 'only' 545 people have used Kreskins generator, so I believe my server could handle the load, although I have limited bandwith so people may have to wait for the result a bit.
I AM however concerned with the potential legal consequences, could I be sued over it?
I'm too young to go to jail
.
Doesn't sound too difficult to make though... and pretty kewl. Upside would also be that, with logging, I could have access to all the ezcodes and everybody that does the zip2go action would be downloading pics for me.
Anyway, here are my notes:
EZcode format:
$url/$num1.$ext?$num2.$ext?$rename
example:
http://www.tekno.com/01.jpg?99.jpg?tekno
EZCode generator:
$url (www.tekno.com/test{1}/test{2}.jpg)
the url of the pic
$nums ({1} 00/99-06/60+140/160, {2} 2220/310, {3} a/Z)
the nums, 00 till 99 minus 06 till 60 with 140 till 160 for {1} and counting back from 2220 till 310 for {2} and from a till Z (abc...xyzABCD...XYZ) for {3}
$rename (teknopics)
rename the pics to teknopics.extension
GUI:
([] = input field
{} = action button
() = auto-generated text
ASCII box = textbox input field)
Generator
[url]
{getnumfields/changeURL}
[num1-0] [num1-1]
[num2-0] [num2-1]
[rename]
{generate}
Grabber
---------
|ezcodes|
---------
{generateAndOrShow} {zip2Go} {generateAndMakeBBCode} {test}
(log)
Features:
- Multiple EZcodes
Using the textbox, you can enter multiple EZCodes (seperated by : | : )
and the script will execute them all, also, if you generate your own EZCode
it will simply be added to the bottom of the EZCodes that are already in place
- Generate & Show
Generates the ezcode and html equivalent
and shows them in a new window with the ezcode up top.
- Zip2Go
Generates HTML code, wgets all the pics, zips the result and sends it back
- Generate and make BBcode
Makes it into:
- Test
Test ezCode by wgetting pics
- Log
Logs all generated queries and shows the 5 last generated
Trouble areas:
- Security, input has to be scrutinized, what if someone desides to do .sh (linux system, comparable to .exe for windows)?
- No more than 10 nums, to prevent the server load from getting to high
- Legality?
- Can the server handle the load of several people executing the Zip2Go action with multiple EZcodes? Should the number of users be restricted?