Top

database driven page system


PHP Code
+ 0 likes
Please Register to submit score.
Average Score  0.0
Scores Submitted  0
Date Added  Jun 18, 2007
Last Updated  Jun 18, 2007
Tags  database  db  driven  page  system 
  Bookmark and Share

Introduction

This stores pages into a database using an edit page and the stored pages may be viewed using the page.php page.
to see the script in action, go to
http://omfgesad.com/_edit_.php
http://omfgesad.com/page.php

any comments/suggestions appreciated.

Grab the Code

Comments

  (2)  RSS
lehmann14l
Comments: 10
 
PHP Snippet:  database driven page system
Posted on Jun 18, 2007 9:20 am
the way i script some things look odd :-D, but it works
Blank
Comments: 6
 
PHP Snippet:  database driven page system
Posted on Jul 7, 2007 4:53 am
just a suggestion, but you should be using mysql_real_escape_string on any user based inputs (or at the very least, an \'if(!is_numeric($editid)) die(\"Invalid input\");\'), because they could easily compromise your system by SQL injection.

Please Register or Login to start posting comments.
Bottom