Jump to content

[SOLVED] How to encrypt a PHP file with MYSQL querys


adamlacombe

Recommended Posts

Well I have a install file for my script but I want to encrypt it because I have an email function that I dont want taken out, I tried a PHP file encrypter but it failed because it was not for MYSQL.

 

Do you know of any free / cheap?

You can encrypt php files with the likes of ioncube. Does the php not contain the mysql queries?

Are you trying to encrypt a .sql file (i.e text file containing your create database queries)? You cannot do this if so. Why not use a php file to create the database and insert the data. Then it can be encrypted.

I have a php file with mysql querys and I want the whole file encrypted, php and mysql, all of it

Its your description thats a little misleading. A php file containing code that connects to a mysql database and runs queries is simply php, not mysql. Mysql is a database engine.

 

To encode php files use ioncube

http://www.ioncube.com/

 

However when deploying it on servers they will require the ioncube libraries to decode. Good news is that a lot of hosts have installed the modules, if not you can supply with your app.

Parse error: syntax error, unexpected '@' in /home/media/public_html/ggg/twilight_loader.php(119) : eval()'d code on line 12

Getting that error.

Is their a way to still use an @ symbol?

The problem is this:

mail([email protected],New Install,$url,$email);

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.