Jump to content

ronnie3148

Members
  • Posts

    12
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ronnie3148's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. How do I delimit bye a word in the line? say SuspectsKill I tried $t = explode("SuspectsKill",$line); //assume that a space delimits each piece of data
  2. Well I know all about arrays how to insert into a db... but I just don't get how I can tell php to get only certain areas and skipping some... like skipping the timestamp..
  3. It will be a txt file and I need to parse it and insert it into a mysql, I know there are many parser examples out there, but half I don't understand...... this is how the file is... I'll also attach it... [5/3/2011 12:37:14]: SuspectsKill: TeK_SiC Pwn^Guandi 9mm SMG I need to place the killer and the person who got killed, I don't really need the weapon if there not in the db I need to enter it..... and if they are I need it to add a kill on there name... this is just some of the log.. thanks for the help! [attachment deleted by admin]
  4. He is saying maybe make a hidden field that has the id number in it, because maybe it is not finding $id... and is this session based? did you forget to start your session?
  5. Okay we are using a javascript, but the javascript that the site comes from has bans all irans ips... and it loads slow for those people, how would I place a if statement saying dont load this javascript if in Iran, thanks... I know how to do it, but I can't find a real set number, and I would use just 1 ip but the guy has dynamic... thanks ahead of time
  6. I don't see a problem try adding the code I have below and I hope you didn't forget to add your variables i.e. $new_email= $POST_['email']; ........username='$user'") or die("MySQL ERROR: ".mysql_error()); this should tell you what the deal is...
  7. ban the ip or ip range in your cpanel in the IP deny manager, it should shut them out completely, that is if you have cpanel...
  8. I haven't been in coding for awhile and I am just getting back in it, but try this at edit_data.php <?php include ("db.inc.php"); $product = $_POST["product"]; $price = $_POST["price"]; $order = "UPDATE prices SET product='$product', price='$price' WHERE id_number='$id'"; mysql_query($order); header("location:edit.php"); ?> edited this should work...
×
×
  • 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.