Your EMail Address appears to be invalid.
Please contact the webmaster if you think your submitted email is correct."; elseif ( ( $dom == "hotmail.com.au" ) OR $dom == "dingoblue.net.au" OR $dom == "one.net.au" ) $message .= "
  • That Email Domain ($dom) does not appear to exist. Please resubmit.

  • "; elseif ( $dom == "start.com.au" ) $message .= "
  • Sorry, that Email Domain ($dom) does not reliably accept mail. Please use a different Email.

  • "; } else $message .= "Your email address is empty !"; return $message; } if ( isset( $actionflag ) AND $actionflag=="register") { /* Username */ if ( strlen( $form[USERNAME])>=17 OR strlen( trim($form[USERNAME] ) ) <= 3 ) $message .= "
  • You must enter a valid Username of between 3 and 16 characters
  • \n"; /* Password */ if ( $form[USERNAME] == $form[PASSWORD] ) $message .= "
  • Your Username and Password are NOT permitted to be the same
  • \n"; if ( $form[PASSWORD] != $form[PASSWORD2] ) $message .= "
  • Your Passwords did not match
  • "; if ( strlen( $form[PASSWORD] ) >=17 OR strlen( $form[PASSWORD] ) <=4 ) $message .= "
  • Your Password must be between 5 and 16 characters
  • \n"; /* Email */ if ( ! empty( $form[EMAIL] ) ) $message .= checkEmail1( $form[EMAIL] ); else $message .= "
  • Your EMAIL address must be entered and correct to proceed.
  • \n"; /* Username */ if ( $form[USERNAME] ) // Is USERNAME set ? { if ( getRow( "TEMP", "USERNAME", $form[USERNAME] ) ) $message .= "
  • That Username is NOT available. Please try another.
  • "; if ( getRow( "USERS", "USERNAME", $form[USERNAME] ) ) $message .= "
  • That Username is NOT available. Please try another.
  • "; } else // Username not set ! $message .= "
  • You MUST enter a Valid and Unique Username !
  • "; /* EMAIL */ if ( $form[EMAIL] ) // Is EMAIL set ? { if ( getRow( "TEMP", "EMAIL", $form[EMAIL] ) ) $message .= "
  • EMAIL \"$form[EMAIL]\" already exists in the database. Please try another.

  • "; if ( getRow( "USERS", "EMAIL", $form[EMAIL] ) ) $message .= "
  • Email \"$form[EMAIL]\" already exists in the database. Please try another.

  • "; } else // Email not set ! $message .= "
  • You MUST enter a Valid and Unique Email Address !
  • "; /* DOB */ if ( ! $form[DOB] ) // is [DOB] set? { $form[DOB]="$form[months]:$form[days]:$form[years]"; // if no, then assemble DOB if ( ( $form[DOB]=="::" ) OR ($form[DOB] == "1:1:2002") ) // if result = "::" then not set { $message .= "
  • You must enter a valid DateOfBirth (DOB)
  • "; // and give error message. } } /* AGE */ // $splitdob = split(":",$form[DOB]); // split [DOB] field [0]=mth [1]=day [2]=yr $cyear = date("Y",time()); // set this year $cmonth = date("m",time()); // set this month $cday = date("d",time()); // set today $form[AGE] = $cyear - $form[years]; // Basdic Calculation of $AGE if($form[months] > $cmonth) // However - if Mth is greater than current $form[AGE] = $form[AGE]-1; // then decrement by 1 elseif($form[days] == $cmonth AND $splitdob[1] >= $cday) // elseif mth is = to current mth AND day >= current day $form[AGE] = $form[AGE]-1; // then decrememnt by 1 /* Now check for Age */ if ( $form[AGE] < 18 ) // Test for valid $form[AGE] = 18+ $message .= "
  • You have an invalid Date Of Birth (DOB)
  • "; // Send msg if < 18 /* If ANY Error Message then Add header to it */ if (! empty( $message ) ) $message = "
       !!! ALERT !!!$message"; /* IF NO ERRORS */ /* ============ */ if ( $message == "" ) { srand ((double)microtime()*1000000); $rand_no = rand(1000,9999); $PASSWORD = crypt( $form[PASSWORD],a3 ); $form[USERNAME] = ucfirst( strtolower( $form[USERNAME] ) ); $form[EMAIL] = strtolower( $form[EMAIL] ); $id = newUser( $form[USERNAME],$PASSWORD,$rand_no,$form[GENDER],$form[COUNTRY],$form[DOB],$form[EMAIL],$REMOTE_ADDR ); // Insert into TEMP returns id number as $id setUserSession( $id,$form[USERNAME],$form[PASSWORD],$form[newmember] ); // Set $tpn vars with $id $timereg = date("jS M Y - G:i:s", time()+64800); // send email to Webmaster // Set the message content : $to = "ads@personals.net.au"; $subject = "$tpn[id] ADULT - $form[USERNAME] - $form[EMAIL] has registered"; $option = "From: ads@personals.net.au\r\nX_Keyword: ADULT_join\r\nX_ReallyFrom: $REMOTE_ADDR\r\n"; $emailmsg = "User - $tpn[id] : \"$form[USERNAME]\" with Email Address \"$form[EMAIL]\" \n Password : $form[PASSWORD]\n User_ID : $id.$rand_no\n Country : $form[COUNTRY] DOB : $form[DOB]\n Has applied for membership from $form[COUNTRY] at Time: $timereg.\n The User was reported as IP= $REMOTE_ADDR using $HTTP_USER_AGENT"; sendEmail( "ads@personals.net.au", $subject, $emailmsg, $option ); // Send email to new Member // Set the message content : $emailreg = "Your login details are :\n Login : ADULT http://personals.net.au/newlogin.html\n Login Name : $form[USERNAME]\n Password : $form[PASSWORD]\n Sequence Number : $id.$rand_no\n Country : $form[COUNTRY]\n NOTE: The password is encrypted in the database and there is NO on-site record of what it is after this email !\n Your Sequence Number is used for your FIRST login only ! Your next step is to log in at http://personals.net.au/newlogin.html for your first log in.\n There, you will put in your personal details and an Ad if you wish to do so. You submitted your registration at : $timereg Australian-EST\n Please put these login details in a safe place for the future.\n Any queries should be directed to: webmaster@personals.net.au\n If you have any concerns regarding this email or if you feel you should not have received this email or you are NOT a member of The Personals Network™ group of websites, please contact the webmaster at webmaster@personals.net.au/n Regards, Chris Heart Webmaster - The Personals Network http://personals.net.au\n"; sendEmail( $form[EMAIL], "Registration details from The Personals Network", $emailreg, $option ); session_unregister("tpn"); session_destroy(); header( "Location: newlogin.html?" ); exit; } } ?> New Member Registration

    New Member Registration $message

    "; ?>

    Your Email Address:
    (Can only be used ONCE)


    Your Date Of Birth(DOB):
       Month   
       Day:
       Year:

    Your Country:

    Proposed Username:
    (This must be unique)

    Login Password:

    Confirm Password:

    Instructions : PLEASE READ THIS !
    The greatest cause of registration failure is incorrect, inactive or full mailboxes - especially Hotmail or Yahoo accounts.

    You must register as a Member if you wish to place an Ad, or to view any Ad.
    This is where you start your Member Registration Process.

    Enter your your Email, desired Username, Country, DOB and a Password you will remember. Your Email and Username must be unique and if someone else is already using either, you will be sent back here to enter a different one.
    The Email address is the one that all replies will go to !
    Make sure your DateOfBirth (DOB) is correct.
    Enter and confirm the password by re-entering the same password in the second password field.

    The Username is any text, with a maximum of 16 characters.
    The password is a minimum of 5 characters and a maximum of 16.

    Your Email and Username are checked to see if they each are unique, AND the two passwords match. If they do - then you are sent an Email to the Email Address you give here which also gives you a copy of your login Name and Password. You should get that email in a minute or two.
    You are also be sent a Sequence Number in the same Email that is used in the next step.
    Please save the contents of the Email for future use.

    The Next page is where you log into the system for the first time. You will need your Username, Password AND Sequence number to successfully log in. Wait for the Email that contains the Sequence number before trying to log in.

    If you wish, you can go to the 'newlogin' page at a later time.
    The Personals Network™ reserves the right to suspend, modify or delete any membership and/or Ad at ANY time with or without notice or reason.

    Chris Heart
    Webmaster