Adding PHP to your HTML and CSS Blog
In a previous video and post Code Blog in HTML and CSS, we worked on a HTML and CSS Blog. The blog was very basic. So in this video we are going to add PHP to the blog so posts will be loaded from a database. This means, instead of modifying the files of your website over and over again, you can insert a post into a database.
There are a few requirements you need for this tutorial. You need PHP, Apache or other web server software, MySQL and PHPMyAdmin if you are not sure how to code in SQL. These usually come with all hosting companies that you buy from. But if you wish to do this for free, you can download XAMPP or LAMP, there are other options.
Using PuTTY for HTTP Requests and More
PuTTY is a free to use client for SSH, Telnet, RLogin, and also “raw” TCP connections. This allows you to connect to various servers and send and receive data. PuTTY is very light weight, not requiring an installation. A few amazing things you can do with PuTTY for example are, using it as a HTTP Client, using it for Whois, connecting to SSH Servers, and connecting to your printer to manage it.
Code Blog in HTML and CSS
If you ever wanted to make a website, starting off can be confusing. David creates a website using Notepad along with HTML and CSS right in front of your eyes. This video isn’t as much as a tutorial as it is a visual display of how websites are made.
If you are interested in learning how to create a website, the first steps are to learn HTML and CSS. Make sure you learn CSS because it will save you time in the future and make your websites much more appealing. A great tip on learning how to program is to look at other’s code and modify it to see what does what (don’t release or share it). Also never copy and paste code, always type it manually. Typing it allows for you to fully understand everything that is going into the code.
ZoomIt Desktop Zoom and Drawing
ZoomIt is a free tool from Microsoft that allows you to zoom in on parts of your screen, and also draw on the screen. This tool is super light weight and will not slow down your computer, or take up much space. It is a single executable file so no installation required.
A few things that are kinda bad about the program that I don’t explain in the video, or not in depth are the limitations of it. I understand it isn’t a large program but not being able to adjust simple items like Pen Color and Pen Size do make other programs a little more appealing. But ZoomIt is so small, light weight, and doesn’t require installation it is hard to say no to it.
How Websites Track You
Recently in the news there has been a lot of issues with privacy on the internet. Large companies tracking you without your knowledge and using that information to make money. So how does a website track you?
Well it is fairly simple if you have a service or item that other websites will add to their site, such as advertisements and “Like” buttons. Almost every website will track you, possibly without knowing it. Web Server software often times keep logs of every request made to the server. This information is used to find how users are navigating the site to better layout content, and to see what content should be featured based on how popular it is. But the tracking I’m talking about is for external sites. For instance, a Social Networking site tracking your use on all the other sites you visit. In the video, David will show you how a site can track you easily, without almost no code at all.