working on a little project for myself here that had some general questions about since am just getting started on the planning phase. the first function that i'm going to be working on will eventuall take user input in the form of a directory path on the machine. what i need it to do then is recursively scan each directory under the user specified directory and generate an array containing that information (something along the lines <drive>:\\<path_to_files>\<filenames>). the discs the program will be scanning all have the exact same naming structure, so once the array for the disc has been read i wanna scan each line and tell the program something like "scan until you find this particular pattern of characters, then take everything before that and move it into *this* variable. and so on and so forth line by line until the entire array has been parsed. once i get that taken care of i can then start to write the sql update statements to get those variables put into the tables / etc i've made.
what i'm hoping that someone could help me with was a pointer to some documentation that might help me learn what i need to get this done. also, if anyone can think of an easier way to accomplish what i've outlined i'm definitely open to suggestions ... :) -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php