[advanced search]
Results from the most recent live auction are here.
21 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Domain Name Industry Newsletter
Go Back   NamePros.Com > Design and Development > Programming
User Name
Password

Old 05-30-2006, 08:46 AM   · #1
unknowngiver
Senior Member
 
Name: Zubair
Location: Ontario Canada
Trader Rating: (53)
Join Date: May 2005
Posts: 2,754
NP$: 724.15 (Donate)
unknowngiver is a name known to allunknowngiver is a name known to allunknowngiver is a name known to allunknowngiver is a name known to allunknowngiver is a name known to allunknowngiver is a name known to all
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"


Please register or log-in into NamePros to hide ads
unknowngiver is offline   Reply With Quote
Old 05-30-2006, 08:53 AM   · #2
MrBarby
NamePros Member
 
Trader Rating: (2)
Join Date: May 2006
Posts: 74
NP$: 0.00 (Donate)
MrBarby is on a distinguished road
$username = $_Get['user'];
$pass = $_Get['pass'];
$email = $_Get['email'];

Shouldn't GET be in caps?
MrBarby is offline   Reply With Quote
Old 05-30-2006, 08:56 AM   · #3
unknowngiver
Senior Member
 
Name: Zubair
Location: Ontario Canada
Trader Rating: (53)
Join Date: May 2005
Posts: 2,754
NP$: 724.15 (Donate)
unknowngiver is a name known to allunknowngiver is a name known to allunknowngiver is a name known to allunknowngiver is a name known to allunknowngiver is a name known to allunknowngiver is a name known to all
yai it works

one more question
how do i ENCODE my code....the entire file??
unknowngiver is offline   Reply With Quote
Old 05-30-2006, 10:35 AM   · #4
PoorDoggie
Soon to be RICHdoggie!
 
PoorDoggie's Avatar
 
Name: Tom
Location: UK
Trader Rating: (36)
Join Date: Jan 2005
Posts: 2,390
NP$: 300.50 (Donate)
PoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nice
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
PoorDoggie is offline   Reply With Quote
Old 05-30-2006, 10:45 AM   · #5
MrBarby
NamePros Member
 
Trader Rating: (2)
Join Date: May 2006
Posts: 74
NP$: 0.00 (Donate)
MrBarby is on a distinguished road
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.
MrBarby is offline   Reply With Quote
Old 05-30-2006, 08:50 PM   · #6
unknowngiver
Senior Member
 
Name: Zubair
Location: Ontario Canada
Trader Rating: (53)
Join Date: May 2005
Posts: 2,754
NP$: 724.15 (Donate)
unknowngiver is a name known to allunknowngiver is a name known to allunknowngiver is a name known to allunknowngiver is a name known to allunknowngiver is a name known to allunknowngiver is a name known to all
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]
unknowngiver is offline   Reply With Quote
Old 05-31-2006, 11:37 AM   · #7
PoorDoggie
Soon to be RICHdoggie!
 
PoorDoggie's Avatar
 
Name: Tom
Location: UK
Trader Rating: (36)
Join Date: Jan 2005
Posts: 2,390
NP$: 300.50 (Donate)
PoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nice
look at that ioncube thing. It is very good aparantly.
PoorDoggie is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
Website Header Design Website Header Design Proof is in the Parking
Advertise your business at NamePros
All times are GMT -7. The time now is 10:24 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0