DHCP (Dynamic Host Configuration Protocol) is a service running on port number 67 which assigns IP addresses to computers in a network. Setting up a DHCP server requires you to specify a range of IP addresses which will be assigned to the computers on the network, a gateway address which is the address of the router or modem and a DNS server address which will be used to resolve hostnames. Doing this in Linux is a simple matter of installing an application and editing a .conf file.Continue Reading…
Creating a PHP MySQL Login Page Script
PHP Login page script with three modules, the first one for allowing new users to register, the second for allowing users to login and the third page is a private page which only logged in users can access. Before reading this article make sure you read Connect PHP with MySQL because there is extensive use of PHP mysql functions throughout this article. The registration module uses INSERT query, the login module uses SELECT query to verify whether a user’s credentials exist in the database and creates a session and the private page checks to see if there is a session variable.Continue Reading…
Connect PHP with MySQL
Connect PHP with MySQL database, execute queries to manipulate information and retrieve data and display it using MySQL. Connecting with a MySQL database using PHP requires the use of three functions mysql_connect() mysql_select_db() and mysql_query() In this article I’ll be explaining how to connect to a MySQL server, create a database, create a table, insert values into it and retrieve it to display it in the form of HTML tables.Continue Reading…
Redirect http to https using htaccess
Redirect your website from http://www.example.com to https://www.example.com using htaccess file in your Apache web server. It is crucial to collect financial and confidential information from a person through HTTP over SSL to make sure the transactions are secure. A customer cannot be asked to type https in front of the URL each your website is visited. So you can make sure they are automatically redirected to the HTTPS version of the website each time they visit the URL.Continue Reading…
Redirect non www to www
This article explains how to redirect your website from the non www url to the www url but editing the .htaccess file. This is necessary because search engines think that example.com and www.example.com are different websites. But since they both have the same content it might work negatively on the search engine ranking. So it is better to redirect example.com to www.example.com doing so this sends HTTP 301 status code when a search engine (or any user) accesses example.com. The 301 code says the non www domain has been “Moved Permanently” to the www domain. Before proceeding make sure the server has support for mod_rewrite.Continue Reading…
Hide Last Logged in Username in Windows (Registry Tweak)
Windows displays the last logged in username in the login dialog box thinking it would be useful for the same person if he or she logs in again. But it might be a security or privacy issue for some. Letting others know you’ve logged in to a particular computer might be a privacy issue for you. Even if welcome screen is enabled just hitting Ctrl + Alt + Del twice will bring up the dialog box which displays the last login username. Hiding it is a simple matter of editing a registry value.Continue Reading…
- « Previous Page
- 1
- …
- 17
- 18
- 19
- 20
- 21
- …
- 25
- Next Page »