
waynew
Members-
Posts
2,405 -
Joined
-
Last visited
Everything posted by waynew
-
One thing PC users can do that Mac users can't
-
Not sure about the golden guns. But you can upgrade your guns camo. I noticed that I also earned a ghillie for desert sniping and another one for urban sniping.
-
Code injected into website - is there a program to remove it?
waynew replied to tibberous's topic in Miscellaneous
VPS and dedicated servers cost a fuckton that your regular webmaster isn't willing to shell out for. -
I hate Macs. They're overpriced, trendy-looking and designed for people who struggle to turn on a computer. If your friends look over at you in disgust because you're using a Mac, I suggest that you find some non-hipster friends.
-
I think the Overkill perk is now called One Man Army. Steady Aim still exists. Once you kill 80 people using hip fire, the second part of the perk is unlocked (Iron Lungs). UAV Jammer is now called Cold Blooded. Stopping Power still exists. You only get one claymore now, which kind of sucks. Also, the Dragunov is gone. Many new attachments. There's also a new perk called Bling that allows you to use two attachments on your primary weapon. New attachments include heartbeat sensor (great for Hardcore matches), Bullets that give increased damage etc.
-
Riveting tale chap.
-
You'll also be pleased to know that you now have a better choice of secondary weapons. In COD4, if you used a sniper rifle and didn't use the Overkill perk, you had to make do with a crappy handgun as a secondary weapon. In MW2, you can choose from a range of handguns, automatic weapons and shotguns to use as your secondary weapon. You can even get extra attachments for them. I have a machine gun with a red dot sight, which makes it easier if I have to move from spot to spot. Oh and you start off with the .50 cal sniper this time. Still the best rifle in the game.
-
Campaign was a little short; but still worth it. I really only bought the game to play the multiplayer (on PSN). Was a little annoyed to find that the invite system had bugs in it and that the servers went down for a day or two. But since those bugs have been fixed and the server is back up, it's been plain sailing. Got a 23 kill streak today, with help of all those new perks they've put in. The maps take a while to get used to. They've added silencer attachments to the sniper rifles, so if you use the UAV(Radar) jammer and play in Hardcore mode, you can camp the shit out of the maps and pick off all the Rambos running around spraying bullets everywhere.
-
I hate having multiple windows open so it's tabs for me. IT JUST WORKS.
-
I provide relief by starting off-topic threads and engaging in regular bouts of gentlemanly conduct.
-
The one without the index is telling me that it's using filesort, whereas the one with the index is stating that it is using login_index. So I'm guessing that an index would be beneficial.
-
Say for example, I have a user table that is made like so: <?php $user = " CREATE TABLE IF NOT EXISTS user( user_id INT(11) NOT NULL AUTO_INCREMENT, email VARCHAR(60) NOT NULL UNIQUE, password VARCHAR(60) NOT NULL, PRIMARY KEY(user_id))"; ?> Would is be beneficial to add an index on both the email and the password columns (for login purposes) or would the fact that the email column has an unique index on it be enough? <?php $user = " CREATE TABLE IF NOT EXISTS user( user_id INT(11) NOT NULL AUTO_INCREMENT, email VARCHAR(60) NOT NULL UNIQUE, password VARCHAR(60) NOT NULL, INDEX login_index(email,password), PRIMARY KEY(user_id))"; ?>
-
<?php $out_of_order = array("Wayne", "Apples", "Car", "Building", "Zebra"); sort($out_of_order); //will sort the array into alphabetical order $new_var = "Penguin"; array_push($out_of_order,$new_var); //place variable in array sort($out_of_order); //sort array ?>
-
What defines old data? Also, you should be using mysql_real_escape_string() instead of stripslashes().
-
Oh Goddamit. A typo in my hostname was causing it.
-
I have no clue what is wrong?
-
To get data from an array, you can either loop through the entire array and get all the values inside that array by doing something like this: $i = 0; $my_array = array('value','another value','etc'); while($i < (sizeof($my_array) -1)){ echo $my_array[$i]; $i++; } or you can reference a value in an array by its index: echo $my_array[0]; echo $my_array[2]; //etc
-
There's nothing more gratifying than sniping somebody from a far out position. Even better is knowing that they'll get to see how you stalked them with the scope.
-
my login script page is not working on remote computers
waynew replied to silverglade's topic in PHP Coding Help
Also, where is the code that defines $hack? -
The problem is that your local server isn't configured to support the sending of emails. Try your script on a free hosting website such as http://000webhost.com.
-
my login script page is not working on remote computers
waynew replied to silverglade's topic in PHP Coding Help
What do you mean by remote computers? Is this login script on your localhost? How were you trying to access this script from remote computers? -
I made as many changes as I could. I speak English so I obviously had a problem with some parts. There's also some comments that you should read in your last function. <?php function getAllDates(){ $selectAllDates = "SELECT s.datum, s.schicht FROM schichtumsatz s ORDER BY s.datum ASC, schicht DESC"; $dates = mysql_query($selectAllDates) or trigger_error(mysql_error()); $result = array(); while($row = mysql_fetch_assoc($dates)){ $result[] = $row_dates["datum"]; } return $result; } function getChefBar($datum, $schicht){ $chef_data="SELECT s.datum, s.schicht, s.bargeld, s.kassiert, s.belege, s.gutschein, s.rechnung, s.sonstiges, s.umsatz FROM schichtumsatz s WHERE s.datum = '".$datum."' AND s.schicht = '".$schicht."' ORDER BY s.datum ASC "; $chef_query = mysql_query($chef_data) or trigger_error(mysql_error()); $bar = 0; //default while($row_chef = mysql_fetch_array($chef_query) ){ $eingegeben = $row_chef["bargeld"] + $row_chef["belege"] + $row_chef["gutschein"] + $row_chef["rechnung"] + $row_chef["sonstiges"]; $bar = $eingegeben - $row_chef["gutschein"] - $row_chef["rechnung"] - $row_chef["sonstiges"] - $row_chef["belege"]; } return $bar; } function getEarnedMoneyForDay($datum){ $schichtA = 'A'; $schichtV='V'; $dates = getAllDates(); $result = ""; //default //NOTE: where are you getting $count from??? for($i=0;$i<$count;$i++){ echo $count .' '; $partresult = getChefBar($dates[$datum],$schichtA); $result = $result + $partresult; } return $result; } ?>
-
<?php //ok - here, you've made a query. The result of this query is assigned to the variable $result. //This is your result set. i.e. everything that was returned. I noticed that you didn't include the //code where you assigned something to the variable $_user? Why not just call it $user? $user = $_user; //just me assigning whatever was in $_user to $user. $result = mysql_query("SELECT `email` FROM `members` WHERE `name` = '$user'")or die (mysql_error()); //here's your big problem. what you're doing here is trying to query mysql without a query. The //function that you should be using here is mysql_fetch_row() //$info = mysql_query($result); so I commented that part out $info = mysql_fetch_row($result); //fetching your database row from the result that mysql returned //another problem lies here. you have it the wrong way around. you're assigning a blank variable //to $info, meaning you're overwriting everything you've got so far //$info = $to; //so I commented that bit out and put this in $to = $info[0]; $subject="Change password"; $message="You have changed your password to: $_newpass"; $m=mail($to, $subject, $message); //That's about as much as I can help you with ?>
-
Well excuse me for not playing a point and click adventure.