php forum
php mysql forum
php mysql smarty
 
Topic Options
#101193 - 09/13/00 01:09 AM Help with pulling info from a file into a variable
bigdogg Offline
Junior Member

Registered: 08/28/00
Posts: 6
Hey. I'm using the Memberlist hack, which outputs a list of all the members, in order of the number of posts they've made, from largest to smallest. It stores this in a separate file, with data that looks like so:

Code:
code:


The long number string is, obviously, the member number. What I would like to do is be able to pull the top three off the file, match the member numbers with usernames, and throw the member's username into one variable and and the number of posts into another, for use in Stats2.cgi (the inline stats hack). I could put the code anywhere in Stats2, but it would need to be able to pull from two files, match three lines, and spit out two results.
I am trying to learn this as fast as I can - I got sucked into helping a friend with her UBB and am learning something new everytime i put a hack in .

Thanks for any help.


------------------
Kevin
Owner, Bigdogg's Lair
www.bigdoggslair.com
_________________________
Kevin
Owner, Bigdogg's Lair
www.bigdoggslair.com

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks