• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[PHP] Get name of every RaGEZONE user

Joined
Oct 24, 2009
Messages
536
Reaction score
217
Obviously this will only work with users that haven't been deleted, but here's the code:

PHP:
<?php
set_time_limit(0);
$ragezone = file_get_contents('http://www.forum.ragezone.com/index.php');
$members = explode('				Members: ', $ragezone);
$members = explode('			</div', $members[1]);
$members = str_replace(',', '', trim($members[0]));


for($i=1;$i<=$members;$i++){
	$user = file_get_contents('http://forum.ragezone.com/members/'.$i.'.html');
	$name = explode('View Profile: ', $user);
	$name = explode('</title>', $name[1]);
	$name = trim($name[0]);
	echo $i.' » '.$name.'<br/>';
}
?>

Demo:
 
Infraction Baɴɴed
Loyal Member
Joined
Apr 9, 2008
Messages
1,416
Reaction score
169
EDIT:
whats the purpose of this script. i mean what advantage will we get?

EDIT2:
holy, 5 min later only 58 shows.
 
Last edited:
Mother effin' clouds
Loyal Member
Joined
Apr 13, 2008
Messages
1,534
Reaction score
448
Yea I have to agree but what is the point of this...
 
Joined
Oct 24, 2009
Messages
536
Reaction score
217
The point of this was I wanted to find 'exclamatio's user id and I couldn't find him in the search thing on here so I made this and waited. Did ctrl+f and searched his name.

So I thought I'd share it...............................
 
Joined
Sep 10, 2006
Messages
2,817
Reaction score
1,417
now what if you wanted to find my user id, would you wait few years? :p

Markshall - [PHP] Get name of every RaGEZONE user - RaGEZONE Forums
 
Custom Title Activated
Loyal Member
Joined
Sep 10, 2006
Messages
5,265
Reaction score
47
PHP:
{
    $user = file_get_contents('http://forum.ragezone.com/members/'.$i.'.html');
    $name = explode('View Profile: ', $user);
    $name = explode('</title>', $name[1]);
    $name = trim($name[0]);
    echo $i.' » '.$name.'<br/>';
    flush();
}

using flush, you can see it working in real time in ur browser :)

also u can add this
error_reporting(0);
to the beginning to disable the warnings..
 
Last edited:
Mother effin' clouds
Loyal Member
Joined
Apr 13, 2008
Messages
1,534
Reaction score
448
Should setup a page with a few 20 iframes linking to your site ... then share it with the world ;) Let us see the damage.
 
Custom Title Activated
Loyal Member
Joined
Sep 10, 2006
Messages
5,265
Reaction score
47
i wish no damage to RZ :)
 
Infraction Baɴɴed
Loyal Member
Joined
Apr 9, 2008
Messages
1,416
Reaction score
169
now what if you wanted to find my user id, would you wait few years? :p

Markshall - [PHP] Get name of every RaGEZONE user - RaGEZONE Forums

HOLY CRAP, howd you find that to help our other friend. i rather show him how to do that then kill ragezones bandwidth.
 
ex visor
Loyal Member
Joined
May 17, 2007
Messages
2,741
Reaction score
937
He can explode and parse a website. Kewl.
 
Back
Top