dc277
11-03-2007, 07:57 PM
I am willing to help out a few sites with some PHP.
As most of you know I work for free, but this time is different I will require some pay.
Lodithia is in need of some money, so I'm helping them by offering some of my time to help other sites.
As all people, I do have limits.
Here are some of the things I can do...
Register
Login
Login Check
Logout
Create Pet
Active Pet
Profiles
etcetc...
I can do alot of things. I can't some some of the bigger projects, but ask me what you want, and I'll tell you if I can do this.
Random Examples:
I didn't know what to really code, so I just coded some random examples, I probably can do better, but these are random.
$id = mysql_real_escape_string(strip_tags($_GET['id']));
if (!$id) {
$news = mysql_query("SELECT * FROM news ORDER BY date DESC");
if (mysql_num_rows($news) == '0') {
print 'Sorry, there is currently no news.';
} else {
while ($row = mysql_fetch_array($news)) {
print '<center><table border="1">
<tr><td colspan="2">' . $row['title'] . '</td></tr>
$ran = rand(0,500);
if ($ran >= '400' && $ran <= '500') {
print 'The number that you got is between 400 and 500. YAY';
} else {
print 'Sorry, the number that you got is less then 400.';
}
session_start();
$chk = mysql_query("SELECT * FROM users WHERE username='$_SESSION[username]' AND password='$_SESSION[password]'");
if (mysql_num_rows($chk) == '0') {
unset ($_SESSION);
session_destroy();
print 'You are not logged in. To log in click <a href="/login.php">here</a>';
} else {
$dat = mysql_fetch_array($chk);
$points = $dat['points'];
$rank = $dat['rank'];
}
For everything relating to money, please contact Viral.
Remember, this is for lodithia.
Oh and PLEASE dont' give me requests that seem like a whole site.
Also I do not want to be a full-time programmer.
Requests:
1.
2.
3.
As most of you know I work for free, but this time is different I will require some pay.
Lodithia is in need of some money, so I'm helping them by offering some of my time to help other sites.
As all people, I do have limits.
Here are some of the things I can do...
Register
Login
Login Check
Logout
Create Pet
Active Pet
Profiles
etcetc...
I can do alot of things. I can't some some of the bigger projects, but ask me what you want, and I'll tell you if I can do this.
Random Examples:
I didn't know what to really code, so I just coded some random examples, I probably can do better, but these are random.
$id = mysql_real_escape_string(strip_tags($_GET['id']));
if (!$id) {
$news = mysql_query("SELECT * FROM news ORDER BY date DESC");
if (mysql_num_rows($news) == '0') {
print 'Sorry, there is currently no news.';
} else {
while ($row = mysql_fetch_array($news)) {
print '<center><table border="1">
<tr><td colspan="2">' . $row['title'] . '</td></tr>
$ran = rand(0,500);
if ($ran >= '400' && $ran <= '500') {
print 'The number that you got is between 400 and 500. YAY';
} else {
print 'Sorry, the number that you got is less then 400.';
}
session_start();
$chk = mysql_query("SELECT * FROM users WHERE username='$_SESSION[username]' AND password='$_SESSION[password]'");
if (mysql_num_rows($chk) == '0') {
unset ($_SESSION);
session_destroy();
print 'You are not logged in. To log in click <a href="/login.php">here</a>';
} else {
$dat = mysql_fetch_array($chk);
$points = $dat['points'];
$rank = $dat['rank'];
}
For everything relating to money, please contact Viral.
Remember, this is for lodithia.
Oh and PLEASE dont' give me requests that seem like a whole site.
Also I do not want to be a full-time programmer.
Requests:
1.
2.
3.