litebearer Posted April 15, 2006 Share Posted April 15, 2006 Nice day, sun is shining, birds are singing and the old man is thinking outside the box again.I realize that this is not really a PHP question; however, I truely respect the knowledge that many of the people on his forum have (people like Toplay, Barand, AndyB, gizmola etc). So on to the question.Is it possible to 'run' a program/application on one's web site? ie.there is a free python program called webswoon, that seems to do what many recently have asked about here. It takes a 'snapshot' of a url and saves it as a jpg file.Obviously, one could set windows task manager to (1) start the program (2) save the jpg (3) start an ftp program to upload the jpg to one's web site. BUT....Thanks,Lite... Quote Link to comment https://forums.phpfreaks.com/topic/7487-not-truely-a-php-question/ Share on other sites More sharing options...
redbullmarky Posted April 15, 2006 Share Posted April 15, 2006 hiseems there are a handful of php functions to run programs you have on your server[a href=\"http://uk.php.net/exec\" target=\"_blank\"]http://uk.php.net/exec[/a]CheersMark Quote Link to comment https://forums.phpfreaks.com/topic/7487-not-truely-a-php-question/#findComment-27290 Share on other sites More sharing options...
Barand Posted April 15, 2006 Share Posted April 15, 2006 Can it be run from a command line? Quote Link to comment https://forums.phpfreaks.com/topic/7487-not-truely-a-php-question/#findComment-27346 Share on other sites More sharing options...
litebearer Posted April 16, 2006 Author Share Posted April 16, 2006 First, Happy Easter!Thank you for the responses.According to the webswoon site, it can be run from the command line; however, the documentation does not indicate the procedure. As such, I have sent an email to the author requesting information regarding the command line syntax as well as the feasibilty of using the program on my hosting server.Of course, taking the sledge-hammer approach, one could on the local computer use a task scheduler to (1) start apache and php (2) automatically modify the url file list (3) start webswoon (4) use an automated ftp client to transfer the resulting images to a remote host.Just looking for a simpler, more elegant solution.Will keep you posted.Lite... Quote Link to comment https://forums.phpfreaks.com/topic/7487-not-truely-a-php-question/#findComment-27467 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.