
July 11th, 2000, 12:41 PM
|
 |
SwollenMember
|
|
Join Date: Jun 2000
Location: the master control
Posts: 264
Time spent in forums: 13 h 14 m 57 sec
Reputation Power: 13
|
|
|
$dirname = (getpwuid($> ))[7];
unless ($placetogo =~ /^$dirname/)
{
print "Access Denied";
other code here.....
}
I was spoofing the regex, which seems impossible to do, but i found a way.
|