davidb
05-11-2009, 11:10 PM
I hope I do not sound too dumb, but I have a question. I created a program, http://www.chicago-ecigs.com/js/test.html in javascript(there is more too it like the part that generates the code based on the user input but that is not important for my question.)
My goal was to allow people to put it in forum sigs, blogs, websites, and myspace, but since none of those allow java script, except for websites (maybe blogs im not sure since I dont use it.)
One alternative I have seen is using php(from what I have read the GD libraries) to create a dynamic PNG image. I have seen this done on a per load basis, but i still have some questions.
Also when it comes to programming the most in depth experience I have had was 2 terms of java for my engineering degree, so I can program fairly well, or at least can learn quickly, but what I am unsure are the capabilities.
So here are my questions.
1. I am assuming I cant use javascript to make the PNG, I have to use PHP and the GD libraries.
2. Is it possible to make a PNG with that text dynamically
3. If #2 is possible, can I make it so it changes as time goes by just like in the above link, so the time would update, money value and cigs saved value would update without refreshing?
4. I googled for this info, found some, but no real guides on it, or at least the ones I found were really short and not helpful, so do you know of any guides that might help me achieve this goal. As I said I dont really know any php, but I learn fairly fast.
Thank you.
My goal was to allow people to put it in forum sigs, blogs, websites, and myspace, but since none of those allow java script, except for websites (maybe blogs im not sure since I dont use it.)
One alternative I have seen is using php(from what I have read the GD libraries) to create a dynamic PNG image. I have seen this done on a per load basis, but i still have some questions.
Also when it comes to programming the most in depth experience I have had was 2 terms of java for my engineering degree, so I can program fairly well, or at least can learn quickly, but what I am unsure are the capabilities.
So here are my questions.
1. I am assuming I cant use javascript to make the PNG, I have to use PHP and the GD libraries.
2. Is it possible to make a PNG with that text dynamically
3. If #2 is possible, can I make it so it changes as time goes by just like in the above link, so the time would update, money value and cigs saved value would update without refreshing?
4. I googled for this info, found some, but no real guides on it, or at least the ones I found were really short and not helpful, so do you know of any guides that might help me achieve this goal. As I said I dont really know any php, but I learn fairly fast.
Thank you.
