|
 |
Chambers wrote:
> I'm looking at doing some CGI scripting, where I would be retrieving data
> from a SQL database, running some imperative commands (preferably with
> support for custom objects / classes, as that would make things
> tremendously easier) and then sending results back to a separate database.
>
> The only scripting experience I really have in web pages is with PHP and
> JS; PHP seems more geared towards HTML output than anything else, and JS
> is client-side (while I need the scripts to be run server side).
Why not PHP? I have written many non-HTML scripts in PHP, including an IRC
bot or two (long-running daemons), and a script that scrapes a search page
to find spam and sends the needed POSTs to delete it. Although, of course,
neither of those two were run through a web server. "php deletespam.php"
And here's a script to resize JPEG images to half their size, also to be run
from a console and not from a browser/webserver: http://codepad.org/miaXuEIM
Post a reply to this message
|
 |