PDA

View Full Version : mssql_connect no error given


polyvectorn
05-22-2005, 02:45 AM
I am having an issue connecting to mssql. I am not sure what is going on because it is not throwing an error. It is like it is just freezing. I use this code below (I took the html and other non-related things):
print('[b] testing </b>');
if ($link = @mssql_connect('mssql06.discountasp.net','*****',' ****'))
{
print('Yes');
}
else
{
print('Error');
}
print('done');

I get this as a result:
testing

When I view page source I get:
<html>
[b]
testing

It seems like it hangs up after the if statement. I am sure the username and pass are correct.

bruce
05-23-2005, 05:21 AM
try this

http://kb.discountasp.net/article.aspx?id=10022

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)