Right, I'm not really sure how to put this, so I'm just going to lay it out and hope for the best.
Basically I've designed a website (about 6 pages consisting of tables, images and text, nothing fancy!).
I've did it all in HTML and although it's not the most professional website you'll see - I'm happy enough with it how it looks/performs.
However, after creating the site (more or less), it became apparent that I might want to insert a few php scripts. And this is where the problem lies.
You'll have to excuse my ignorance as I know little about making a website (this is my first built from scratch) but do I insert the PHP script into the required page, then save that page as a .PHP file? As opposed to a .HTML file.
If that is the case, would it matter to have one or two pages were .PHP and the rest of the website was .HTML? Or would it make sense to have them all as .PHP files?
Lastly, what are the biggest risks, hacker wise - when it comes to making a website?
I understand FTP folder permissions can be a bit of a bugger when not configured correctly - but should I have much to worry about with a few simple tables, images, text and one or two script/s (from a reliable source) or is that more related to people who are running a lot of complicated scripts, where there may be more loopholes for an attacker to gain entry?
Thanks for any advice.
Basically I've designed a website (about 6 pages consisting of tables, images and text, nothing fancy!).
I've did it all in HTML and although it's not the most professional website you'll see - I'm happy enough with it how it looks/performs.
However, after creating the site (more or less), it became apparent that I might want to insert a few php scripts. And this is where the problem lies.
You'll have to excuse my ignorance as I know little about making a website (this is my first built from scratch) but do I insert the PHP script into the required page, then save that page as a .PHP file? As opposed to a .HTML file.
If that is the case, would it matter to have one or two pages were .PHP and the rest of the website was .HTML? Or would it make sense to have them all as .PHP files?
Lastly, what are the biggest risks, hacker wise - when it comes to making a website?
I understand FTP folder permissions can be a bit of a bugger when not configured correctly - but should I have much to worry about with a few simple tables, images, text and one or two script/s (from a reliable source) or is that more related to people who are running a lot of complicated scripts, where there may be more loopholes for an attacker to gain entry?
Thanks for any advice.