Seripets Development Forum


 
HomeMemberlistRegisterLog in

Share | 
 

 Programmer Application

Go down 
AuthorMessage
brandon
Programmer
Programmer


Posts : 4
Join date : 2010-11-30

PostSubject: Programmer Application   Tue Nov 30, 2010 6:14 pm

Example: Thread on VPU(http://virtualpetuniverse.com/showthread.php?tid=397)

I'm Brandon, 20 years old, from Canada, Ontario. I need to be paid for my programming, and I'm pretty flexible with my prices. I'm very hardworking and will complete work fast upon your request. I really need the money!
Back to top Go down
Calypso
Owner, Programmer
Owner, Programmer
avatar

Posts : 413
Join date : 2010-08-18
Age : 26
Location : Florida, USA

PostSubject: Re: Programmer Application   Tue Nov 30, 2010 8:24 pm

Can we see some examples, and us owners and Programmers will have a meeting.

_________________
Back to top Go down
http://http:www.v-petsite.com/nyxpets/index.php
brandon
Programmer
Programmer


Posts : 4
Join date : 2010-11-30

PostSubject: Re: Programmer Application   Tue Nov 30, 2010 8:28 pm

here is a simple user registration

Code:

<?php
$pagetop = "Register";
include("header.php");

if(!empty($user['id'])){
   echo "<center>You are already logged in as <strong>$username</strong></center>";
   include("footer.php");
   die;
}

if($_GET['action'] == "register"){
   
   $_POST['username'] = mysql_real_escape_string($_POST['username']);
   $_POST['password'] = mysql_real_escape_string($_POST['password']);
   $_POST['email'] = mysql_real_escape_string($_POST['email']);
   $check_username = mysql_query("SELECT * FROM users where username='{$_POST['username']}'") or die(mysql_error());
   
   echo "<center>";
   if(!$_POST['username'] || !$_POST['password'] || !$_POST['cpassword'] || !$_POST['email'] || !$_POST['security_code']){
      echo "You didn't fill out all of the required fields.";
   }elseif(str_replace(" ", "", $_POST['username']) != $_POST['username']){
      echo "Your username cannot contain any spaces.";
   }elseif(strlen($_POST['username']) < 4 || strlen($_POST['username']) > 12){
      echo "Your username must be between 4 and 12 characters.";
   }elseif(mysql_num_rows($check_username) > 0){
      echo "That username is already taken. Please try another one!";
   }elseif($_POST['password'] != $_POST['cpassword']){
      echo "The passwords you have entered don't match!";
   }elseif(str_replace(" ", "", $_POST['password']) != $_POST['password']){
      echo "Your password cannot contain any spaces.";
   }elseif(strlen($_POST['password']) < 6 || strlen($_POST['password']) > 12){
      echo "Your password must be between 6 and 12 characters.";
   }elseif(str_replace(" ", "", $_POST['email']) != $_POST['email']){
      echo "Your email cannot contain any spaces.";
   }elseif(strlen($_POST['email']) > 100){
      echo "Your email cannot be greater then 100 characters.";
   }elseif($_POST['security_code'] != $_SESSION['security_code']){
      echo "Your security code was incorrect. Please try again!";
   }else{
      $_POST['password'] = sha1(md5($_POST['password']));
      mysql_query("INSERT INTO users(username,password,email)
      VALUES('".$_POST['username']."', '".$_POST['password']."', '".$_POST['email']."')") or die(mysql_error());
      echo "Thank you for registering an account at Bake O Cake.<br /><strong>{$_POST['username']}</strong> you may proceed to the <a href='login.php'>Login</a>.</center>";
      include("footer.php");
      die;
   }
   echo "</center>";
}

ECHO<<<ECHO
<form action="?action=register" method="post">
<table align="center" width="380">
<tr>
<td colspan="2" align="center">
Register your <strong>FREE</strong> account at Bake O Cake!
</td>
</tr>
<tr>
<td>Username:</td>
<td><input type="text" name="username" value="{$_POST['username']}"></td>
</tr>
<tr>
<td>Password:</td>
<td><input type="password" name="password"></td>
</tr>
<tr>
<td>Confirm Password:</td>
<td><input type="password" name="cpassword"></td>
</tr>
<tr>
<td>Email:</td>
<td><input type="text" name="email" value="{$_POST['email']}"></td>
</tr>
<tr>
<td>Security Code:</td>
<td>
<img src="captcha.php" /><br />
<input id="security_code" name="security_code" type="text" /></td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" name="register" value="Register">
</td>
</tr>
</table>
</form>
ECHO;

include("footer.php");
?>
Back to top Go down
Spektyr
Head Programmer
Head Programmer


Posts : 25
Join date : 2010-09-16
Age : 31
Location : Washington state

PostSubject: Re: Programmer Application   Fri Dec 03, 2010 4:33 am

Hello Brandon. You seem proficient, so I accept your application.
Back to top Go down
http://www.leslieapland.org
brandon
Programmer
Programmer


Posts : 4
Join date : 2010-11-30

PostSubject: Re: Programmer Application   Fri Dec 03, 2010 11:37 am

Awesome. When can I start?
Back to top Go down
Spektyr
Head Programmer
Head Programmer


Posts : 25
Join date : 2010-09-16
Age : 31
Location : Washington state

PostSubject: Re: Programmer Application   Fri Dec 03, 2010 5:44 pm

I'm afraid that all of the owners have to accept your application as well. I'm just the programmer, so I only judge you on your coding skills. The owners accept you based on other qualifications, I think. =)
Back to top Go down
http://www.leslieapland.org
Calypso
Owner, Programmer
Owner, Programmer
avatar

Posts : 413
Join date : 2010-08-18
Age : 26
Location : Florida, USA

PostSubject: Re: Programmer Application   Fri Dec 03, 2010 5:50 pm

I will wait to give my decision after Martyn. Smile

_________________
Back to top Go down
http://http:www.v-petsite.com/nyxpets/index.php
brandon
Programmer
Programmer


Posts : 4
Join date : 2010-11-30

PostSubject: Re: Programmer Application   Fri Dec 03, 2010 6:16 pm

Okay. I will wait patiently.
Back to top Go down
Sponsored content




PostSubject: Re: Programmer Application   

Back to top Go down
 
Programmer Application
Back to top 
Page 1 of 1
 Similar topics
-
» Lime sulfur application on LIVING wood
» Don't give up on Isoflex
» 8 ACDelco 41-932 Professional Platinum spark plugs
» Where to find the 6AN8 ?
» Any Isoflex?

Permissions in this forum:You cannot reply to topics in this forum
Seripets Development Forum :: General :: Staff Applications :: Programmer Applications-
Jump to: