i have no idea why, but this isn't working:
<?php
$sec = rand(100000,999999);
echo $sec;
if ($_POST['check_field'] == $sec) {
yes, do something
} else {
no, throw error
}
For some reason it just keeps returning my error, even though the text in my html fieldbox is the exact value of $sec
Thanks! Yeah i'm beginning to grow out of habbo, actually i already have but i don't mind developing my first and final cms.
Nowhere near a masterpiece but it should be significantly close lel :rasta:
11/13/15
The way i checked logins was really really bad, so i've managed to make it into a...
Cheers man! Original post has been updated :)
11/13/15
Since i'm using cookie sessions to handle my logins i'm now securing the cookie with a token similar to my csrf token. Just to be safe ..
Also, i've reworked the index.
try doing it yourself with that info i gave you above
A wise man once said, if you give a hungry man a fish, he is fed for a day. If you teach a hungry man how to fish, he will feed himself.
cheers
11/11/15
Habbo functionality is beginning to come to the cms. Login, logout, and register have been completed. Now i'm working on the me page.
the css elements for buttons are all fucked up rightnow but i'll eventualy get to it.
Updating main thread
new screenies:
After a user...
thanks man.
11/10/15
So i decided to ditch the old original habbo theme and use this customized one from WabboCMS which you can find here
I plan on heavily customizing this theme to my liking since it's a pretty clean base compared to all of the broken css and js in the old uber habbo theme...