Hello Again Houdini,
I just logged on here a few minutes ago to thank you for the code. It is simple enough, and it works fine with one slight modification. However, then I saw that you had edited your message and updated the code in order to make it more secure.
Well, I tried the second code, and the server is throwing me an error message now. Below is the error message.
Note: I'm sorry, but being as this is a public forum, and we don't know who visits here, I have to leave out the actual paths, as this project I am working on is aimed at slowing down those who abuse email forms, contact us forms, referral forms, etc., if you know what I mean. There is no need to give them the heads up on our attempts to get ahead of their game.
Anyway, when I click on the link on the first page, I get this error, and it won't display the second page:
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /...../........./___php:121) in /......./...../........./__.php on line 5
I imagine that this won't give you enough information to figure out what is going on, but I can tell you that line 121 is at the very end of the .php document, right after </body></html>. There is nothing after that on line 121.
How unsafe is the first version of your code?
Also, exactly what does go='no' mean? Does it have to be that word "no", or can I put any word there that I want, just as long as it is the same on both pages?
Thanks again,
WCP