PDA

View Full Version : Can't get it right


coder4life
10-21-2003, 05:11 PM
I have recently started working with a free web hosting provider and im having a hard time getting somthing to work. I need a script that will pickup a folder name on the server. With that i need it to connect to a MySQL database and look up the username in the database and if the username is not in the database to delete the folder. I've tried and tried again to get it to work but with no avail. It would be greatly appretiated if somone could help me in creating a script that will do that.

backhus
10-31-2003, 01:39 AM
Could yous send the script and the db structure

Dynasty
10-31-2003, 11:12 AM
I'm not sure I totally follow what you want to do...Let's see if I have this right:

You want a script that will find folders on a webserver, then connect to a MySQL database, and look to see if the foldername is actually a username stored in the database, and then if it isn't you want it to delete that folder. Am I right?