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
Hi everyone,
I was just wondering how one would write a php script that would check
itself, if it has been tempered with before running, and if it has would not
work.
I have seen Perl scripts that work in such a why, that is you edit only 1
char in the file and it will not run anymore, but I coul
When I was opened my index.php I saw a warning as following:
Warning: open(/tmp\sess_d8371d1d2885a00f831dca4730aa2354, O_RDWR)
failed: m (2) in c:/program files/abria
merlin/apache/htdocs/md/misc/misc3.php on line 12
I use sessions. Related file (misc3.php) and screen view are added to
th
When I was opened my index.php I saw a warning as
following:
Warning:
open(/tmp\sess_d8371d1d2885a00f831dca4730aa2354, O_RDWR) failed: m (2) in
c:/program files/abria merlin/apache/htdocs/md/misc/misc3.php on line
12
I use sessions. Related file (misc3.php) and screen view are
added t