Re: Help me put this into phpinesse!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/29/07, Brad Sumrall <Brads@xxxxxxxxx> wrote:
<?php

           ob_start();

           session_start();

           header("Cache-control: private");

           require("includes/configure.php");


$conn=mysql_connect(DB_SERVER,DB_SERVER_USERNAME,DB_SERVER_PASSWORD);

           mysql_select_db(DB_DATABASE) or die(mysql_error().": database
not available");

           $show="no";

           isset($_SESSION['userid']);

What's the sense of above line?
isset is a function, that returns true or false.

                       if $SESSION=NULL

                       include './phpbb/login_global.php'



           $show="yes";

?>



What am I missing?



Brad

There's no concrete question what you want here. So i guess that is missing.

Tijnema



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux