Mark - 2005-06-13 12:25:08 - In reply to message 2 from Er. Rochak Chauhan
Thanks Rochak. That didn't work. I'm wondering where in the script the file list names are created to write in the CSV. Then maybe I could set a $urlPath='http://192.168.0.1/directory/'; and have that substituted for the /apache/htdocs/directory/ in the list (?).
Er. Rochak Chauhan - 2005-06-13 12:39:39 - In reply to message 3 from Mark
This is how class works.... when you call setRootDirectory($dirPath)... what ever you pass in $dirPath get appended in the beginin of the file name. I guess if i am gettin it write all you gotta do is ..
Er. Rochak Chauhan - 2005-06-14 05:13:25 - In reply to message 6 from Mark
Dont worry about the name... Its ok !! and buddy you have inspired me to modify my class... yeah u did... now Download the new version of this class...and the example script... I have added the functionality to specify your own path (inyour case url) to be written in the file !
Er. Rochak Chauhan - 2005-06-14 12:37:18 - In reply to message 8 from Mark
Great, I am glad it works for you ! Buddy i did all that you are suggesting now.... if you call the function like this ==> setRootDirectory($dirPath, $pathToWriteInFile)
now the files will be appended to $pathToWriteInFile string (whether its URL or another dirpath)
is you call it like this ==> setRootDirectory($dirPath)
then all the files will be appended after the original path name !