php forum
php mysql forum
php mysql smarty
 
Topic Options
#102650 - 04/23/01 06:25 PM Perl script for restoring memberlist...??? :(
hbworkman Offline
Junior Member

Registered: 11/17/00
Posts: 5
Loc: houston, tx
Recently our servers hard drive filled up and caused some issues with our member list. After taking the steps to fix the problem through the tutorial, our memberlist was corrupted, however member files are left intact. We now need our memberlist to be rebuilt with a script as in this post: http://ubbforums.infopop.com/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=33&t=000005

However, when we try to execute this script,
>
>print "tError - Unable to open ".$memDir.$file." ($!)n";
>next;
>}
>
># Grab the user name
>$name = <USER>;
>
># Did we get any data
>unless ( $name ) {
>print "tFound empty record in file ".$memDir.$file."n";
>next;
>}
>
># Close the file
>close(USER);
>
># Rip off those nast DOS CRLF's if present
>$name =~ s/$CRLF//;
>
># Build user id from filename
>my $id = $file;
>$id =~ s/.cgi//;
>
># Print info in new memberslist.cgi file
>print MEMLIST $name."|!!|".$id."n";
>
>$count++;
>}
>
># Close memberslist.cgi file
>close(MEMLIST);
>
># Yeah, we're done...
>print "tProcessed $count record(s) successfully...n";
>print "Done...n";
>
>
>I ran into an "Internal server error" Premature end of script headers:
>/home/usr162/cgi-bin/darwin.cgi
>
>A) Does this script have to be placed somewhere OTHER then the main cgi-bin ?
>*members folder?*
>B) Does it have to be run from a telnet prompt?
>if so (we have no acess to this fuction) is there another way around it?

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