John Wells wrote: > Ummmm, is your top.php code being printed AT ALL? Because in the code > you gave us, you're attempting to include "topo.php". > > HTH, > John > > On 3/21/06, João Cândido de Souza Neto <joao@xxxxxxxxxxxxxxxxxxx> wrote: >> tedd wrote: >> >> > Hi: >> > >> > I hate this. >> > >> >>Ok guy, don't fight with me. hehehe >> >> >> >>Follow's all code of files. >> > >> > Yeah ! Where's "rodape.php" ? >> > >> > If we're going to spend our time looking at your code, shouldn't you >> > spend the time to provide all of it? >> > >> > tedd >> > >> >> I'm sorry for do that. >> >> I'm stressed today. Forgive me. >> >> Follow's the rodape.php code: >> >> <table width="780" height="61" border="0" cellpadding="0" cellspacing="0" >> bgcolor="#FFFFFF" align="center"> >> <tr> >> <td height="61" bgcolor="#009EFF"> >> <div align="center"> >> <font color="#FFFFFF"> >> <strong> >> Buffet Online - >> www.buffetonline.com.br >> </strong> >> <br> >> Copyright (c) 2006 - Todos os >> direitos reservados >> </font> >> </div> >> </td> >> </tr> >> </table> >> >> -- >> --------------------------------------------------- >> João Cândido de Souza Neto >> Web Developer >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> I found the error. If you lookt at carefully, you'll see that the var $_SESSION["root"] has the "http://localhost/buffets/" value, then, when i use include($_SESSION["root"]."top.php") it losts the session variables. I just change to include("../top.php") and then it works fine. -- --------------------------------------------------- João Cândido de Souza Neto Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php