PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm trying to make a PHP wrapper for webkit2png. webkit2png is a command line program for OS X takes a screenshot of a site with the Safari rendering engine.
When calling the page from a web browser it does not work. I figure it has something to do with my Apache settings but I'm not sure where to look. Any ideas?
That not quite what it does. It simply writes three images to a specified directory. When running the script from the browser the files don't make it to the directory. When running it from the command line it does.
Displaying them in the browser will be the easy part.
I'm going to guess it's a permissions thing.. php will run as the user set under the web server, while you are running it as yourself (a different user very very likely)
One would think that it would work if it was pointed at a directory in the local apache directory. I'll check my config again. Thanks for the replies. Any suggestions are welcome.