[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] OT ? Interbase - how to have auto email when db date value is current date
- Subject: Re: [cobalt-developers] OT ? Interbase - how to have auto email when db date value is current date
- From: "William L. Thomson Jr." <support@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu Mar 6 16:02:01 2003
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Bruce,
On Thu, 2003-03-06 at 15:42, Bruce Timberlake wrote:
>
> > I am not to familiar with PHP. So you are saying that you can use
> > PHP from a shell? Like a Perl or Python script?
>
> Yep. Just do "php whatever.php" and away it goes. There's a php
> binary in /usr/bin.
Good to know. I was just not sure if PHP had a single binary executable
or not.
> You can test by making a test.php in any directory and putting
>
> <? phpinfo(); ?>
>
> in it, then do "php ./test.php" and watch the HTML spew forth. :)
Fun little thing to do. I may have done that a while back when I was
looking into alternatives to ASP. I liked PHP more than ASP, but
compared to what I can do with Java. Well there was no comparison in my
opinion. Programming and scripting languages are in different leagues.
> Upon further research (Chilisoft forums) about ASP and cron, the lynx
> kludge I mentioned is the only apparent way to "script" ASP via cron
> or commandline:
>
> http://developer.chilisoft.com/forum/topic.asp?TOPIC_ID=1663
>
> So it can be done, just not as elegantly as with PHP, Perl, etc.
So I am not to off base, but I would not recommend people go down that
route unless they have to.
I bet that PHP does not have anywhere near the overhead that ChiliASP
generates. Not to mention additional things like the lynx command.
If the original requester must use ASP. I would email that guy on the
link above doing a similar thing, and ask him about the overhead.
--
Sincerely,
William L. Thomson Jr.
Support Group
Obsidian-Studios Inc.
439 Amber Way
Petaluma, Ca. 94952
Phone 707.766.9509
Fax 707.766.8989
http://www.obsidian-studios.com