If you really want to check that the referer is that exact URL, you could just do this:
Code
code:
Hmmmm, I'm not sure if a case-insensitive compare is needed. If so, you could use the lc() function on $ENV{HTTP_REFERER}, or add the 'i' modifier to the regex.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.