| | |||||
| ||||||||
| CODE This forum is for posting code snippets and example scripts that aren't quite tutorials, but could be useful for others. You may post code snippets and/or completed scripts that you've written and want to share here. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Danltn.com Join Date: May 2007 Location: Danltn.com / Nottingham, UK
Posts: 1,201
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Screenshot Class Hey there everyone, Class URL I recently wrote a screenshot class, which (as you might expect) allows PHP to take screenshots providing their system all checks out. (Unfortunately you must be using Windows to take advantage of the COM class, and also have IE running - it's all explained in the code.) Some parts of the code are fairly messy, and probably written when I was drunk, so I was just looking for some criticism (and even better, improvements) to the code. And yes, I know some bits are (very) odd, but try not to hurt my feelings too much! Anyway, the URL to the class is here: Screenshot Class ????: NamePros.com http://www.namepros.com/code/490446-screenshot-class.html Any advice at all is extremely welcome. To do: - Linux support (I can take screenshots via terminal in Linux assuming the set up is correct, but it needs to be ported to PHP.) - Fix bugs - Change trigger_error to exceptions. - Improve code speed - Rewrite some superfluous parts Thanks, Dan
__________________ |
| |
| | THREAD STARTER #3 (permalink) |
| Danltn.com Join Date: May 2007 Location: Danltn.com / Nottingham, UK
Posts: 1,201
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | I can teach you how to do this, but certainly not all of PHP. Try www.PHP.net if you need to check anything about PHP in general. Dan
__________________ |
| |