note 36031 added to security.hiding

From: Date: Tue, 23 Sep 2003 13:58:48 +0000
Subject: note 36031 added to security.hiding
Groups: php.notes 
Request: Send a blank email to php-notes+get-56977@lists.php.net to get a copy of this message
Please be careful to use the ForceType to hide PHP. When you use this ForceType application/x-httpd-php in http.conf of Apache. It is possible that Apache will ask PHP to parse the file yuo do not intend PHP to parse. Extra errors could be rsulted from the undesirable parse. When I tried to embed mdia files with this setting, PHP tried to parse each media file (WMV or RM) and reported errors like: PHP Parse error: parse error, unexpected T_STRING in \path_to_media_file\media.WMV on line 700 or PHP Parse error: parse error, unexpected T_STRING in \path_to_media_file\media.rm on line 1322 There was not any problem in the media files. Actually there was nothing to do with them. ---- Manual Page -- http://www.php.net/manual/en/security.hiding.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+36031 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+36031&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+36031&report=yes

« previous php.notes (#56977) next »