PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have been trying to make up a script which checks the referer to see if its being sent from the sendmsg.php page. If not an error message will be displayed informing the user, otherwise the process will continue. I used this a while back but I just cant seem to remember what I used. Can anyone help me please. Im not looking for a long code just the function which is used for referer checking.
Yes, It your right that I could be prone to spoofing with something such as Curl or Z-Spoof but I have also made a part which checks the users cookie and Session ID. I know thats not much but its extra security.
Regards and Thanks for that!
Pr0zaK I'll take on the world. Will they take on me?
Hi, I have given up using referrers as some fire walls (eg Norton Personal Firewall) block the referrer data. Ostensibly Norton changes it to "refewer".