Jump to content

airwinx

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

airwinx's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi All developer, I wonder is there any website or software to test how secure your srcipt is?? eg. let said I write a script or a website and I wanna know how secure my script is, where can I do that??? currently my websites i had design are all required user to log in, so i wanna test how secure the script is. pls advise.
  2. thank bro, I will try ur code.  ;D seem this is wat I am looking for
  3. Hi, here it how it look in my php file that store my db infor: <? $db_user="abc"; $db_pass="xyz_sample", $db = mysql_connect("localhost","$db_user","$db_pass") or die("cannot connect to db"); $dbname = mysql_select_db("testing") or die("cannot connect to the db"); ?>
  4. Hi, As we know when you want to connect to ur mysql db, we normally use this $query=mysql_connect(...);, I wonder how should I make this more secure so that someone can't view my dbname, user & password? I have a php file that store all my infor of my mysql information, so when ever someone in my company browse through the file from the server they will see my db information(my password & userid). can someone has better idea of how should I store my db infor more secure........ :o
  5. Hi, is there any example of code of how to make "select all" check box????
  6. [quote] for($i=1; $i<=$max; $i++){ echo $i;?>.&nbsp;&nbsp;<input type="text" name="nominees<? echo $i;?>" width="450"> [/quote] Hi, thnk for your reply, as you can see the above code, these are the text field that will let user to keyin their result and those results will need to be display. The "name="nominees<? echo $i;?>" is to identify each input of the field. Eg: nominee1= "chef1", nominee2="chef2", .....etc. hope this will help!!!!
  7. Hi All, I have a code that bothering me cuople of day already, and I seriously need some one to help: below is the page that ask user to key in their favaroute cook. I use a loop to generate out 9 textfield for each of the "awardname" category. [code] <table width="600" border="0" cellpadding="0" cellspacing="0" bgcolor="#E6FFE6"> <form name="form" action="aoe2007_insertnominee_r2.php" method="post"> <tr> <td> <table width="760" border="0" cellspacing="0" cellpadding="0"> <? $Query="SELECT * FROM awards ORDER BY awardtype"; $Result = mysql_db_query ($DBName, $Query, $Link) or die("select: ".mysql_error()); While ($Row = mysql_fetch_array ($Result)) { $max=9; ?> <input type="hidden" name="awardname<? echo $Row[id];?>" id="awardname" value="<? echo $awardname;?>" > <input type="hidden" name="awardtype<? echo $Row[id];?>" id="awardtype" value="<? echo $awardtype;?>" >   <tr>     <td> <? echo $Row[awardname];?> / <? echo $Row[awardtype];?><br> </td>   </tr>   <tr><td align="left" valign="middle"><? for($i=1; $i<=$max; $i++){ echo $i;?>.&nbsp;&nbsp;<input type="text" name="nominees<? echo $i;?>" width="450">     <br><? }?>  </td></tr> <? } ?> </table> </td>    </tr> <tr><td align="center"><input type="submit" name="submit" value="Add!" class="form"></td></tr>   </form> </table> [/code] The problem is how should I print out the result like the format below: [i]my fav chef(awardname): 1) chef1(textfield1) 2) chef2(textfield2) 3) chef3(textfield3) .... 9) chef9(textfield9) my fav restaurant 1) rest1(textfield1) 2) rest2(textfield2) 3) rest3(textfield3) .... 9) rest9(textfield9)[/i] I have a total of 26 categories of awardname, pls help and advise me of how to print out the result as above. I also need to store those result in mysql.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.