weebulgirl Posted August 19, 2008 Share Posted August 19, 2008 Hi, I just got a new laptop installed with Windows Vista Ultimate. I have installed IIS7, PHP5, and MySQL5. When I try to execute code such as: $dbc = @mysqli_connect(DB_HOST, $_POST['user'], $_POST['pass']) OR die ("<p>The system could not log you in.</p>".loginform()); The site simply displays a blank page. Any ideas what is going on here? I can't tell if it is a problem with IIS, PHP, or MySQL, or some combination of that. The page worked fine on my previous computer which was XP. Any help is really appreciated as I will lose access to my old computer in a few days. Link to comment https://forums.phpfreaks.com/topic/120417-php-iis-mysqli-blank-page/ Share on other sites More sharing options...
ngreenwood6 Posted August 19, 2008 Share Posted August 19, 2008 You are using a username and password it looks like from a post from a form. You need to be using the username and password for your databasse connection to your mysql server. Link to comment https://forums.phpfreaks.com/topic/120417-php-iis-mysqli-blank-page/#findComment-620447 Share on other sites More sharing options...
Mchl Posted August 19, 2008 Share Posted August 19, 2008 Remove @ so that we know what's going on Link to comment https://forums.phpfreaks.com/topic/120417-php-iis-mysqli-blank-page/#findComment-620452 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.