| | |
GETTING PAID by time locking templates
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
I absolutely hate it when I trust a person and never collect a deposit on work only to NOT be paid when I'm done.
I recently designed a flash page turn effect that is all XML controlled for a Realtor where the agents could simply upload the images to a folder, use the online editor to edit the XML file and have the images show up as pages that turn like a real page (flash action naturally) All said and done, "oh, I dont have enough to pay you."
Well there are times I get this gut feeling to protect my code so here is a short sweet and simple method for doing so.
Anytime you want to deliver a design for a client to load up and test on his machine (common request even by scammers) you simply encrypt the code between the doctype all the way down to the </head> AFTER you include the little snippet below.
If you don't know how to encrypt or where you may certainly use my encrypting tool I purchased a few years back. Zend and IonCube are popular as well. http://www.jaredritchey.com/codelock/ Just select SEGMENT and paste in your code. Other methods wont work because my directories are all 600 and wont allow access.
I recently designed a flash page turn effect that is all XML controlled for a Realtor where the agents could simply upload the images to a folder, use the online editor to edit the XML file and have the images show up as pages that turn like a real page (flash action naturally) All said and done, "oh, I dont have enough to pay you."
Well there are times I get this gut feeling to protect my code so here is a short sweet and simple method for doing so.
Anytime you want to deliver a design for a client to load up and test on his machine (common request even by scammers) you simply encrypt the code between the doctype all the way down to the </head> AFTER you include the little snippet below.
If you don't know how to encrypt or where you may certainly use my encrypting tool I purchased a few years back. Zend and IonCube are popular as well. http://www.jaredritchey.com/codelock/ Just select SEGMENT and paste in your code. Other methods wont work because my directories are all 600 and wont allow access.
##### Here is how you get your time, create time.php <?php echo time(); ?> #### Here is the timelock code commented so its easy to follow <?php //PHP Code for timelock: // add the following code to your project. // the time reflects the linux / unix time using the simple echo time(); // the $start_trial time is the current time or the time I create the trial period to begin. $start_trial = 1157044256; // to add the trial time you multiply days times hours times minutes times seconds so // it would be 7x24x60x60=604800 for a 7 day trial. // add echo time(); to a file called time.php to get server time. //$end_trial = $start_trial + 604800; $end_trial = $start_trial + 259200; $current_time = time(); $remaining_trial = $end_trial - $current_time; if ($current_time > $end_trial) { die('Your demo has expired. Jared would like to get off the government cheese program, <a href="http://www.thebrokersedge.com" target="_blank">Pay The Man!</a> You will then receive the unlock files'); } ?>
0
•
•
•
•
I don't understand. What's to stop them from having one of their relatives to find this page and delete it?
0
•
•
•
•
Had to revisit this snippet because some one told me my post had no code and that it was modified. Glad to see its still here.
~ Jared
~ Jared
0
•
•
•
•
I really want to try this code out and see if it works for me. But can you enlighten me which spot exactly to insert this code? Please, use the sample below to give insight:
PHP Syntax (Toggle Plain Text)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> </body> </html>
0
•
•
•
•
Yes mexabet; what I do is only encrypt a portion of the html document making it difficult to fill in the blanks after expiration.
For instance, what I'll do is take a Joomla or even a WordPress theme and encrypt just the index.php file and header.php file and encrypt with the time lock.
Naturally anyone could reproduce a design simply by viewing it in most cases but most wont go through the trouble.
~ Jared
For instance, what I'll do is take a Joomla or even a WordPress theme and encrypt just the index.php file and header.php file and encrypt with the time lock.
Naturally anyone could reproduce a design simply by viewing it in most cases but most wont go through the trouble.
~ Jared
0
•
•
•
•
Lots of people have asked how this works by sending me emails and PM's and responding to my many blog and forums around and apparently I wasn't clear so I've added a new video on how its done.
http://www.jaredritchey.com/how-to-e...emplate-demos/
Jared
http://www.jaredritchey.com/how-to-e...emplate-demos/
Jared
Similar Threads
- Online Jobs , Part time Jobs , Paid Surveys (Internet Marketing Job Offers)
- Help with...locking? (VB.NET)
- Locking up (Troubleshooting Dead Machines)
| Thread Tools | Search this Thread |
apache api array beginner beneath binary broadband broken button cakephp checkbox class cms code countingeverycharactersfromastring crack cron curl database date display dynamic echo email error fcc file files folder form forms freelancing function functions google href htaccess html image include incode insert integration ip javascript joomla limit link login mail match menu method mlm mod_rewrite multiple mysql oop pageing pagerank paypal pdf php problem query radio random recursion recursiveloop remote script search server sessions sms smtp soap source space sql strip_tags subversion support! survey syntax system table template tutorial undefined update upload url validator variable video virus web window.onbeforeunload=closeme; youtube



