[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: One more Q:
On Fri, 14 Jan 2000, Jason Pincin wrote:
> > > The idea is that I can utilize the PHP Object code via Perl by talking to
> > > Apache. The PHP should return intelligent error codes. I've decided that
> > > writing my own set of objects for Perl is too much right now to go live by
> > > Feb 1st and this should do nicely.
>
> How is apache going to return a PHP error code to a calling Perl script
> which is communicating over 80???
Well PHP should generate a SIMPLE page. No HTML. Let's say I want to do
an insert. The resulting page should be the UID for that table (like
ObjectID in KBObjects) for sucess, and preferably a "0" for error.
A query would retun the results in CSV for example or "0" for error.
Basically think about this a function and how you would want the results
to be returned to you.
--
Aaron Turner, Core Developer http://vodka.linuxkb.org/~aturner/
Linux Knowledge Base Organization http://linuxkb.org/
Because world domination requires quality open documentation.
aka: aturner@vicinity.com, aturner@pobox.com, ion_beam_head@ashtech.net
The difference between `Unstable' and `Usable' is only two characters: NT