mssql_close() problems after installing php4

admin

Administrator
Staff member
Howdy,
I just installed php4 on our NT Server (SP6a, IIS). We have part of an app written in php3 and I'm testing it to see if anything breaks.

The php3 scripts for our app are no-brainers. They just call MSSQL using the mssql functions and show the data. However, the author of these scripts put an mssql_close() at the end of each script - without a link passed in as a parm. Our old scripts hang on this line in php4 (which worked fine in php3). If I pass in a link to mssql_close(), everything is fine.

I can fix this by just getting rid of the function, or by passing it a parm, but I want to know why it broke. Does anyone have any ideas? Has this happened to anyone else?

Thanks,
Kelly
 
Back
Top