d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > An Indian Dude Coded This...
Prev12
Add Reply New Topic New Poll
Member
Posts: 11,610
Joined: Oct 28 2008
Gold: 1,795.00
Jun 12 2013 05:30pm
Quote (Richter @ Jun 12 2013 06:03pm)
we heard yes. i think he gave his job to a chinese company.

its just because he was a pro in outsourcing...
i think managers can't outsource as well as  technical dudes can, because the technical dude sees the bad stuff and can change the programmer to another one doing less stupid code.

i'm now going to rewrite everything ~~


Too right you are, I'm outsourcing at the moment for art assets for the game I'm leading in development.

Not a single complaint, they aren't from India though, China.
http://i.imgur.com/vvIDzpi.jpg
Member
Posts: 16,144
Joined: Mar 27 2008
Gold: 14,618.00
Jun 12 2013 06:27pm
nice, give link to game-webpage!
Jun 12 2013 08:12pm
Inappropriate Post Content
Member
Posts: 11,610
Joined: Oct 28 2008
Gold: 1,795.00
Jun 13 2013 01:04am
Quote (0n35 @ Jun 12 2013 09:12pm)
Inappropriate Post Content


I have posted these links on other areas of the website as well, all of which contain hazardous materials, the website will capture your email if you willingly type it into the field, USING THE BELOW CODE:

Code

<?php
mysql_connect ('localhost', 'root', '');
mysql_select_db ('admin');

if (isset($_POST['submit'])) {
$email = htmlspecialchars(strip_tags($_POST['email']));
 if(filter_var($email, FILTER_VALIDATE_EMAIL) && preg_match('/@.+\./', $email)) {
  if (!get_magic_quotes_gpc()) {
   $email = addslashes($email);
  }
  $sql = "INSERT IGNORE INTO registrants (email) VALUES ('$email')";
  $result = mysql_query($sql) or print("Can't insert into table.<br />" . $sql . "<br />" . mysql_error());
  mysql_close();
  echo "<p id='feedback'>Address added successfully!</p>";
 }
 else {
 echo "<p id='feedback'>Invalid Email address!</p>";
}
}
?>



Mods, you have 12 hours before the virus spreads, and many willing users have their email added to MY database.
Member
Posts: 23,862
Joined: Aug 16 2006
Gold: 20.00
Jun 13 2013 03:45am
get_magic_quotes
Member
Posts: 11,610
Joined: Oct 28 2008
Gold: 1,795.00
Jun 13 2013 01:25pm
Quote (0n35 @ Jun 13 2013 02:04am)
Mods, you have 12 hours before the virus spreads, and many willing users have their email added to MY database.


Fools, your efforts were meaningless and now hundreds will be spammed with adverts for my game, how could you be so naive!?



Member
Posts: 1,645
Joined: Jan 19 2009
Gold: 5,015.00
Warn: 30%
Jun 23 2013 11:31am
hehe
Member
Posts: 1,158
Joined: Oct 5 2010
Gold: 0.00
Jun 23 2013 02:26pm
This is an "inline if statement"

x?a:b
basically means if x then a, else b.

But yeah, Im guessing he was going for job security by obfuscating his code as much as possible... o_O
Member
Posts: 16,144
Joined: Mar 27 2008
Gold: 14,618.00
Jun 23 2013 02:41pm
Quote (bbrtki @ 23 Jun 2013 21:26)

But yeah, Im guessing he was going for job security by obfuscating his code as much as possible... o_O

i replaced it by:
Code
ass++;
ass %= 4;
Go Back To Programming & Development Topic List
Prev12
Add Reply New Topic New Poll