You have:

    <?php echo substr($_SERVER['AUTH_USER'], 13); ?>

and how do you want to get something?  The subscring is displayed  after
the 13th character and if the AUTH_USER is shorter...

Also you have:

    if (!$connect_id = ifx_connect("[EMAIL PROTECTED]", $user, $pass)) { // THE 
ACTUAL CONNECTION
        echo "Unable to connect to Informix Database\n"; // DISPLAY IF 
CONNECTION FAILS
        exit();
    }


and do you have tried:

    $connect_id = ifx_connect("[EMAIL PROTECTED]", $user, $pass)) ||
        die("Unable to connect to Informix Database.");

IF $user is the same as $_SERVER[AUTH_USER] and it  is  empty,  you  not
connect since ifx_connect() exits befor it is started since you need all
parameters.  So you have to use:

    $connect_id = ifx_connect("[EMAIL PROTECTED]", "$user", "$pass")) ||
        die("Unable to connect to Informix Database.");

which pass at least TWO empty $user and $pass strings to the functions.


Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature

Reply via email to