Hi Michael,

----- Original Message ----- 
From: "Michael Sullivan" <[EMAIL PROTECTED]>

> What's with this @mysql_connect stuff?  I use just mysql_connect.  Is
> there a functional difference?

The @ sign suppresses errors, so that if the DB failed to connect, it wouldn't 
give out any help to any would-be attackers.

Though I prefer error_reporting(0); to suppress all error messages (except my 
own) once the code is fully tested.
Bob E.



Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to