LavaLair Reg Prob

Started on the old forum in September 2010 · view the original in the archive · old links redirect here

#regprob

8 replies · 518 views · started 16 years ago · 1 min read

3 participants
grumpyguy Newbie · 7 posts #1

Hey Im just wonderin can anybody help me with a prob im havin, Im tryin to reg on my site but wen i fill in reg form and click Register it just reloads the Reg page

Somethin isn right, Is it the htaccess or can somebody help me fix it 🙂

Thanks for any help u can give to me

Ill help If I Can :)

nclemale36 Lead · 537 posts #2

put this in your htaccess if your server allows it . makes site unsafe but it may help make it work .

php_flag register_globals on

grumpyguy Newbie · 7 posts #3

Tried that mate and it doesnt work for me...

Its the first problem ive had with this script as with my old server company the script worked fine

Ill help If I Can :)

grumpyguy Newbie · 7 posts #5

im usin lavalair.. ermmmm its the dmpsites script that was posted ere named filthyf***kers m8

Ill help If I Can :)

grumpyguy Newbie · 7 posts #7

no i not got a php.ini iv a .htaccess that worked with my last server. ill email the server company about it, maybe ur rite nclemale36 🙂 Thank u for ur help nd btw i love ur top-sites script its kewl 🙂

Ill help If I Can :)

something else Fellow · 2,296 posts #9

Registering Globals On is only a quick fix the better way to do it is to collect your variables in the correct collection method ag:

$uid = mysql_escape_string($_POST["uid"]);
$pwd = mysql_escape_string($_POST["pwd"]);
$cpw = mysql_escape_string($_POST["cpw"]);
$bdy = mysql_escape_string($_POST["bdy"]);
$ulc = mysql_escape_string($_POST["ulc"]);
$email = mysql_escape_string($_POST["email"]);

Change the above variable names to the same as you have in your form inputs. also using mysql_escape_string() will help you from being hacked from sql injection

Added after 5 minutes:

Turning Globals on leaves all your undefined variables at risk and your site at risk from being hacked. eg a user could use something like: http://yoursite.con/web/admincp.php?action=something&uid=1 and might be able to get into your admin control panel by setting there uid to 1

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close