I can't quite understand the purpose of this script but dude, your shit is WIDE open.
http://www.i2g.net/Secure-IT/example...l/apache/logs/
http://www.i2g.net/Secure-IT/example.php?dir=/
LOL, you need to take security lessons 101 before even thinking of selling a script
