Re: [PHP-WIN] file self check

2004-08-09 Thread Ragnar
If you put that in the file itself, there is not much point though? If I do say: if (md5($_SERVER['PHP_SELF'])<>'asda8sd6asd7'){ ... Anyone with access to the file could just comment that out and the script self check wouldn't work. I have honestly no idea how that pearl file did it, but y

Re: [PHP-WIN] file self check

2004-08-08 Thread Ignatius Reilly
You could store a table or a text file associating to each script its MD5 hash string. check the PHP md5() function _ - Original Message - From: "Ragnar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 09, 2004 8:09 AM Subject: [PHP-WIN] file self c