[Help]Creating CP Using Appache "Fatal Error"

Results 1 to 3 of 3
  1. #1
    Proficient Member nickojack1 is offline
    MemberRank
    Mar 2008 Join Date
    192Posts

    [Help]Creating CP Using Appache "Fatal Error"

    what kind of error is this??

    1st error in the webpage.

    Fatal error
    : Call to undefined function mssql_connect() in C:\xampp\htdocs\ran\function.php on line [B]37

    and this is the Thing that showed in Function.php

    <?php
    // Copyright (c) CiMed (cimed@yahoo.com)
    function checkcookie($where, $cookieuser, $cookiepass, $dbname, $sqladdress, $sqluser, $sqlpass) {
    connectdb($dbname,$sqladdress, $sqluser, $sqlpass);
    if($where==0) {
    $result = mssql_query(sprintf(SELECT_USER_PASS, $cookieuser));
    $rows=mssql_num_rows($result);
    if ($rows>0) {
    $rows=mssql_fetch_assoc($result);
    extract($rows);
    $password = ($UserPass);
    if ($password == $cookiepass) {
    quickrefresh('home.php');
    } else {
    resetcookies();
    }
    } else {
    resetcookies();
    }
    } elseif($where==1) {
    $result = mssql_query(sprintf(SELECT_USER_PASS, $cookieuser));
    $rows=mssql_num_rows($result);
    if ($rows>0) {
    $rows=mssql_fetch_assoc($result);
    extract($rows);
    $password = ($UserPass);
    if($password != $cookiepass) {
    notloggedin();
    }
    } else {
    notloggedin();
    }
    }
    }

    function connectdb($db, $dbaddress, $dbuser, $dbpass) {
    $dbconnect = mssql_connect ($dbaddress, $dbuser, $dbpass);
    mssql_select_db ($db, $dbconnect) or die (mysql_error());
    }

    function getmicrotime() {
    list($usec, $sec) = explode(" ", microtime());
    return ((float)$usec + (float)$sec);
    }

    function delayedrefresh($page) {
    echo "<meta http-equiv='refresh' content='3; URL={$page}'>";
    }

    function echoindex($part) {
    if($part=='credits') {
    echo '
    <tr valign="top">
    <td width="100%" align="center">
    <table width="703" border="0" cellpadding="0">
    <tr>
    <td width="700" height="15" background="img/header.gif" class="header">
    <center>
    </center>
    </td>
    </tr>
    <tr>
    <td style="border-left:1px solid black;border-right:1px solid black;" class="normal">
    <div style="margin: 10px;" align="center">Copyright


  2. #2
    Account Upgraded | Title Enabled! ushpen is offline
    MemberRank
    Jul 2007 Join Date
    PhilippinesLocation
    628Posts

    Re: [Help]Creating CP Using Appache "Fatal Error"

    You don't have to post it like this buddy, i guess your missing something. Have you put this ntwdblib.dll in this following addresses?

    * C:\xammp\php\
    * C:\xammp\Apache2\bin\
    * C:\windows\system32\

    And if it is not then download this ntwdblib.dll Here

  3. #3
    Proficient Member nickojack1 is offline
    MemberRank
    Mar 2008 Join Date
    192Posts

    Re: [Help]Creating CP Using Appache "Fatal Error"

    I did that already..SoRRy For the..Copy and paste thing.



Advertisement