a surprising problem. please help me out
Posted: Tue Apr 17, 2007 1:19 am
*** PLEASE USE THE
surprisingly when comparing the value of $string1 and $a,i found that both values are not equal. [s]plz[/s] please help me out.i am really confused. how can we make $a same as $string1.any help will be very much appreciated
Code: Select all
TAG WHEN POSTING CODE ***[/color]
i am using a link http://10.111.11.28/project/practice/test.php?v[0]=table%2B-1&v[1]=1&v[2]=12%0A%0A%0A%0A123456&v[3]=1&v[4]=0
my code isCode: Select all
$b=$_GET['v'][0];
$c=$_GET['v'][2];
$d=$_GET['v'][3];
//$string=$_GET[a];
$a="delete from `$b` where `field1"'''`='".$c."' and `qw`='".$d."'";
$link=@mysql_connect($_SESSION[host],$_SESSION[user],$_SESSION[pass]) or die("");
@mysql_select_db($_SESSION[db],$link);
$string1="delete from `table+-1` where `field1"'''`='123456' and `qw`='1'";[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:2. Use descriptive subjects when you start a new thread. Vague titles such as "Help!", "Why?" are misleading and keep you from receiving an answer to your question.
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.
Some examples of what not to do are ne1, any1 (anyone); u (you); ur (your or you're); 2 (to too); prolly (probably); afaik (as far as I know); etc.