note 41856 added to function.highlight-file

From: Date: Fri, 23 Apr 2004 19:14:08 +0000
Subject: note 41856 added to function.highlight-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-68691@lists.php.net to get a copy of this message
Instead of creating a file named 'source', you could simply make an alias named source pointing to your root dir, and use a <LocationMatch "^/source/.*?\.(php|inc)$"> and ForceType application/x-httpd-source... This would also allow you to have password protected folders and stuff (the same permissions as the users accutually have on the site).. ---- Manual Page -- http://www.php.net/manual/en/function.highlight-file.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+41856 Delete -- http://master.php.net/manage/user-notes.php?action=delete+41856&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+41856&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#68691) next »