Thank you for your replies guys, much appreciated. I've been reading through the MySQL I think it's more complicated than doing the php bit.
Hi Blm126
1) There should be nothing but twey's script in a file called security.inc.php. Apology for sounding dah but I don't know what you mean should be nothing.
I've pasted the whole scripts in one of my webpage right at the top of the source code (the page is a normal webpage it has images, text colours etc) or should I paste the script in an empty page then save it as ie: firstpage.secure.php?
2)Yes,it goes at the top(before the <html> tag). The code is the following
PHP Code:
<?php require('security.inc.php'); ?>
Please note that any page you are using to protect with this needs to have an extension of PHP or have your server configured to treat them as PHP.
Ok for example I have this web page called abc.htm, I then insert <?php require ('firstpage.secure.php'); ?> right at the top of the source code before the bit where it says <!DOCTYPE HTML PUBLIC " and save it as abc.php, is that correct?
3) see above note Sorry can you elaborate on this, which file am I going to use for log-in page?
4)Follow number two above I'll check this one
5)Through your preferred database tool.Something like PhpMyAdmin. I'm so sorry but I don't know where I could find this and how to use it?
I'm new on this as you could tell but I'm determine to learn no matter how long it takes as hopefully one day when the questions arises again maybe I'll be able to help others a little at least.
Thank you so much.



Reply With Quote
how do I do start? and where do I start? I've seen within my hosting account that there is MySQL, it says either you could create or upload it? How do you create it? Is it like a webpage or what?

Bookmarks