Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > Client Side Scripting
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 09-26-2005, 04:47 AM
  #1
jp_sympa
Aspirant (Level 2)
 
Join Date: Sep 2005
Posts: 12
iTrader: (0)
jp_sympa is an unknown quantity at this point
not printing error messages...

Hi, is there a way to not print on the screen error messages when they occur?
For example a mail() function :

Warning: mail(): Failed to connect to mailserver at "mail.optusne.com.au" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in c:\program files\easyphp1-8\www\skyway.com.au\area4\end.php on line 96

Thanks.
jp_sympa is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-28-2005, 10:59 PM
  #2
RetroGamer1991
Soldier (Level 11)
 
Join Date: Sep 2001
Posts: 147
iTrader: (0)
RetroGamer1991 is on a distinguished road
if its a PHP error

put a @ in front of the function

MODS: MOVE TO PHP SECTION
RetroGamer1991 is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart
 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 03:13 AM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.