PDA

View Full Version : *New User* Hack on Non-VB Page >> Help


badmeetsevil-
01 Sep 2001, 16:46
Okay, what I'm trying to do is get the New Username (latest signup) on a non-vb page. Here's the .php file I made:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Instead, I get the

"There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience."

..error. What did I do wrong!?

badmeetsevil-
02 Sep 2001, 19:45
*bump*

Chen
03 Sep 2001, 16:03
I'd just save this file as newest.php or something like that:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



But anyway, your problem is that:
a) you're missing the 's in your query:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


and b) where are you getting $numbersmembers[max] from? You need to use another query to get it:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


So your file should look like this:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

badmeetsevil-
03 Sep 2001, 16:33
Wow dude! It works! Thanks a bunch man.

Chen
03 Sep 2001, 16:52
Hehe, no problem. :)