PHP file Don't work

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • RandomRaffles.com
    Private

    • Dec 2008
    • 1

    PHP file Don't work

    CLIENT ID #26422
    Ok, the script was working perfect, then it just stop working.
    And HTML doe's not show up either.
    RandomRaffles.com/users/1/register.php
    PHP Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Register</title>
    <style type="text/css">
    <!--
    body {margin: 0px; padding: 0px;}
    a:link {color: #2c3651;}
    a:visited {color: #1f5b8b;}
    a:hover {color: #2c3651;}
    a:active {color: #2c3651;}
    .Normal-P
            {
            margin:0.0px 0.0px 0.0px 0.0px; text-align:left; font-weight:400; 
            }
    .Normal-C
            {
            font-family:"Arial", sans-serif; font-size:11.1px; line-height:1.27em; 
            color:#808080; 
            }
    .Normal-C0
            {
            font-family:"Arial", sans-serif; font-size:11.1px; line-height:1.27em; 
            color:#ffffff; 
            }
    .Normal-C1
            {
            font-family:"Tahoma", sans-serif; font-weight:700; font-size:10.0px; 
            line-height:1.20em; color:#ffffff; 
            }
    .Normal-C2
            {
            font-family:"Verdana", sans-serif; font-size:9.0px; line-height:1.33em; 
            color:#808080; 
            }
    .Normal-C3
            {
            font-family:"Verdana", sans-serif; font-size:8.0px; line-height:1.25em; 
            color:#808080; 
            }
    .Normal-C4
            {
            font-family:"Verdana", sans-serif; font-size:11.0px; 
            line-height:1.18em; color:#808080; 
            }
    .Normal-C5
            {
            font-family:"Verdana", sans-serif; font-size:8.0px; line-height:1.25em; 
            color:#c0c0c0; 
            }
    .Normal-C6
            {
            font-family:"Verdana", sans-serif; font-size:16.0px; 
            line-height:1.13em; 
            }
    .Normal-C7
            {
            font-family:"Verdana", sans-serif; font-size:40.0px; 
            line-height:1.20em; 
            }
    .Normal-C8
            {
            font-family:"Arial", sans-serif; font-size:12.0px; line-height:1.25em; 
            }
    -->
    </style>
    <script src="wpscripts/jsFlashVer.js" type="text/javascript"></script>
    <script type="text/javascript"><!--
    var blankSrc = "wpscripts/blank.gif";
    --></script>
    <script src="wpscripts/jspngfix.js" type="text/javascript"></script>
    </head>

    <body text="#000000" style="background: #5e5e5e; text-align:center; height:871px;">
    <div style="background: transparent; position:relative;width:1247px;height:871px;margin-left:auto;margin-right:auto;">
    <div style="position:absolute; left:166px; top:47px; width:916px; height:769px;">
        <img src="wpimages/wp9d92092b.png" width="916" height="769" border="0" id="qs_2" name="qs_2" title="" alt="" onload="OnLoadPngFix()"></div>
    <div style="position:absolute; left:373px; top:699px; width:527px; height:14px;">
        <div class="Normal-P">
            <span class="Normal-C"><a href="aboutus.html" style="color:#808080;">About Us</a> &nbsp;│ &nbsp;<a href="contactus.html" style="color:#808080;">Contact Us</a> &nbsp;│ &nbsp;<a href="sponserus.html" style="color:#808080;">Sponser Us</a> &nbsp;│ &nbsp;<a href="trademarks.html" style="color:#808080;">Trademarks</a> &nbsp;│ &nbsp;<a href="privacy.html" style="color:#808080;">Privacy</a> &nbsp;│ &nbsp;<a href="http://randomraffles.com/yabb" style="color:#808080;">Forums</a> &nbsp;│ &nbsp;<a href="faq.html" style="color:#808080;">FAQ</a> &nbsp;│ &nbsp;<a href="terms.html" style="color:#808080;">Terms of Use</a></span><span class="Normal-C0"> </span><span class="Normal-C1"></span></div>
    </div>
    <div style="position:absolute; left:369px; top:733px; width:300px; height:22px;">
        <div class="Normal-P">
            <span class="Normal-C2">Copyright © 2008 RandomRaffles™. All rights reserved.<br></span>
            <span class="Normal-C3"> </span></div>
    </div>
    <div style="position:absolute; left:718px; top:733px; width:186px; height:13px;">
        <div class="Normal-P">
            <span class="Normal-C4">Search powered by Google™</span></div>
    </div>
    <div style="position:absolute; left:941px; top:760px; width:91px; height:10px;">
        <div class="Normal-P">
            <span class="Normal-C5">Powered by RR™</span></div>
    </div>
    <div style="position:absolute; left:219px; top:314px; width:21px; height:67px;">
        <div class="Normal-P">
            <span class="Normal-C6"><br></span>
            <span class="Normal-C7"></span></div>
    </div>
    <div style="position:absolute; left:174px; top:230px; width:900px; height:1px;">
        <img src="wpimages/wp5c4528bd.png" width="900" height="1" border="0" id="crv_1" name="crv_1" title="" alt="" onload="OnLoadPngFix()"></div>
    <div id="vid_2" style="position:absolute; left:174px; top:212px; width:900px; height:19px;">
        <script language="JavaScript" type="text/javascript">
        <!--
        var hasReqestedVersion = DetectFlashVer(8, 0, 0);
        if (hasReqestedVersion)
        {
        AC_FL_RunContent(
            "src", "the real tool bar not beta",
            "play", "true",
            "loop", "false",
            "width", "900",
            "height", "19",
            "salign", "C",
            "scale", "ExactFit",
            "id", "vid_2",
            "quality", "High",
            "name", "vid_2",
            "type", "application/x-shockwave-flash",
            'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
            "pluginspage", "http://www.macromedia.com/go/getflashplayer"
        );
        }
        else
        {
            var alternateContent = 'An old version of the Flash plugin was detected. <strong><a href="http://www.macromedia.com/go/getflash/">Please upgrade your Flash plugin.<\/a><\/strong>';
            document.write(alternateContent);
        }
        -->
        </script>
    </div>
    <div id="vid_3" style="position:absolute; left:174px; top:68px; width:900px; height:145px;">
        <script language="JavaScript" type="text/javascript">
        <!--
        var hasReqestedVersion = DetectFlashVer(8, 0, 0);
        if (hasReqestedVersion)
        {
        AC_FL_RunContent(
            "src", "RR REFLECTION",
            "play", "true",
            "loop", "false",
            "width", "900",
            "height", "145",
            "salign", "C",
            "scale", "ExactFit",
            "id", "vid_3",
            "quality", "High",
            "name", "vid_3",
            "type", "application/x-shockwave-flash",
            'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
            "pluginspage", "http://www.macromedia.com/go/getflashplayer"
        );
        }
        else
        {
            var alternateContent = 'An old version of the Flash plugin was detected. <strong><a href="http://www.macromedia.com/go/getflash/">Please upgrade your Flash plugin.<\/a><\/strong>';
            document.write(alternateContent);
        }
        -->
        </script>
    </div>
    <div style="position:absolute; left:29px; top:780px; width:1196px; height:91px;">
        <img src="wpimages/wpb8dfb8b8_0f.jpg" width="1196" height="91" border="0" id="pic_8" name="pic_8" title="" alt=""></div>
    <div style="position:absolute; left:500px; top:779px; width:10px; height:32px;">
        <img src="wpimages/wp0abd647d.png" width="10" height="32" border="0" id="art_10" name="art_10" title="" alt=" 
    " onload="OnLoadPngFix()"></div>
    <div style="position:absolute; left:174px; top:779px; width:900px; height:92px;">
        <img src="wpimages/wpf932dd38.png" width="900" height="92" border="0" id="art_14" name="art_14" title="" alt="Powered by RR™" onload="OnLoadPngFix()"></div>
    <div style="position:absolute; left:176px; top:0px; width:187px; height:56px;">
        <img src="wpimages/wp382b414e.png" width="187" height="56" border="0" id="qs_12" name="qs_12" title="" alt="" onload="OnLoadPngFix()"></div>
    <div style="position:absolute; left:987px; top:0px; width:260px; height:13px;">
        <div id="frag_3" style="text-align:left;">
        
        <form action="http://randomraffles.com/search.html" id="cse-search-box">
          <div>
            <input type="hidden" name="cx" value="partner-pub-6822238999888369:lf890vtpaog" />
            <input type="hidden" name="cof" value="FORID:10" />
            <input type="hidden" name="ie" value="ISO-8859-1" />
            <input type="text" name="q" size="25" />
            <input type="submit" name="sa" value="Search" />
          </div>
        </form>
        <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
        </div></div>
    <div style="position:absolute; left:935px; top:0px; width:51px; height:15px;">
        <div class="Normal-P">
            <span class="Normal-C8"><a href="http://randomraffles.com/beta/main.php" style="color:#000000;">Login</a></span></div>
    </div>
    <div style="position:absolute; left:874px; top:0px; width:64px; height:15px;">
        <div class="Normal-P">
            <span class="Normal-C8"><a href="http://www.serifwebresources.com/control.php?uid=241d7f1c39a1a409350be85a4bd4789759cf7c09&action=signup&base=http://www.randomraffles.com/main.php" style="color:#000000;">Sign Up</a></span></div>
    </div>
    <div style="position:absolute; left:184px; top:236px; width:878px; height:418px;">
        <div id="frag_1" style="text-align:left;">
        <?
        /**
         * The user is already logged in, not allowed to register.
         */
        if($session->logged_in){
           echo "<h1>Registered</h1>";
           echo "<p>We're sorry <b>$session->username</b>, but you've already registered. "
               ."<a href=\"main.php\">Main</a>.</p>";
        }
        /**
         * The user has submitted the registration form and the
         * results have been processed.
         */
        else if(isset($_SESSION['regsuccess'])){
           /* Registration was successful */
           if($_SESSION['regsuccess']){
              echo "<h1>Registered!</h1>";
              echo "<p>Thank you <b>".$_SESSION['reguname']."</b>, your information has been added to the database, "
                  ."you may now <a href=\"main.php\">log in</a>.</p>";
           }
           /* Registration failed */
           else{
              echo "<h1>Registration Failed</h1>";
              echo "<p>We're sorry, but an error has occurred and your registration for the username <b>".$_SESSION['reguname']."</b>, "
                  ."could not be completed.<br>Please try again at a later time.</p>";
           }
           unset($_SESSION['regsuccess']);
           unset($_SESSION['reguname']);
        }
        /**
         * The user has not filled out the registration form yet.
         * Below is the page with the sign-up form, the names
         * of the input fields are important and should not
         * be changed.
         */
        else{
        ?>
        
        <h1>Register</h1>
        <?
        if($form->num_errors > 0){
           echo "<td><font size=\"2\" color=\"#ff0000\">".$form->num_errors." error(s) found</font></td>";
        }
        ?>
        <form action="process.php" method="POST">
        <table align="left" border="0" cellspacing="0" cellpadding="3">
        <tr><td>Username:</td><td><input type="text" name="user" maxlength="30" value="<? echo $form->value("user"); ?>"></td><td><? echo $form->error("user"); ?></td></tr>
        <tr><td>Password:</td><td><input type="password" name="pass" maxlength="30" value="<? echo $form->value("pass"); ?>"></td><td><? echo $form->error("pass"); ?></td></tr>
        <tr><td>Email:</td><td><input type="text" name="email" maxlength="50" value="<? echo $form->value("email"); ?>"></td><td><? echo $form->error("email"); ?></td></tr>
        <tr><td colspan="2" align="right">
        <input type="hidden" name="subjoin" value="1">
        <input type="submit" value="Join!"></td></tr>
        <tr><td colspan="2" align="left"><a href="main.php">Back to Main</a></td></tr>
        </table>
        </form>
        
        <?
        }
        ?>
        
        </div></div>
    </div>
    </body>
    </html>
Working...
X