Hi everyone,
Does anyone know of any way to open a file and take a screenshot in PHP? I was asked this question myself this morning, and thought it sounded a little silly until I managed to convince myself that I'd seen it done before.
Thanks!
PHP File Contents Screenshot
Moderator: General Moderators
- mikeeeeeeey
- Forum Contributor
- Posts: 130
- Joined: Mon Jul 03, 2006 4:17 am
- Location: Huddersfield, UK
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: PHP File Contents Screenshot
You wouldn't use PHP, no.
Apache would accept a request, PHP might then use an extension or third party service to actually open the file and render the result.
It's much better to find a third party thumbnail service IMHO. It's not a trivial task.
Apache would accept a request, PHP might then use an extension or third party service to actually open the file and render the result.
It's much better to find a third party thumbnail service IMHO. It's not a trivial task.
Re: PHP File Contents Screenshot
Interesting issue with no desktop on the server 