Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

PHP 

PHP | Webdav | scanner | Coded by me.

(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.
The Alliance
(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.
The Alliance
(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!
The Alliance
(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:02 AM)fobber Wrote:  "if not" is so overrated! haha :D
Lorem ipsum

Yeah that must be it

Spoiler (Click to View)
The Alliance
Fuck you OP. He was just giving you some advice; no need to be just a cunt about it.
--

:)

--

Best form of contact is email: [email protected]


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.
--

:)

--

Best form of contact is email: [email protected]


(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.
The Alliance
Old tools is way better then new tools :)


Updated the code, not using empty statement any more.

Open for more suggestions,

Regards,
Michi


Possibly Related Threads...
Thread / Author Replies Views Last Post
[PHP] by sm0key7Sep 13, 2014 01:12 PM 1 358 Sep 13, 2014 01:12 PM
Last Post: •-C¤Ň†®Â©Ť-K¿ĹĹ®-•
[PHP] by Angel Beats‌‌May 24, 2014 04:50 AM 4 147 May 24, 2014 04:50 AM
Last Post: 24/7
[PHP] by NastyCookieJan 13, 2014 02:00 AM 2 274 Jan 13, 2014 02:00 AM
Last Post: badbrains