 |
Results from the most recent live auction are here.
21 members in the live chat room. Join Chat!
| |
05-30-2006, 08:46 AM
|
· #1 | | Senior Member Name: Zubair Location: Ontario Canada Join Date: May 2005
Posts: 2,754
NP$: 724.15 ( Donate)
| PHP trouble Hey
I am having a small PHP trouble
Here is the code PHP Code: <?
$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" |
| |
05-30-2006, 08:53 AM
|
· #2 | | NamePros Member | $username = $_Get['user'];
$pass = $_Get['pass'];
$email = $_Get['email'];
Shouldn't GET be in caps? |
| |
05-30-2006, 08:56 AM
|
· #3 | | Senior Member Name: Zubair Location: Ontario Canada Join Date: May 2005
Posts: 2,754
NP$: 724.15 ( Donate)
| yai it works
one more question
how do i ENCODE my code....the entire file?? |
| |
05-30-2006, 10:35 AM
|
· #4 | | Soon to be RICHdoggie! Name: Tom Location: UK Join Date: Jan 2005
Posts: 2,390
NP$: 300.50 ( Donate)
| 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 |
| |
05-30-2006, 10:45 AM
|
· #5 | | NamePros Member | 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. |
| |
05-30-2006, 08:50 PM
|
· #6 | | Senior Member Name: Zubair Location: Ontario Canada Join Date: May 2005
Posts: 2,754
NP$: 724.15 ( Donate)
| 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] |
| |
05-31-2006, 11:37 AM
|
· #7 | | Soon to be RICHdoggie! Name: Tom Location: UK Join Date: Jan 2005
Posts: 2,390
NP$: 300.50 ( Donate)
| look at that ioncube thing. It is very good aparantly. |
| |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |