I am not a programmer, but can't a check loop be used? Would it be possible to check the URL the way it is now and if false append the slash and recheck, if still false then return the failed check screen.
I did a modification like that to script used (perl) to update a user file. I read the Users Name out of WWWthreads and modified it to be used as a directory level password. I checked and removed all non allowed characters if it failed the check.
Thanks for this script. I will eventually be switching over from Links 2.0 to this.
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.