|
|
michaell1014
Registerd on: 16/03/2009, 23:55:57
Location::
Posts: 34
|
|
|
|
|
|
|
|
In this mission I try to enter to adress line "admin=1" but it show me message error!why?and what should I do?I don't understand
|
"never don't be fool!only be cool =] " <br />
up71.siz.co.il/up3/ty2oy1wjmrjz.jpg |
|
|
|
|
cp77fk4r
Global Admin
Registerd on: 01/01/1970, 04:00:00
Location::
Posts: 621
|
|
|
|
|
|
|
|
look at the txt file:
you need thak chk:
if ($user == "admin" && $pass == "bla" && $admin == 1)
will returne true!
so..? it's not so hard.
|
|
|
|
|
|
michaell1014
Registerd on: 01/01/1970, 04:00:00
Location::
Posts: 34
|
|
|
|
|
|
|
|
cp77fk4r: | look at the txt file:
you need thak chk:
if ($user == "admin" && $pass == "bla" && $admin == 1)
will returne true!
so..? it's not so hard. |
o.k. user and pass we can enter at the forms
but how I can enter the "$admin==1" in adress line?
|
|
|
|
|
|
zEt0s-
Registerd on: 01/01/1970, 04:00:00
Location::
Posts: 130
|
|
|
|
|
|
|
|
Learn about POST and GET methods and you'll solve it.
|
|
|
|
|
|
michaell1014
Registerd on: 01/01/1970, 04:00:00
Location::
Posts: 34
|
|
|
|
|
|
|
|
zEt0s-: | Learn about POST and GET methods and you'll solve it. |
where can I find an articles about this issue?
write at google "post get+form"?
|
|
|
|
|
|
drweb^
Registerd on: 01/01/1970, 04:00:00
Location::
Posts: 3
|
|
|
|
|
|
|
|
here are two links:
here u can learn about POST :
http://www.w3schools.com/PHP/php_post.asp
here u can learn about GET :
http://www.w3schools.com/PHP/php_get.asp
Hope you'll learn something...gl
|
|
|
|
|
|
michaell1014
Registerd on: 01/01/1970, 04:00:00
Location::
Posts: 34
|
|
|
|
|
|
|
|
drweb^: | here are two links:
here u can learn about POST :
http://www.w3schools.com/PHP/php_post.asp
here u can learn about GET :
http://www.w3schools.com/PHP/php_get.asp
Hope you'll learn something...gl |
I read it and I try to enter the value to admin by function POST & GET but don't succeed.I try to enter <? $_POST(admin)=1;>
but I get error page.why?
|
|
|
|
|
|
drweb^
Registerd on: 01/01/1970, 04:00:00
Location::
Posts: 3
|
|
|
|
|
|
|
|
first lets think witch method we should use in this level ???
you just need to read ALL:
here what i found about POST method:
The $_POST variable is used to collect values from a form with method="post". Information sent from a form with the POST method is invisible to others and has no limits on the amount of information to send.
here what i found about GET method:
The $_GET variable is used to collect values from a form with method="get". Information sent from a form with the GET method is visible to everyone (it will be displayed in the browser's address bar) and it has limits on the amount of information to send (max. 100 characters).
when you found the method that you need... click on the link that i gave you before... and read about how the method work, and how u can use it to enter to the next page.
gl...
|
|
|
|
|
|
zEt0s-
Registerd on: 01/01/1970, 04:00:00
Location::
Posts: 130
|
|
|
|
|
|
|
|
Look the examples there.
We can't give you more hints..
|
|
|
|
|
|
michaell1014
Registerd on: 01/01/1970, 04:00:00
Location::
Posts: 34
|
|
|
|
|
|
|
|
zEt0s-: | Look the examples there.
We can't give you more hints.. |
thank you i succeded !! =]
|
|
|
|
|
|
drweb^
Registerd on: 01/01/1970, 04:00:00
Location::
Posts: 3
|
|
|
|
|
|
|
|
zEt0s-
Registerd on: 01/01/1970, 04:00:00
Location::
Posts: 130
|
|
|
|
|
|
|