Jump to content

Recommended Posts

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<html>
  





<head>
<link rel="stylesheet" type="text/css" href="Include/StyleSheet.CSS"/>
<script type="text/javascript" src="JSFunctions.js"></script>
<title>SocialGlobe</title>
</head>  <body>
     <div class="ContentBoxMainSite" style="color:white;padding:0px;">
   <table style="width:100%">
     <tr>
       <td>
         <a href="index.php" class="NoDisplayLink"><img src="Logo.png" style="border:0px"/></a>
       </td>       <td style="width:20%">
         <a href="Register.php" class="DisplayLink">Join SocialGlobe!</a>
       </td>
       <td>
         Login:   
       </td>
   <form method="post">
       <td valign="middle" style="font-size:12px;color:dodgerblue">
           Email:
       </td>
       <td>
         <input type="text" name="emaillogin">
       </td>
       <td style="font-size:12px;color:dodgerblue">
         Password:
       </td>
       <td>
         <input type="password" name="passwordlogin">
       </td>
       <td>
         <input type="submit" value="Login" name="Login">
       </td>
       <td style="width:20%;font-size:12px;color:dodgerblue">
         Keep me logged in:
       </td>
       <td>
         <input type="checkbox" name="keeploggedin">
       </td>
   </form>
   	 <td style="width:70%;text-align:right">
   <form action="http://socialglobe.comxa.com/Search.php" method="get">
     <input type="text" name="SearchName">
 <input type="submit" value="Search usernames" />
   </form>
   <a href="Searchaddd.php?SearchName=%" class="DisplayLink">View all users</a>
   </td>
   </tr>
  </table>
</div>
<br/>
<br/>
<div class="ContentBoxMainSite">
    Just finished the site. Please wait while i test the site..
</div>
<br/>
    <table>
      <tr>
        <td style="width:25%"></td>
        <td style="width:50%">
          <div>
            <form method="post">
              <table class="ContentBoxMainSite" style="width:100%">
                <tr>
                  <th colspan="2">
                    Register
                  </th>
                </tr>
                <tr>
                  <th colspan="2">
                    Fields with a "*" are required.
                  </th>
                </tr>
                <tr>
                  <td>
                    *Name:
                  </td>
                  <td>
                    <input type="text" class="ContentBoxForm" name="realname">
                  </td>
                </tr>
                <tr>
                  <td>
                    *Password:
                  </td>
                  <td>
                    <input type="password" class="ContentBoxForm" name="password">
                  </td>
                </tr>
                <tr>
                  <td>
                    *Retype:
                  </td>
                  <td>
                    <input type="password" class="ContentBoxForm" name="password2">
                  </td>
                </tr>
                <tr>
                  <td>
                    *Email:
                  </td>
                  <td>
                    <input type="text" class="ContentBoxForm" name="email">
                  </td>
                </tr>
                <tr>
                  <td>
                    *Retype:
                  </td>
                  <td>
                    <input type="text" class="ContentBoxForm" name="email2">
                  </td>
                </tr>
                <tr>
                  <td>
                    Age:
                  </td>
                  <td>
                    <input type="text" class="ContentBoxForm" name="userage">
                  </td>
                </tr>
                <tr>
                  <td colspan="2" class="center">
                    <input value="Create account" type="submit" class="ContentBoxForm"  name="submit">
                  </td>
                </tr>
              </table>
            </form>
          </div>
        </td>
        <td style="width:25%"></td>
      </tr>
      <tr>
        <td colspan="3" class="ContentBox">
          <br>
          <br>
          <div style="width:100%">
            By signing up you agree to the following conditions. If
            you cannot understand one or more of the conditions,
            mail your questions <a href=
            "mailto:hathelper@gmail.com">here</a>. If you sign up
            without understanding the conditions, then you have no
            right to take any legal action against the site
            administrators that is aforementioned here.<br>
            <br>
            <ol class="ContentBoxOverlay">
              <li>I understand that a small team of site
              administrators can view any of my data EXCEPT my
              password, which is hidden from even the site
              owner/head developer (Myself, Ashley Davies), by an
              MD5 hash.
              </li>
              <li>I understand that if I give false information, my
              account on this site can be terminated. If you would
              like a fake middle name, such as "John 'Explosive'
              Doe", please encase it in single quotes!
              </li>
              <li>I understand that the administrative team at
              socialglobe reserve the rights to terminate, or
              otherwise punish my account if I break a site rule.
              </li>
              <li>I understand that if I link to any dangerous or
              illegal material, that my account will be terminated.
              </li>
              <li>I understand that I must not break any laws in
              place in my country of residance.
              </li>
              <li>I understand that the administrative team at
              socialglobe reserves the rights to instate any rule
              we see fit, and terminate your account 72 hours (3
              days) after that rule is instated.
              </li>
		  <li>The site must not be used for facebook.
		  </li>
            </ol>
          </div>
        </td>
      </tr>
    </table>
  </body>

</html>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->

 

 

Is there any bugs in my PHP code? If not http://socialglobe.net23.net/Register.php.

Link to comment
https://forums.phpfreaks.com/topic/243006-my-signup-isent-working/
Share on other sites

if that's all your code for login in and register... it will never work... unless some magical scripting done in your JSFunctions.js. you fail to register because there's no code to process that register form. what you need is php to take your registering info and save it to a database. but i don't see any php in that code you provided....

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.