1 )
Code: Select all
if(@$_SESSION['login'] !== true) {
...
}Code: Select all
@ini_set('session.use_trans_sid', 0);Code: Select all
@ob_start();thanks
Moderator: General Moderators
Code: Select all
if(@$_SESSION['login'] !== true) {
...
}Code: Select all
@ini_set('session.use_trans_sid', 0);Code: Select all
@ob_start();Code: Select all
if (!isset($this->globalvariables))
{
require_once(cms_join_path(dirname(__FILE__), 'class.globalvariables.inc.php'));
$globalvariables =[color=#FF0000]&[/color] new GlobalVariables();
$this->globalvariables = [color=#FF0000]&[/color]$globalvariables;
}bertsmilsky wrote:in the following php what does the '@' sign do:
1 )2 )Code: Select all
if(@$_SESSION['login'] !== true) { ... }3 )Code: Select all
@ini_set('session.use_trans_sid', 0);what is the difference if it was not in these examples?Code: Select all
@ob_start();
thanks