Date: 12/12/05 (PHP Community) Keywords: php I've recently started developing page's in a more "dynamic" way. So instead of having 1 page that for each page of content I would have 1 index page that simply reference's other pages and then variable's to control the content. Test ";?.> And then the menu would be something like <.a href='?p=1'>Test1 <.a href='?p=2'>Test2 The main index.php page would just reference page's like <.?.php include_once('includes/header.php'); include_once('includes/pagechg.php'); include_once('includes/footer.php'); ?.> What I want to know is, is this a safe method of creating a dynamic site. I do use htaccess so the user would see somesite.com/somepage instead of somesite.com/?p=1. If this isn't safe what is a safer method? Thanks again for any replies Source: http://www.livejournal.com/community/php/378469.html
|