CASAA | IT & Technical in Campaigning; Hmm... I could probably whip something up.
Would it be bad if it required apache, php5+, gd, and mod_rewrite?...
-
Hmm... I could probably whip something up.
Would it be bad if it required apache, php5+, gd, and mod_rewrite?
-
Forum Supplier
CASAA Moderator
ECF Veteran

Originally Posted by
Þornbjörg
Hmm... I could probably whip something up.
Would it be bad if it required apache, php5+, gd, and mod_rewrite?
ROFL - send me the source and I'll have my guys make a Dos 4.0 version - just in case
Michal "Webby" Douglas - Proud User|
Supplier|Advocate
Support CASAA| The E-Cigarette Users & Suppliers Group
The Consumer Advocates for Smoke-Free Alternatives Association
-
Forum Supplier
CASAA Moderator
ECF Veteran
CASAA | IT & Technical
This thread is for IT Issues and Technical discussions regarding public/internal tools and the infrastructure for CASAA. Please restrict it to suggesting efforts for CASAA as an organization to focus on as a group.
Michal "Webby" Douglas - Proud User|
Supplier|Advocate
Support CASAA| The E-Cigarette Users & Suppliers Group
The Consumer Advocates for Smoke-Free Alternatives Association
-
Senior Member
ECF Veteran
Well if it is a standard *AMP Stack...

Originally Posted by
Þornbjörg
Hmm... I could probably whip something up.
Would it be bad if it required apache, php5+, gd, and mod_rewrite?
...what else ya gonna use, man? 
-K
-
Senior Member
ECF Veteran

Originally Posted by
MrKai
...what else ya gonna use, man?
-K
peeks and pokes... duh
-
Well, here was my thought... I'll write the code tomorrow.
Have the 'generator' take their start date, cost per cigarette, cost per equivalent in ecigarettes, and startup price and generate a link such as:
domain.tld/signature/MTI1NDYyMTYwMC0wLjI3NS0wLjAwMjUtNjU=.png
Now, take mod_rewrite and rewrite that url to:
domain.tld/signature/generate.php?v=MTI1NDYyMTYwMC0wLjI3NS0wLjAwMjUtNjU =
Once you have that, if you can't tell, it's a base64_encoded string.. decoding it should give you the string 1254621600-0.275-0.0025-65
Now, match against it to set your variables up, and generate the image.
This would save needing to make a bunch of png files (which are really just php files with a custom file handler) to generate the signatures.
Make sense?
Like I said, I'll write something tomorrow, complete with graphics.
-
Forum Supplier
CASAA Moderator
ECF Veteran

Originally Posted by
Þornbjörg
Well, here was my thought... I'll write the code tomorrow.
Have the 'generator' take their start date, cost per cigarette, cost per equivalent in ecigarettes, and startup price and generate a link such as:
domain.tld/signature/MTI1NDYyMTYwMC0wLjI3NS0wLjAwMjUtNjU=.png
Now, take mod_rewrite and rewrite that url to:
domain.tld/signature/generate.php?v=MTI1NDYyMTYwMC0wLjI3NS0wLjAwMjUtNjU =
Once you have that, if you can't tell, it's a base64_encoded string.. decoding it should give you the string 1254621600-0.275-0.0025-65
Now, match against it to set your variables up, and generate the image.
This would save needing to make a bunch of png files (which are really just php files with a custom file handler) to generate the signatures.
Make sense?
Like I said, I'll write something tomorrow, complete with graphics.
Sure! IT sounds like you can obviously write the code and front end so the algorithm shouldn't hard to come up with. Do you have somewhere to host it? As long as it generates cut and paste code for the end user (maybe with the CASAA logo?) I think it's a great idea!
People LOVE things that give stickiness to a site. Wallpaper, screensavers, apps and widgets are staples of a a site's online campaign.
Michal "Webby" Douglas - Proud User|
Supplier|Advocate
Support CASAA| The E-Cigarette Users & Suppliers Group
The Consumer Advocates for Smoke-Free Alternatives Association
-
Senior Member
ECF Veteran
Oh man. We are OLD :D

Originally Posted by
mtndude
peeks and pokes... duh
I lol's at this then realized it was very sad that I no only got this reference, but that SYS 49152 immediately jumped into my brain.
Off to grab some Geritol now...
-K
-
Senior Member
ECF Veteran
lol.. I knew I was running the risk of just sounding like a jibbering idiot.
good lord, the patience I had as a teenager with a VIC-20
-
Forum Supplier
CASAA Moderator
ECF Veteran

Originally Posted by
mtndude
lol.. I knew I was running the risk of just sounding like a jibbering idiot.
good lord, the patience I had as a teenager with a VIC-20
I'm going to go sit in the dark and play pong for awhile...
...your lamp is growing weaker...
...your lamp is out...
...you are about to be eaten by a grue...
DAMN YOU ZORK!!!
Michal "Webby" Douglas - Proud User|
Supplier|Advocate
Support CASAA| The E-Cigarette Users & Suppliers Group
The Consumer Advocates for Smoke-Free Alternatives Association
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Bookmarks