Re:Test your stock-picking skills with instant feedback. Mos...
by ssanders82 on Tuesday March 18, 2008 @12:57PM
(#139953)
Yes, I thought of this but didn't think someone would go to the trouble to look at the stock and date, then look up the price N-days after that, then go back and trade it. Apparently I was wrong! I could solve this by dynamically creating an image w/ PHP and trimming the stock & date, but my poor shared CPU wouldn't like that...
[ Parent
| on HN ]
Re:Test your stock-picking skills with instant feedback. Mos...
by technoguyrob on Tuesday March 18, 2008 @02:28PM
(#140029)
Just store their current stock symbol & dates as session variables, and make the src of the image be a .php file which has the one liner:
<?php header("Location: http://quote-web.aol.com/..."); ?>
Then you don't have to use image processing (including actually reading the image), and they'd have to become right-click-and-copy-paste-image-src-check-in-new-tab-cheater! :-)
Re:Test your stock-picking skills with instant feedback. Mos...
by nextmoveone on Tuesday March 18, 2008 @03:26PM
(#140093)
Why not throw a div over the image or... disable right click, make a little harder to cheat... at least.