Unstoppable Domains

PHP trouble

Spaceship Spaceship
Watch
Impact
19
Hey
I am having a small PHP trouble

Here is the code
PHP:
<?
$username = $_Get['user'];
$pass = $_Get['pass'];
$email = $_Get['email'];
$registerpass = $_GET['registerpass'];


if (($registerpass == "z3nixrul3s") && ($pass != '') && ($email !='') && ($username!='')) {
echo "hey";
}
?>
and this is what my url looks like
Code:
http://www.mysite.com/register.php?registerpass=z3nixrul3s&user=a&pass=a&email=a

but its still not saying "HEY"
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
$username = $_Get['user'];
$pass = $_Get['pass'];
$email = $_Get['email'];

Shouldn't GET be in caps?
 
0
•••
yai it works

one more question
how do i ENCODE my code....the entire file??
 
0
•••
never had much experience in encoding php files. Only the frustration when I get a php file (from hotscripts or something) and they are encoded.

One particular favorite seems to be ioncube:
http://6yd.net/search.php?q=ioncube&m=web
 
0
•••
Why do you want to encrypt it? Unless you are selling it and you don't want people viewing your code, there is absolutely no need. There are very few times when encrypting scripts is actually a good idea.

If you are worried about the security of the password, try looking into md5.
 
0
•••
well i dont want pplz to get the code...because it will be on a friends server and alot of pplz wil have the acess to those files [since its his person server/computer]
 
0
•••
look at that ioncube thing. It is very good aparantly.
 
0
•••

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back