The original question didnt consert the OS, or where the user was at. Concerning cleaning the IE directory I would assume that he's installed PHP and IIS / Apache on his local machine.
Using a webpage online on the internet to fix your local machine doesnt sound logical to me, therefore I assume local innstallation on local machine. And when your on your local machine there are no problems accessing your files, even if they belong to the windows environment. Overwriting them can be problematic at times, since processed may use the file. Kim "Mark" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > --- Kim Steinhaug <[EMAIL PROTECTED]> wrote: > > Hmm.. > > > > This shouldnt be a problem from what I know. Though it woldt be a > > perfect > > system, > > > > all you would need to do, is have a script that does : > > > > 1: Read the IE cache directory and puts all the entries into an > > array (all > > the files), > > How do you propose to read the files from the client? You can read > any files you like (and have permission to) on the server, but you > can't read the client files with PHP. > > > 2: unlink all the files in the array. > > > > Just as you can't read files on a client, you can't unlink a file on > a client with PHP either. unlink() works on files on the server, not > a client. > > > This would in my opinion work nice, except that alot of the files > > you cant > > delete > > at a given time, just try doing it manually. But itll clean the > > most. I > > wouldnt recommend > > this way of doing it, but it should work. > > > > As for other files on the windows system, just be sure that hey > > arnt write > > protected, as > > PHP cant unlink / delete them then. > > > > Kim > > > > "Joe Mack" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > I am trying to use PHP to delete temporary internet files in IE6. > > I would > > > also like to access other "Internet Options" functions. Any > > assistance > > > would be appreciated. > > > > > > Thanks. > > > > > > Joe > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > ===== > Mark Weinstock > [EMAIL PROTECTED] > *************************************** > You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. > *************************************** > > __________________________________ > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard > http://antispam.yahoo.com/whatsnewfree -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php