Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Re: Use PHP as a scripting language in BBEdit' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Re: Use PHP as a scripting language in BBEdit
Authored by: sardu_mac on Feb 28, '03 06:35:26PM


   robg adds: I don't have the CLI version of PHP here...

Its handy for cron stuff, and saved a lot of time when I was testing the code for the RSS 2.0 feeds. Instead of having to make a change to the site to get a new feed generated I just ran a 3-line shell script:

#!/usr/local/bin/php
require_once('/path/to/geeklog/public_html/lib-common.php');
COM_exportRDF();

BTW: Anyone who runs a GeekLog site, that script will regenerate your 'backend/geeklog.rdf' file.



[ Reply to This | # ]