K so I am using a template that I found on the internet from a template site that I thought looked really good. I've spent several hours sifting through the template, modifying colors and images as I needed etc. So now, I finally have a layout style page done and ready for the site.
The last website I made I just had one 'index.php' that via links passed in through the URL (yes, there was link validation to ensure no one injected something like "../../../etc/pwd" and lifted the passwords or something). So basically, the whole site ran from one single page with variables in the url.
Is this a good idea? It seems fine to me because I don't see any security threats or anything since I got that covered, and if I wanted to change the way the site looked, all the content and scripts etc would be in their own pages and the layout would need to be changed only in one page.
So yea any advice on site organization would be very much appreciated, since this next site is going to be bigger than the junk I've done before.
A tiny question:
To use an image as a submit button do I just throw in an <input type="image"> in the form? Many sites say this will do it but some throw in some javascript.