I'm building php-based flat-file forums and I'm having a couple of problems. First of all, I need a way of preventing a certain IP address from posting within a certain time period of their last post. This way the forums don't get flooded with posts.
My second problem is that I am trying to log the IP address of anyone who posts. I am saving the IP as the variable ${"IP$id$t_id$p_id"} where $id is the forum id, $t_id is the topic id, and $p_id is the post id. This works fine, however when I try to global it, it doesnt work. I dont know how to fix this problem. If anyone has an answer to either of these questions, or a better way of doing the IP logging, please reply. Thanks, Char.