thanks Diego, I will find out tomorrow about the cgi. But I don't quite understand. It is part of a routine. I send the user to a php page, they go to some authorization scheme to database, if they are found, then I check to see if a directory exists, if it does I redirect to a normal page, if it does not, then I want to run that command line parsing in some info from the database like ./admin2.pl usename userid etc...
So I must incorporate that in the routine