Hey everyone i just developed this code. But i am having problems figuring out how to use it in my site easily.
Here is what i have
Part 1
[php]<?php require_once('conn.php'); ?>
[/php]
Part 2
at some point i will have this connect to a MYSQL DB and get data regarding the above script
[php]
<? $mode="noedit"; ?> <? $bypas=$_GET['or']; ?>[/php]
Here is the problem i am having i want to add this to all my pages so that if i want to put the site under construction i can do so with out my clients seeing what i am doing or more importantly messing up.
as you can see in the script i have a over ride so that i can view the page that im working on with out the whole world seeing it. and the final part is that if the site is not under construction it will show everyone the site.
my sites have php, jquerry, java script, css and HTML
Here is a quick little snip it
a:visited { text-decoration: none; } a:hover { text-decoration: none; } a:active { text-decoration: none; } -->Poll<?php require_once('../ssi/poll.php'); ?>
How do i add the to my site with out having to do a lot of recoding? |