Register for your free account! | Forgot your password?

You last visited: Today at 23:24

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Useful php code

Discussion on Useful php code within the SRO Private Server forum part of the Silkroad Online category.

Closed Thread
 
Old 12/01/2011, 14:56   #16
Chat Killer In Duty


 
PortalDark's Avatar
 
elite*gold: 5
Join Date: May 2008
Posts: 16,309
Received Thanks: 6,470
Quote:
Originally Posted by LastThief View Post
you don't know **** i'm not using that's just proving you dun know anything wtf is regex and htacess doing with form submission


@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
PortalDark is offline  
Old 12/01/2011, 14:57   #17
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,693
Received Thanks: 3,160
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
LastThief is offline  
Old 12/01/2011, 15:25   #18
Chat Killer In Duty


 
PortalDark's Avatar
 
elite*gold: 5
Join Date: May 2008
Posts: 16,309
Received Thanks: 6,470
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
PortalDark is offline  
Old 12/01/2011, 15:34   #19
 
elite*gold: 0
Join Date: Jul 2008
Posts: 43
Received Thanks: 15
Nice, it's better than $_GET and include
stiifii is offline  
Old 12/01/2011, 15:36   #20
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,693
Received Thanks: 3,160
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
LastThief is offline  
Old 12/01/2011, 15:43   #21
 
ThElitEyeS's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 333
Received Thanks: 186
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

go and read about regex + htaccess

you think that you made smth new ?
you r using POST its will not appear ...
ThElitEyeS is offline  
Old 12/01/2011, 15:58   #22
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,693
Received Thanks: 3,160
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
LastThief is offline  
Thanks
1 User
Old 12/01/2011, 17:26   #23
 
ThElitEyeS's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 333
Received Thanks: 186
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
ThElitEyeS is offline  
Old 12/01/2011, 20:27   #24
 
elite*gold: 0
Join Date: Jul 2008
Posts: 43
Received Thanks: 15
LastThief it's not worth to discuss with him.. I was with him in team..
stiifii is offline  
Old 12/01/2011, 21:24   #25
 
ThElitEyeS's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 333
Received Thanks: 186
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

1- reported
2- the kid is mad cuz i am saying the troth
3- you injected cherno script and its was not safe exactly cherno did it not you
4- Yea i can remember you showed me 5-7 words 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
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] 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
10- you already replied twice
ThElitEyeS is offline  
Old 12/01/2011, 21:27   #26
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,693
Received Thanks: 3,160
Quote:
Originally Posted by ThElitEyeS View Post
1- reported
2- the kid is mad cuz i am saying the troth
3- you injected cherno script and its was not safe exactly cherno did it not you
4- Yea i can remember you showed me 5-7 words you didn't taught my any thing .
5- check both codes and you will who r the best
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] 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
won't answer you again you're just nolifer
LastThief is offline  
Old 12/01/2011, 21:33   #27
 
ThElitEyeS's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 333
Received Thanks: 186
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.
ThElitEyeS is offline  
Old 12/01/2011, 22:13   #28
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,693
Received Thanks: 3,160
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
LastThief is offline  
Thanks
1 User
Old 12/01/2011, 22:33   #29
Chat Killer In Duty


 
PortalDark's Avatar
 
elite*gold: 5
Join Date: May 2008
Posts: 16,309
Received Thanks: 6,470
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"
PortalDark is offline  
Thanks
1 User
Closed Thread


Similar Threads Similar Threads
[Biete]1x Allstar Akali Code 2x Riot Nasus Code 7x PAX JAX Code
09/26/2011 - League of Legends Trading - 7 Replies
Hi, ich habe die Codes gewonnen und möchte sie nun verkaufen da ich kein LoL mehr Spiele. Skype: nashvil. mit dem Punkt! Ich erhalte die Paysafecards zuerst! Egal wieviele TBM ihr habt!
Biete AW50F Code + Javelin Code + Kamazaki Code an
08/18/2011 - WarRock Trading - 6 Replies
Biete AW50F Code + Javelin Code + Kamazaki Code an Was biete Ich _________________________________________________ _ _________________ ----- AW50F CODE ----- Javelin Code
Waffen Code´s - Premium Code´s - Dinar Code´s [VERKAUFBAR] ! ! !
03/10/2011 - WarRock Trading - 3 Replies
Hallo Leute , ich verkaufe Code´s . Die Code´s werde ich jetzt darunter hinschreiben und ihr könnt euch bei mir melden 50 % Günstiger Als WarRock Marketplace . 1.Waffen Code´s >>> G36 Code Xm8 Code Javelin Code Mp7a1 Code Famas Retail Code G36 Retail Code



All times are GMT +2. The time now is 23:24.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.