Re: Confused
| From: | Robert Cummings | Date: | Tue, 02 Sep 2008 18:34:23 +0000 |
| Subject: | Re: Confused | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279307@lists.php.net to get a copy of this message | ||
On Tue, 2008-09-02 at 14:27 -0400, Dan Shirah wrote:
> >
> > 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.
So you're script runs long enough for you to check?
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP