Cheating Network
 
 

Go Back   Cheating Network > Programming > General
Reload this Page Need a Decent PHP Programer



General

This is a discussion about Need a Decent PHP Programer within the General section, where you will General Talk of Programming



Reply
 
LinkBack Thread Tools Display Modes
Old 07-01-2009, 01:45 PM   #1 (permalink)
Senior Member
 
brill301's Avatar
 
Join Date: Sep 2008
Posts: 1,482
Reputation: 236
brill301 has a spectacular aura aboutbrill301 has a spectacular aura aboutbrill301 has a spectacular aura about

cBay Rating:

Scribe 

Send a message via AIM to brill301
Smile Need a Decent PHP Programer

Basically what I am trying to do, is have a page that is, basically password protected, and that page links to another page...

f.i.

There would be a page that has a single text box, and a submit button, once if the user clicks submit with the correct word in the box, it will lead them to the next page, if they do it wrong, an alert will pop up, saying something...



__________________________________


and the second thing I would like to have is a page that people simply submit there name and it will order there name from 1-(how many total people) Kind of as if it was a race to get to that page...

________________________________


So if anyone could help me out, please let me know, and how much you'd charge for something like this, thanks
brill301 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-02-2009, 05:45 PM   #2 (permalink)
Senior Member
 
Join Date: Dec 2008
Posts: 304
Reputation: 29
campbell292 is on a distinguished road

cBay Rating:
Default

I'm pretty sure I can do this (as long as you don't plan on hackers trying to break it). I'd need a few more details for the second part. I'm open to offers if you're interested, just PM me.
campbell292 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2009, 04:06 PM   #3 (permalink)
Senior Member
 
Sfiuplayer's Avatar
 
Join Date: Jul 2008
Posts: 461
Reputation: 110
Sfiuplayer will become famous soon enoughSfiuplayer will become famous soon enough

cBay Rating:
Send a message via AIM to Sfiuplayer Send a message via MSN to Sfiuplayer
Default

Do you have your own database? If so pm me and i can do it for a price.
__________________
If i post a sig, infraction
If i dont post a sig, thats gay.
Sfiuplayer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-27-2009, 11:32 AM   #4 (permalink)
Senior Member
 
Join Date: Mar 2009
Posts: 209
Reputation: 24
DarkMan is on a distinguished road

cBay Rating:
Default

Quote:
Originally Posted by Sfiuplayer View Post
Do you have your own database? If so pm me and i can do it for a price.
with how his examplain his thing i dont thing his use any sql database or anything like thats its seeem more like

html :

Code:
<form  action="signups.php" method="POST">
Password : <input name="pass" type="password" /><br />
<input type="submit" value="login" />
php :
Code:
<?php if ($_POST['pass'] == "lol") { code of redirection } else { echo "error bad password"; } ?>
DarkMan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-04-2009, 08:02 PM   #5 (permalink)
Junior Member
 
Join Date: Aug 2009
Posts: 13
Reputation: 1
Pudge1 is an unknown quantity at this point

cBay Rating:
Default

You'll probably need to use cookies on the second page to make sure no one finds it and just goes to it without the password for example.

index.htm
Code:
<html>
<head>
<title></title>
</head>
<body>
<form action="page2.php" method="post">
Word: <input type="text" name="word"><br />
<input type="submit" value="Submit" />
</form>
page2.php
Code:
<?
if($_POST['word'] == 'correct word here')
{
setcookie("cookie","cookievalue");
echo '<meta http-equiv="refresh" content="0;URL=page3.php" />';
}
else
{
echo "Wrong password intruder gtfo";
}
?>
page3.php
Code:
<?
if($_COOKIE['cookie'] == 'cookievalue')
{
}
else
{
echo "You have not entered the <a href='index.htm'>word</a> yet</a>";
exit;
}
?>
//Page contents here
?>
That work?
Pudge1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-04-2009, 08:09 PM   #6 (permalink)
360 Modder
 
Join Date: Jun 2008
Posts: 959
Reputation: 266
phonzie is a jewel in the roughphonzie is a jewel in the roughphonzie is a jewel in the rough

cBay Rating:
Send a message via AIM to phonzie
Default

You wouldn't even need a 'decent' programmer to do that. LOL. Seems everything's already done here...
__________________
phonzie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-05-2009, 12:06 AM   #7 (permalink)
Junior Member
 
Join Date: Aug 2009
Posts: 16
Reputation: 0
Jrake is an unknown quantity at this point

cBay Rating:
Default

I'm not sure what you need for the second request.
Do you want to display their name (and their visit number?)
i.e.
Quote:
1) Jrake
2) David
3) Guy
If so, heres something quick I made.
Index.php-
PHP Code:
<!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" dir="ltr" lang="en"
<
head>
 <
title>View your visitor place!</title>
</
head>
<
body>
 <
form action="place.php" method="get">
 <
input name="name" type="text" />
 <
br />
 <
input name="submit" type="submit" value="Submit" />
 </
form>
</
body>
</
html
place.php
PHP Code:
<?php
 
/**************IMPORTANT***************/
 /*Make sure you CHMOD visit.txt to 777 or 766*/
 /**************IMPORTANT***************/
 
if (isset($_GET['name']) {
  
$name $_GET['name']);
  
$towrite $name "\n;";

  
//Attempts to grab the text file; if none is found, a new one is created
  
$openfile fopen("visit.txt""x+");

  
//writes the name in visit.txt
  
fwrite($fp$towrite);
?>

<!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" dir="ltr" lang="en"> 
<head>
 <title>View your visitor place!</title>
</head>
<body>
<?php
  $count 
0;
  
$filecontent file_get_contents("visit.txt");
  
$set explode(';' $filecontent);
  
  
//output the visits
  
while (isset($set[$count])) {
   echo 
$count ") " $set[$count] . "<br />";
   
$count++;
  }
  
  echo 
"<br />Your visitor number... " $count;

  
fclose($openfile);
?>
</body>
</html>
Just wrote this up quickly, so there might be some errors present.
If you need something else done just ask (if its small i'll do it for free, otherwise it'll cost a small fee to get it done).

Last edited by Jrake; 08-05-2009 at 12:53 AM..
Jrake is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-05-2009, 12:49 AM   #8 (permalink)
Senior Member
 
Bourkster's Avatar
 
Join Date: Apr 2008
Posts: 1,771
Reputation: 148
Bourkster will become famous soon enoughBourkster will become famous soon enough

cBay Rating:

Scribe 

Default

Also just write a logged in variable into a session cookie and then do a check such as

PHP Code:
if (isset($_SESSION['logged_in'])){
echo 
"Do logged in stuff";
} else {
echo 
"You are not allowed to be here";

Bourkster is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
decent, php, programer


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Decent laptop brill301 Computers 9 05-01-2009 12:37 AM
FS 5 CL Accounts decent Prices The Hitman Sell/Trade Forum 5 07-17-2008 10:35 AM
Looking for a decent Notebook Computer Linkhero Hardware Hangout 19 03-26-2008 04:22 PM
Who is decent with programming? snowboardbum Chit Chat 3 01-11-2008 04:35 PM
does anyone know a decent program? simpson127 Chit Chat 3 12-19-2007 09:16 PM




Powered by vBulletin
Copyright © 2000-2008 Jelsoft Enterprises Limited.
Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.