note 125515 added to function.highlight-file

From: Date: Sun, 15 Nov 2020 13:30:00 +0000
Subject: note 125515 added to function.highlight-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-215855@lists.php.net to get a copy of this message
Unfortunately the AddType trick only works for Apache *with mod_php* - FastCGI backends can't see the special content type and don't do anything special with the .phps file extension, instead trying to run it like normal code. It's still possible to make it work using mod_rewrite trickery and a proxy script that calls highlight_file, but that's an exercise left to the reader. ---- Server IP: 45.112.84.4 Probable Submitter: 185.85.3.47 (proxied: 217.28.11.239) ---- Manual Page -- http://php.net/manual/en/function.highlight-file.php Edit -- https://master.php.net/note/edit/125515 Del: integrated -- https://master.php.net/note/delete/125515/integrated Del: useless -- https://master.php.net/note/delete/125515/useless Del: bad code -- https://master.php.net/note/delete/125515/bad+code Del: spam -- https://master.php.net/note/delete/125515/spam Del: non-english -- https://master.php.net/note/delete/125515/non-english Del: in docs -- https://master.php.net/note/delete/125515/in+docs Del: other reasons-- https://master.php.net/note/delete/125515 Reject -- https://master.php.net/note/reject/125515 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#215855) next »