PM me your msn

PM me your msn
That is VERY insecure.PHP Code:while($furn = mysql_fetch_array($selectfurni))
{
echo('<a href="furni.php?mode=buy&id='.$furn[id].'"><img src="'.$furn[url].'" alt="Cost: '.$furn[price].' Credits" /></a>');
}
}
}
if($mode==buy)
{
$checkcreds = mysql_query("select * from usr_users where username = '$_SESSION[usr_name]'");
$user = mysql_fetch_array($checkcreds);
$selectfurni = mysql_query("select * from usr_furnidb where id = '$id'");
Infact the whole thing is.
You need to research var cleaning more.
You did no cleaning on selection/drop down menus?
You MUST do satisfactory cleaning on ALL data that can be modified by the user.
I don't suppose you know that you can easily change the values of a dropdown box by typeing javascript (Prefixed by javascriptin the address bar while viewing the site?
There are many flaws of which i can see including the one's simon mentioned.
Also please use Hyphens and quote marks when using databse variables/Database queries and more... much easier to read and also use spaces
I also reccomend you useinstead ofPHP Code:<?php ?>PHP Code:<? ?>
Plus, yes I know its a definition, but why copy my project name (Project: UserSystem, www.usersystem.net)?
Plus, yes I know its a definition, but why copy my project name (Project: UserSystem, www.usersystem.net)?
Exactly for the reason you said, it is a usersystem...
Im not trying to copy your project name
+
Simon, Yh, i will read up on var cleaning, dont know alot about security.
Thanks Anyways![]()
Coming and going...
Highers are getting the better of me
Sorry if im off topic but tomm is ures still avalible to download,
back on topic there are too many security holes for what im wanting for sorry cj555
Also learn about seperating your layers, you should not have your presentation layer mixed up with your application layer & data layer.
Should be, do a quick search. However I can't remember if I hosted it on www.usersystem.net because if I did you'll need to wait for me to complete my server move (Moving to my new shiny server running Plesk)
Last edited by Tomm; 08-09-2007 at 07:46 PM.
Want to hide these adverts? Register an account for free!