Feb 24, 2013 06:07 AM
(This post was last modified: Feb 24, 2013 06:09 AM by radde94.)
(Feb 24, 2013 03:50 AM)ManDoR Wrote: To be honest, even if you're saying you coded it in like 10min, I hope nobody will learn from it. God, you're still using mysql_* or die(), you're not indenting your code... Please at least put some effort in the releases you make.
So if you are going to bitch about it code it self?
And why should I indent my code when it's for private hosting and not public?
(Feb 24, 2013 06:07 AM)radde94 Wrote: So if you are going to bitch about it code it self?
And why should I indent my code when it's for private hosting and not public?
Can't you take advice instead of acting like a jerk?
What you did is absolutly one of the easiest to do in webdevlopment. I won't make this because it's absolutly not challenging or anything. If you think I can't make it, then you're free to think that.
Indenting your code will make your release better, more readable, and will look more professional. On top on that, you're sharing your code with us, so yes indead, it's public and not private.
Feb 24, 2013 10:15 PM
(This post was last modified: Feb 24, 2013 10:19 PM by radde94.)
(Feb 24, 2013 07:23 AM)ManDoR Wrote: Can't you take advice instead of acting like a jerk?
What you did is absolutly one of the easiest to do in webdevlopment. I won't make this because it's absolutly not challenging or anything. If you think I can't make it, then you're free to think that.
Indenting your code will make your release better, more readable, and will look more professional. On top on that, you're sharing your code with us, so yes indead, it's public and not private.
Well as allways,
Haters gonna hate 👍
Haters make you famous 🤗
The version 2 was way faster then the first one,
So recommending using version 2 for faster scans, also do not forget to add delay if your internet connection is bad.
Otherwise it's self DDoS :)
Regards,
Michi
PHP Code
<?php if($random == $row['ip']) { } // Do nothing. else {
Woot.
Feb 25, 2013 12:37 AM
(This post was last modified: Feb 25, 2013 12:44 AM by radde94.)
(Feb 25, 2013 12:10 AM)ManDoR Wrote: PHP Code
<?php if($random == $row['ip']) { } // Do nothing. else {
Woot.
If random(rand) ip numbers is equal to ip in mysql database
// Do nothing,
Else run the code.
This is to skip pinging same ip twice.
Funny do, calling yourself a PHP developer and that my code is to simple, gosh you don't even now if or else statements funny, you made my day sir.
Regards,
Michi 🤝
(Feb 25, 2013 12:37 AM)radde94 Wrote: If random(rand) ip numbers is equal to ip in mysql database
// Do nothing,
Else run the code.
This is to skip pinging same ip twice.
Funny do, calling yourself a PHP developer and that my code is to simple, gosh you don't even now if or else statements funny, you made my day sir.
Regards,
Michi 🤝
Using an empty if statement to make an else? Ah!
(Feb 25, 2013 08:27 AM)ManDoR Wrote: Using an empty if statement to make an else? Ah!
"if not" is so overrated! haha :D
Lorem ipsum
Feb 25, 2013 09:08 AM
(This post was last modified: Feb 25, 2013 09:09 AM by ManDoR.)
(Feb 25, 2013 09:02 AM)fobber Wrote: "if not" is so overrated! haha :D
Lorem ipsum
Yeah that must be it
PHP Code
<?php if("Michi" == "Know what he's doing") { // Do nothing } else { die("swaggy = shitty"); // No other possible way, you must die. }
Fuck you OP. He was just giving you some advice; no need to be just a cunt about it.
Thanks for keeping my thread alive,
As always, Haters make you famous <3
Regards,
Michi.
(Feb 25, 2013 10:51 AM)radde94 Wrote: Thanks for keeping my thread alive,
As always, Haters make you famous <3
Regards,
Michi.
Yes, they make ME famous. They make YOU look like a tool.
(Feb 25, 2013 11:23 AM)CarrotMilk Wrote: Yes, they make ME famous. They make YOU look like a tool.
Then it's a pretty bad tool. Like one from the stone age.
Feb 26, 2013 11:53 PM
(This post was last modified: Feb 26, 2013 11:57 PM by radde94.)
Old tools is way better then new tools :)
Updated the code, not using empty statement any more.
Open for more suggestions,
Regards,
Michi
|