] [mailto:[EMAIL PROTECTED]]On Behalf Of Russ
>Michell
>Sent: Friday, May 11, 2001 4:25 AM
>To: Dave VanAuken
>Cc: PHP-DB
>Subject: Re: RE: [PHP-DB] exit code generation, php shell
>script/standalone
>
>
>Could you not use :
>
>or(header("Location: local/or/absolute/pa
iable prior to exiting (ie printing it to the screen) rather than
> passing it back
>
> Dave
>
>
> >-Original Message-
> >From: Miles Thompson [mailto:[EMAIL PROTECTED]]
> >Sent: Thursday, May 10, 2001 4:16 PM
> >To: Dave VanAuken
> >Subject: RE:
ROTECTED]]
>Sent: Thursday, May 10, 2001 4:16 PM
>To: Dave VanAuken
>Subject: RE: [PHP-DB] exit code generation, php shell
>script/standalone
>
>
>Dave,
>
>I'm just free associating here, so these suggestions may be
>worthless:
>
>If you are calling the PHP scr
did try it, no go. Tried a number of permutations, but it doesn't
seem to want to actually return the exit code... just prints it to
the screen (in terminal mode) which is pretty and all, but not what I
need :)
just wondering is a solution exists and i just can't see the forest
for the trees.
Dave,
You can return a value from a function ...
function dosomething( para1, para2 )
{
code here
which depending on success or failure sets $reflag to 0 or 1
return $retflag;
}
So now the question is "Can we return a value from a script?" Hell, I don't
know, why not just try it?
M