Re: Confused
| From: | Dan Shirah | Date: | Tue, 02 Sep 2008 18:27:08 +0000 |
| Subject: | Re: Confused | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279304@lists.php.net to get a copy of this message | ||
>
> Add the following:
>
> <?php
>
> echo '<pre>'."\n"
> print_r( $_SERVER );
> echo '</pre>'."\n";
>
> ?>
>
> See if the AUTH_USER entry is in there.
AUTH_USER shows up, but does not have a value. From the output of phpinfo()
it says, "No value"
How do you know you don't get a connection to the database? What is the
> value of $connect_id? Use var_dump( $connect_id ) to find out.
I know it isn't connecting because I can go to the database and see that
there is no active connections to it.