top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to disable PHP warning for a single Line?

+2 votes
172 views
How to disable PHP warning for a single Line?
posted Sep 8, 2017 by Salil Agrawal

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+3 votes

I need disable using of any mail command from my hosting, so I'm not sure if is sufficiently put "mail" to disable_functions in php.ini:

disable_functions = mail

I want force obligatorily use of smtp authentication, Is it enough disable "mail"? or do I need add other command to disable_functions?

i.e.: using joomla I see: phpmail and sendmail

+1 vote

Getting the following two error -
Warning:session_start() : cannot send session cookie - headers already sent by(output started at.......)
Warning:session_start() : cannot send session cache limiter - headers already sent by(output started at.......)

...