RE: [PHP] Re: PHP with MySQL
| From: | .ben | Date: | Fri, 03 May 2002 12:30:35 +0000 |
| Subject: | RE: [PHP] Re: PHP with MySQL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-95879@lists.php.net to get a copy of this message | ||
Thanks John.
> -----Original Message-----
> From: John Holmes [mailto:holmes072000@charter.net]
> Sent: 03 May 2002 16:29
> To: ben@babelfish.co.uk; 'PHP'
> Subject: RE: [PHP] Re: PHP with MySQL
>
>
> There's a whole section in the manual on it. There is a log_error() or
> errorlog() function that'll write your errors to a file of your
> choosing.
>
> ---John Holmes...
>
> > -----Original Message-----
> > From: .ben [mailto:ben@babelfish.co.uk]
> > Sent: Friday, May 03, 2002 4:04 AM
> > To: PHP
> > Subject: RE: [PHP] Re: PHP with MySQL
> >
> > Oh, i agree entirely.
> >
> > Ok, i'll look into the logging/mailing solution - something i've been
> > doing
> > in ASP for years but am new to in PHP.
> >
> > Cheers,
> >
> > .b
> >
> > > -----Original Message-----
> > > From: Jon Haworth [mailto:jhaworth@witanjardine.co.uk]
> > > Sent: 03 May 2002 11:57
> > > To: 'ben@babelfish.co.uk'; PHP
> > > Subject: RE: [PHP] Re: PHP with MySQL
> > >
> > >
> > > Hi Ben,
> > >
> > > > John, presumably I can leave the error reporting on -
> > > > but pipe it into a file if i wanted, rather than
> > > > displaying on screen, and then redirect the user to
> > > > another page?
> > >
> > > Of course you can - I generally have my pages send me email when
> > > they throw
> > > an error, but that's because I'm really lazy and I can't be bothered
> to
> > go
> > > and check log files all the time <g>
> > >
> > > It's just not a stunning idea to display an error messages that give
> > away
> > > out any information you could hold back - one of the starting
> > > points for an
> > > attacker is to try and mess up your query strings, and if you're
> merrily
> > > telling them exactly what the problem is, you're helping them out
> :-)
> > >
> > > Cheers
> > > Jon
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>