Outline ·
[ Standard ] ·
Linear+
PHP PHP Delete, PHP Coding
TSBeTheBest00
|
Mar 23 2015, 09:15 AM, updated 10y ago
|
New Member
|
hi. good morning. how to write php code to delete own code and folder after certain period? example: after one month when the user try to login at enter button on login page, the enter button will act as a delete function and will automatically delete the whole folder that contain php code and sql on localhost.
p/s: to protect my own coding from copy and paste.
thank you.
|
|
|
|
danieln
|
Mar 23 2015, 09:26 AM
|
|
dont be so lazy. just google around. its just a simple script http://stackoverflow.com/questions/1334398...tents-using-php
|
|
|
|
TSBeTheBest00
|
Mar 23 2015, 09:32 AM
|
New Member
|
lol. how to enable the time period?
thank you
|
|
|
|
alien3d
|
Mar 23 2015, 03:47 PM
|
|
QUOTE(BeTheBest00 @ Mar 23 2015, 09:32 AM) lol. how to enable the time period? thank you using cron tab just delete the folder.. if you create an application for sold.. must obfuscate before sell them. timer is easy lile CODE if(date('Y') > 2015) { unlink('config.php'); }
** The truth , a coder like me easy to duplicate system. just need interface. your code is no worth value
|
|
|
|
venesh
|
Mar 24 2015, 11:00 PM
|
Getting Started
|
What alien3d told is correct. Use obfuscate for javascript.
Recently i had this problem. did a login/ insurance calculator for a company. they started to play with payment. But i knew it was going to happen , so i setup a free domain and hosting upload everything there and obfuscate javascript , didnt worry about php its sever-side.
And told them on full payment i will release the website.
|
|
|
|
TSBeTheBest00
|
Mar 25 2015, 09:23 PM
|
New Member
|
both great ideas. thank you.
|
|
|
|