note 28895 rejected from function.php-sapi-name by tix

From: Date: Mon, 27 Jan 2003 13:37:50 +0000
Subject: note 28895 rejected from function.php-sapi-name by tix
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-42816@lists.php.net to get a copy of this message
Following your instructions I have recorded this disappointing session with the Terminal: sapi_type = php_sapi_name(); Last login: Mon Jan 27 12:21:51 on ttyp1 Welcome to Darwin! [Grozdan-Popovs-Computer:~] grozdan% $sapi_type = php_sapi_name(); \ ? --if ($sapi_type == "cgi") \ ? --print "You are using CGI PHP\n"; \ ? --else \ ? --print "You are not using CGI PHP\n"; Badly placed ()'s. [Grozdan-Popovs-Computer:~] grozdan% So, what was wrong? when I have copied your text:

« previous php.notes (#42816) next »