Hi - I just wondered if anyone else has had their guestbook wiped by a malicious user. The php scripts look unchanged/unharmed, but the entries.txt file is blank.
Anyone know how this is done? I know nothing about hacking or scripting, but my guess is that it was via the php script, as opposed to a hack into the site from another route, as there was an email notification from the guestbook as it happened!
regards,
lee
www.victorianlondon.org
guestbook wiped by "hacker"
Lee,
I doubt your guestbook was "hacked". If you received an e-mail notification when it happened the problem probably was that your server was under too much load and tried to write to too many files at a time (or to write different input to the same file) and thus truncated/emptied the file.
This is a known issue with text databases and I've seen it happen before in hit counters. If you have a website with many visitors or if your guestbook is under a lot of pressure (many submissions) I would suggest that you find a guestbook with MySQL database.
Regards
I doubt your guestbook was "hacked". If you received an e-mail notification when it happened the problem probably was that your server was under too much load and tried to write to too many files at a time (or to write different input to the same file) and thus truncated/emptied the file.
This is a known issue with text databases and I've seen it happen before in hit counters. If you have a website with many visitors or if your guestbook is under a lot of pressure (many submissions) I would suggest that you find a guestbook with MySQL database.
Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
True, you can either prevent that by .htaccess (on Apache):
Options -Indexes
orsimply place a blank index.htm file to every folder.
Options -Indexes
orsimply place a blank index.htm file to every folder.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Yup, .htaccess is a quite useful little file
Options -Indexes
use either.
How are you preventing copycapts with .htaccess? I don't think there is a reliable way of doing it, or is it?

Same result withMe59 wrote:IndexIgnore *
Options -Indexes
use either.
How are you preventing copycapts with .htaccess? I don't think there is a reliable way of doing it, or is it?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Pretty cool, thanks!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools