Re: console script html tags?
| From: | Ray Hunter | Date: | Tue, 15 Jul 2003 04:35:55 +0000 |
| Subject: | Re: console script html tags? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155220@lists.php.net to get a copy of this message | ||
Turn the html errors off in your php.ini file or write a function that
handles all your errors for you and u dont echo out html tags.
http://us3.php.net/manual/en/function.set-error-handler.php
--
BigDog
On Mon, 2003-07-14 at 21:32, Curt Zirzow wrote:
> Larry Brown <larry.brown@dimensionnetworks.com> wrote:
> > How can I rid myself of the html tags around error messages when writing
> > console scripts? (Besides avoiding errors)
>
> You can set up another system or user php.ini for the php binary to read
> then pass the location of the php.ini to the php binary:
> php -c /path/to/other/php.ini inputfile.php
>
>
> >
> > Larry S. Brown
> > Dimension Networks, Inc.
> > (727) 723-8388
> >
> >
>
> HTH
>
> Curt
> --
>