Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

php help

Name: OP 2012-01-21 17:52

So, I have a php script that I want to sell to people, but I have no money to buy sourceguardian or ioncube and license it. So, I want to create a .txt file on my server which contains a list of IP addresses allowed to run my php script, and then put in that php script some code which will check the .txt file on my server, and if the IP of the server running the php script is listed in my .txt file then the script will continue to run, if not the script will exit. Can anyone show me how to write the code that will check the .txt file?

Name: Anonymous 2012-01-21 18:17

Gentle bump.

Name: Anonymous 2012-01-22 8:15

I question the validity of your query.

Name: Anonymous 2012-01-22 16:28

Anyone who wants to steal your script could easily remove the checking code if they wanted to.

Name: Anonymous 2012-01-26 20:04

Have a rethink. Research open source business models, find a better way to profit from your work. Not waste time (and therefore money) trying to protect it with measures that will only be circumvented.

Name: Anonymous 2012-02-06 18:58


function check_if_registered ()
{
    return true;
}

Name: Anonymous 2012-02-10 8:55

Trying to protect PHP code is never going to be worth your time, or the server costs for the server that will be validating users.  If you really want to charge people to use it, create a hosted solution with a subscription fee.

Don't change these.
Name: Email:
Entire Thread Thread List