Crowe,
I've implemented your script for the modify.cgi script. I did it a bit differently that you suggested, though.
Rather than create the duplicate of db_utils.pl, I put your two subroutines in modify.cgi, and I renamed them. Then I searched the script for any calls to those 2 subroutines and changed the names of them there too. (Only 3 replacements total) This way I have less duplication than if I duplicate all of db_utils.pl
Works like a dream. Thanks much for the code. One thing for anyone else who is interested in Crowe's code, UBB screwed up and where ever Crowe type pipe pipe, UBB displayed it as pipe space pipe, which causes the script to return a 500 error. Luckily I remembered Alex mentioning this UBB bug before.
I will update the zip file on the links mods page to include this.
Thanks Crowe!
Phoenix
I've implemented your script for the modify.cgi script. I did it a bit differently that you suggested, though.
Rather than create the duplicate of db_utils.pl, I put your two subroutines in modify.cgi, and I renamed them. Then I searched the script for any calls to those 2 subroutines and changed the names of them there too. (Only 3 replacements total) This way I have less duplication than if I duplicate all of db_utils.pl
Works like a dream. Thanks much for the code. One thing for anyone else who is interested in Crowe's code, UBB screwed up and where ever Crowe type pipe pipe, UBB displayed it as pipe space pipe, which causes the script to return a 500 error. Luckily I remembered Alex mentioning this UBB bug before.
I will update the zip file on the links mods page to include this.
Thanks Crowe!
Phoenix