TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 05-04-2009, 08:38 PM   #1 (permalink)
The Acquainted
 
KingOfTheSouth's Avatar
 
Join Date: Oct 2008
Location: Cincinnati
Posts: 151
Thanks: 14
KingOfTheSouth is on a distinguished road
Default Am I inputting data correctly?

I am trying to input data into a users account. If they vote for my site then they get credits on my site. I was wondering am I even doing this right?
PHP Code:
<?
include("game_html.php");$game="yes";

$user mysql_fetch_array(mysql_query("SELECT id FROM $tab[user] WHERE id='$id';"));
$userid $user[id];
secureheader();
?>
<br>
<center><b><font size="+1">Vote for Clubbinkings and get FREE credits!</font></b>
<br><br><b><font color="#8F92E8">If you enjoy ClubbinKings and want to get some free credits, please vote! </font></b>
<br><br>
<br><br>

<table align="center" width="80%">
<tr bgcolor="#333333">
<td width="30%">
<center>
<a href="http://www.mpogr.com/vote.php?id=907"><img src="http://www.mpogr.com/dynamic/image.php?id=907" border="0" width="180" height="90" alt="Vote on MPOGR" />
</center>
</td>
<td>Reward: <font color="8F92E8">100 Credits</font><br><small>(Click banner for credits to be counted, not text link!)</small><br><br>Click Rate: <font color="8F92E8">Daily!</font>
</td>
</tr>
</table>
<br><br>

<table align="center" width="80%">
<tr bgcolor="#333333">
<td width="30%">
<center>
<a href="http://www.toprpgames.com/vote.php?idno=2224&username=<?=$v[0]?>&password=<?=$v[1]?>"><img border="0" src="http://www.toprpgames.com/images/banners/toprpg_88x31-3.gif" alt="" /></a><br>
</center>
</td>
<td>Reward: <font color="8F92E8"></font><br><small>(Click banner for credits to be counted, not text link!)</small><br><br>Click Rate: <font color="8F92E8">Weekly!</font>
</td>
</tr>
</table>
<br><br>
<br><br>

<?
gamefooter
();
?>
KingOfTheSouth is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB 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
SQL Injection and mysql_real_escape_string Durux General 61 01-29-2013 12:20 PM
Venerable methods and the applications they are commonly trusted in. Village Idiot Tips & Tricks 7 11-06-2008 07:36 AM
Creating a table from loaded data benton General 5 04-20-2008 11:48 AM
The act of sharing your data Wildhoney General 0 12-06-2007 03:31 PM
Tips: PHP security Village Idiot Tips & Tricks 22 11-23-2007 11:17 PM


All times are GMT. The time now is 10:20 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design