Announcement

Collapse
No announcement yet.

wat happened??

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • wat happened??

    when i login to:

    www.certifyexpress.com,

    it will show that i'm login with the greetings "welcome, joyce". but when i click to:

    http://www.certifyexpress.com/microsoft/netessentials/

    the welcome becomes 'you are not login'.Login or Register.

    what happened??

  • #2
    Let me eloborate for joyce a little.

    I'm trying to convert my files to PHP but there is something wrong with the this code. Try to register an account, then login and go the the 2 links below, you will notice that from the index.shtml you the system managed to detect that you are login but from index.php you are still not login??

    This file call the header from header.shtml
    http://www.certifyexpress.com/microsoft/index.shtml

    <tr>
    <td width="100%"><font face="verdana" size="2">&nbsp;&nbsp;<!--#include virtual="/forum/homelogin.php" -->,&nbsp;&nbsp;<b>Total Registered Members : <font color="#FF3300"><!--#include virtual="/forum/registered.php" -->&nbsp;</b></font></font>
    <br>
    </td>

    This file call the header from header.php
    http://www.certifyexpress.com/micros...kpro/index.php

    echo "<td width=100%><font face=verdana size=2>&nbsp;&nbsp;";
    include("http://www.certifyexpress.com/forum/homelogin.php");
    echo "&nbsp;&nbsp;<b>Total Registered Members : <font color=#FF3300>";
    include ("http://www.certifyexpress.com/forum/registered.php");
    echo "&nbsp;</b></font></font>";
    echo "<br>";
    echo "</td>";
    Below are the codes for homelogin.php

    PHP Code:
    require("global.php");

    if ($bbuserinfo['userid']!=0) {
    $username=$bbuserinfo['username'];
      
    echo "<font face=\"verdana\" size=\"2\">&nbsp;<b>Welcome back, <font color=\"#FF3300\">$username</font>&nbsp;!</b>&nbsp;[<a href=\"http://www.certifyexpress.com/forum/member.php?s=&action=logout\">Logout</a>]</font>";

    } else {

    ?>

    <font face="verdana" size="2">You are not login. <b><a href="http://www.certifyexpress.com/forum/pageregister.php?action=login">Login</a></b> or <b><a href="http://www.certifyexpress.com/forum/register.php">Register</a></b></font>

    <?

    }

    ?>
    <sig removed because it violated the forum rules. Two requests were sent but ignored>

    Comment


    • #3
      Anybody can help
      <sig removed because it violated the forum rules. Two requests were sent but ignored>

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X