1. A computerized-method for protecting software of a computing device, the method comprising: (a) encrypting a hypertext preprocessor (PHP) software program of the computing device using an encryption rule to obtain an encrypted file; (b) determining whether a predetermined hardware lock is connected to the computing device when the encrypted file is decrypted; (c) displaying a prompt that indicates the predetermined hardware lock is not connected to the computing device when the predetermined hardware lock is not connected to the computing device; and (d) decrypting the encrypted file with a decryption rule corresponding to the encryption rule when the predetermined hardware lock is connected to the computing device.