If proplerly written, no html will be shown even without the
-q flag.
At the same time you can use @ infront of any error returning functions
(like calling a database which could be unavaliable) 
The @ turns of error messages.

// Halfdan

Sean C Truman wrote:
> 
> If your PHP is sending errors or warnings then there is something wrong with
> the code. If properly written NO HTML will be shown with the -q flag.
> 
> Sean
> 
> ----- Original Message -----
> From: "Halfdan Mouritzen" <[EMAIL PROTECTED]>
> To: "Vince Vielhaber" <[EMAIL PROTECTED]>
> Cc: "Sean C Truman" <[EMAIL PROTECTED]>; "Chris Johnson"
> <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Sunday, February 11, 2001 1:02 PM
> Subject: Re: Mayor problems with .qmail!
> 
> >
> >
> > Vince Vielhaber wrote:
> > >
> > > On Sun, 11 Feb 2001, Sean C Truman wrote:
> > >
> > > > Just so you know.. this will disable the HTML output (Unless ofcourse
> its a
> > > > PHP warning or Error).
> > > >
> > > > #!/usr/local/bin/php -q
> > >
> > > Yes, but in this case I believe it's desirable to turn the html off.
> > It certainly is.
> > If any HTML is output from the script, the shell will
> > terminate the script.
> > (Thats why I couldn't make my cron jobs work for a little while...)
> >
> > // Halfdan
> >
> > >
> > > Vince.
> > > --
> > >
> ==========================================================================
> > > Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]
> http://www.pop4.net
> > >  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
> > >         Online Campground Directory    http://www.camping-usa.com
> > >        Online Giftshop Superstore    http://www.cloudninegifts.com
> > >
> ==========================================================================
> >
> > --
> > //
> > Halfdan Mouritzen
> > Director of multimedia design
> > [EMAIL PROTECTED]
> > http://www.topdog.dk
> > //
> >

-- 
//
Halfdan Mouritzen
Director of multimedia design
[EMAIL PROTECTED]
http://www.topdog.dk
//

Reply via email to