note 44472 added to function.include

From: Date: Sat, 07 Aug 2004 03:02:34 +0000
Subject: note 44472 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-74116@lists.php.net to get a copy of this message
why not just use something like <?php include($page.php); ?> then they would be limited to including the files with .php extension and the code wouldnt be nearly as complex ---- Manual Page -- http://www.php.net/manual/en/function.include.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+44472 Delete -- http://master.php.net/manage/user-notes.php?action=delete+44472&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+44472&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#74116) next »