How Do I Encrypt a Footer .PHP File?
Many web designers and developers use encryption as a way to protect their source codes from being stolen once they publish websites on the Internet. Encryption scripts can effectively encrypt php source codes to keep important information and data hidden from prying eyes. Although the encrypted code is unreadable to humans, it is still read properly by all types of web browsers. Source code encryption can be used to protect some or all of the php files on your website.
- Difficulty:
- Moderately Easy
Instructions
-
-
1
Open a new Notepad file in Windows by first clicking on "Start," then "All Programs" and "Accessories."
-
2
Type the HTML information that you would like displayed in your footer file. You can also enter HTMLthat you may have stored in another file. The footer file is typically used to display information for your website such as credits and copyrights.
-
3
Examine your HTML to be sure that everything is correct.
-
4
Visit Dynamic Drive (see Resources below) to access a free source code encrypter.
-
5
Click on "Edit," then "Select All" and "Cut" (located at the top of the Notepad screen) to copy your footer file html.
-
6
Paste the footer file html into the "Source Code Encrypter" box.
-
7
Click "Preview" to see how your footer file will be displayed in web browsers.
-
8
Click "Encrypt" to scramble the contents of your footer file.
-
9
Click "Select," then copy and paste the encrypted code into the Notepad file.
-
10
Click on "File," then "Save As" located at the top of the Notepad screen.
-
11
Type footer.php in the "File name" box, then select "All Files" from the "Save as type" drop-down menu. Click "Save." This creates your footer.php file.
-
12
Upload the footer file to your website.
-
1
Related Searches
References
- Photo Credit informatique image by gilles vallée from Fotolia.com