![]() |
I am trying to use the following script by including it into my home page (which has other included items, as well...such as new posts, etc.). However, I get an error whenever I include it.
The Script: [PHP] <? // File: Homepage Login // Version: 1.0 // By: RobAC // Date: 7/24/01 // Source: Original VB Homepage Login by Demolition // Reference: http://www.vbulletin.com/forum/showt...threadid=22192 require("/home/newbeetle/public_html/vbulletin/global.php"); if ($bbuserinfo['userid']!=0) { $username=$bbuserinfo['username']; print("<p align='center'>Welcome back,<br /> <b>$username!</b></p>"); print("<p align='center'><b>[ <a href='forums/index.php'>Enter</a> ]</b></p>"); } else { ?> <form action="http://forums.newbeetle.org/member.php" method="post" /> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="action" value="login" /> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td align="left"><font class="verdana, arial, helvetica" size="1"><b>Username:</b></font></td> <td align="left"><input type="text" name="username" size="7" /></td> </tr> <tr> <td align="left"><font class="verdana, arial, helvetica" size="1"><b>Password:</b></font></td> <td align="left"><input type="password" name="password" size="7" /></td> </tr> <tr> <td align="center" colspan="2"><input type="submit" value="Login!" /></td> </tr> </table> </form> <? } ?> The error: PHP Code:
You can see it in action (or NOT in action, as it stands) at: http://newbeetle.org/testindex.php Any help would be wonderful. Thanks so much! |
All times are GMT. The time now is 06:39 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|