View Single Post
Old 06-22-2005, 10:07 AM  
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,775
#!/usr/bin/perl
opendir (TN, "gallerydatabase");
rewinddir (TN);
@tnlist = grep(!/^\.\.?$/, readdir (TN));
closedir (TN);
foreach (@tnlist) {
open(DATA, "<gallerydatabase/$_");
@stuff = <DATA>;
close(DATA);
@info = split(/\|/, $stuff[0]);
if ($info[1] =~ /$topbucksaccountnumber/) {
unlink("gallerydatabase/$_");
}
}
print "Content-type: text/html\n\n";
print "Bullshit Ended";
exit;
blackmonsters is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote