I have sorted this problem as per your request.
mysql_pconnect is disabled on our servers to avoid overloading of mysql server. I modified code of your 2 scripts and changed mysql_pconnect to mysql_connect. There should not be any problem due to this change.
If you face this problem on weekdays then our helpdesk would be a better place to question

__________________
UK Web Hosting ||
Business Hosting ||
eUKhost Knowledgebase
Toll Free : 0808 262 0255 ||
MSN : mark @ eukhost.com ||
AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________
Great Opportunity :: Join our
Affiliate Program for
FREE and earn 20% commission on each referral.