Useful php code

12/01/2011 14:56 PortalDark#16
Quote:
Originally Posted by LastThief View Post
you don't know shit i'm not using that's just proving you dun know anything wtf is regex and htacess doing with form submission :facepalm:


@OTHERS STAY ON TOPIC
none got something to do with POST on php
i feel like many server have been hacked because of all this stuff
some got reg by data submision by url (?id=lol)
other got a very weak protection on form and POST methods
in your code, security is not present on this script, i kinda gess some leecher gonna grab idea and implement this script without security
12/01/2011 14:57 LastThief#17
Quote:
Originally Posted by PortalDark View Post
none got something to do with POST on php
i feel like many server have been hacked because of all this stuff
some got reg by data submision by url (?id=lol)
other got a very weak protection on form and POST methods
in your code, security is not present on this script, but is 2-4 line of code to implement little security
yea that's the point the method that i posted won't post any thing in url there won't be any ?id = something

it's just about the action :)

i mean this function is just emulating $_GET function without displaying posted vars in url i hope you got my point
12/01/2011 15:25 PortalDark#18
Quote:
Originally Posted by LastThief View Post
yea that's the point the method that i posted won't post any thing in url there won't be any ?id = something

it's just about the action :)

i mean this function is just emulating $_GET function without displaying posted vars in url i hope you got my point
well, if im not wrong, php is not longer accepting that kind of functions(since are vulnerable to attacks)
still can be used but php coder use POST and forms
12/01/2011 15:34 stiifii#19
Nice, it's better than $_GET and include
12/01/2011 15:36 LastThief#20
get function is still available till php 6 the function i've written can be used as replacement for get and to hide vars from url and since post function was only made to make actions in diff. Pages and get is in same page but displaying vars in url so i made post action to same page without displaying vars in url and vars can be accessed from same page by $_POST and not $_GET and it's what the function doing

try to logout in epvp and login again you will see in the urll login.php?do=login without displaying username and password my function is doing EXACTLY the same action
12/01/2011 15:43 ThElitEyeS#21
Quote:
Originally Posted by LastThief View Post
get function is still available till php 6 the function i've written can be used as replacement for get and to hide vars from url and since post function was only made to make actions in diff. Pages and get is in same page but displaying vars in url so i made post action to same page without displaying vars in url and vars can be accessed from same page by $_POST and not $_GET and it's what the function doing

try to logout in epvp and login again you will see in the urll login.php?do=login without displaying username and password my function is doing EXACTLY the same action
:facepalm:
go and read about regex + htaccess

you think that you made smth new ?
you r using POST its will not appear ...
12/01/2011 15:58 LastThief#22
better stfu if you don't know what you're talking about i'm using post to same page btw even if you answered me i won't quote you again because you're immature
12/01/2011 17:26 ThElitEyeS#23
:awesome: hey kid you are mad.
go lie to people and tell them you taught me php
its more than easy to use post at same page
PHP Code:
<?php
    
switch(isset($_REQUEST["action"])) {
        case(
"c1");
        {
            if(isset(
$_POST)){
                echo 
"works";
            }
        }
        break;
        default:
        {
        echo 
'
            <form action="?action=c1" method="post">
            <input type="submit" />
            </form>
        '
;
        }
        break;
    }
?>
don't think that you are smart
12/01/2011 20:27 stiifii#24
LastThief it's not worth to discuss with him.. I was with him in team..
12/01/2011 21:24 ThElitEyeS#25
Quote:
Originally Posted by LastThief View Post
told you won't answer you again

but i must say it YOU'RE KID

why should i lie ppl motherfucker ? i taught you php and you're now disapproving that ? remember when i injected your website and deleted your db ?

srsly gtfo

my code is much easier than your shit it's not even safe it's not worthy to release anything to this community anymore

edited and deleted and close requested i'll better do my releases in rz atleast they appreciate what ppl are doing not like this stupid community >.>

Edit : Bravo you've learned how to copy paste

[Only registered and activated users can see links. Click Here To Register...]
1- reported
2- :o the kid is mad cuz i am saying the troth
3- you injected cherno script and its was not safe :awesome: exactly cherno did it not you :awesome:
4- Yea i can remember you showed me 5-7 words :awesome: you didn't taught my any thing yea this is the troth 5-7 words not more.
5- check both codes and you will who r the best :awesome:
6- copy past ? o yeah i am using that code before years baby check things iv released also if you cant see the codes not the same and its problem not any thing else ? are you stupid.
7- Please stop crying or my hurt will break.
8- yea stiifii i can remember you. just licking asses for $$$. [EDDY] :awesome: even you was don't know how to select data from sql do you remember the ranking page? and your stolen free css templates. btw this is life. ppl live to learn. at least you was know html , css and i am 0
9- yeah i know my eng is bad :awesome:
10- you already replied twice
12/01/2011 21:27 LastThief#26
Quote:
Originally Posted by ThElitEyeS View Post
1- reported
2- :o the kid is mad cuz i am saying the troth
3- you injected cherno script and its was not safe :awesome: exactly cherno did it not you :awesome:
4- Yea i can remember you showed me 5-7 words :awesome: you didn't taught my any thing .
5- check both codes and you will who r the best :awesome:
6- copy past ? o yeah i am using that code before years baby check things iv released also if you cant see the codes not the same and its problem not any thing else ? are you stupid.
7- Please stop crying or my hurt will break.
8- yea stiifii i can remember you. just licking assess for $$$. [EDDY] :awesome: even you was don't know how to select data from sql do you remember the sql. btw this is life. we life to learn. at least you was know html , css and i am 0
9- yeah i know my eng is bad :awesome:
won't answer you again you're just nolifer
12/01/2011 21:33 ThElitEyeS#27
Quote:
Originally Posted by LastThief View Post
won't answer you again you're just nolifer
exactly this is it. you got no more words to lie.
12/01/2011 22:13 LastThief#28
Quote:
Originally Posted by ThElitEyeS View Post
exactly this is it. you got no more words to lie.
nah but

"Don't argue with idiots. They drag you down to their level and beat you with experience."
"Don't limit a child to your own learning, for he was born in another time."
albert einstein

^

1 guy spoke the truth
12/01/2011 22:33 PortalDark#29
Quote:
Originally Posted by LastThief View Post
nah but

"Don't argue with idiots. They drag you down to their level and beat you with experience."
"Don't limit a child to your own learning, for he was born in another time."
albert einstein

^

1 guy spoke the truth
rule #14 of the Internet Rules
"Do no argue with trolls, that means they win"

it can apply to haters

also rule 26
"any topic can easily be turned into something totally unrelated"