This Season
 

How Do I Decrypt a Footer PHP File?

How Do I Decrypt a Footer PHP File?thumbnail
Encryption is used on PHP hosted files.

PHP is a language used to create dynamic websites that call a database to display information to users. PHP is a plain text language, so the code security is breached if a hacker gains access to the server. For this reason, some web developers choose to encrypt the files on the server. You can decrypt your footer files and display them for readers using the "base64_decode()" function.

Related Searches:
    Difficulty:
    Moderate

    Instructions

      • 1

        Open your PHP file in any text editor. PHP is written in plain text, so you can use any simple editor such as Notepad.

      • 2

        Create the function call in your PHP file. The function is small and only requires one parameter. The following is how to call the decryption function:

        base64_decode ( string $my_file)

        Replace "my_file" with the name of your PHP footer file.

      • 3

        Save the changes and open the PHP file in your web browser. Without the decryption function, the PHP file is displayed in garbled characters. With the decryption function called, the PHP page retrieves your information and the footer processes normally.

    Related Searches

    References

    • Photo Credit http, www, icon, web, website image by creative from Fotolia.com

    Read Next:

    Comments

    You May Also Like

    Follow eHow

    Related Ads