Ok well thats one idea out of the window. If it's returning the right file size I don't see the problem try removing the stuff I asked you to put in and then
remove the whitespace in the code.
To add the new sections will require adding entries in the database for them, making up the form templates for them and adding checks in the class files.
Can't see why it suddenly started on July 14th unless your host changed their PHP version on that date. fread(filename, amounttoread) is the problem. In the code he uses
which means read the file named in the variable $fd for x amount of characters. He uses filesize($filename) to indicate he wants the whole of the template file to be read. For some reason the script is being told that th size of $filename is 0.
As an experiment open up lib/template.class.php and find
and between the two lines add
Hopefully this should stop the script at this point and tell the browser to display the path name of the template it is looking for. I hope anyway.
Page loaded normally here. I would try your guestbook again if I was you and if it's still slow then try deleting all your temporary internet files as well as cleaning up your system and doing a defrag.
The only problem with your plan is that you would need to maintain a list of proxies to compare the IP's against as this is the only way you could tell if they were using an anonymous proxy or not.
On a different note the problem with banning users for having the same IP is that companies with large networks will have the same external IP for every machine on the network. So if someone refers a colleague they both will have the same IP when checking the sites from their works computers. The same applies to some cyber cafes.
I recently tried PTR programs and decided that the only people making money from them were the people running them and the script writers. I was very amused at reading one sites list of deleted accounts and why, mainly because she had deleted some accounts for having the same password. Since when does having the same password mean you are the same person? the most common password in use today is actually the word password.
There is another way to trick PTR sites. You can view several timed adverts at once by using multiple browsers. For example view one advert in Internet Explorer, one in Mozilla, one in Opera and so on.
Just checked and the guestbooks drop down menu is justa form handled by the script. You can make a dropdown menu that will open the page where you want but not this one. Although with a little bit of php you could do it I suppose.
That would go
That is in index.php twice. Now you would just need to add urls to the jump menu
no promises on it working as this is just a quick look at the code.