Re: Re: Delete Temporary Internet Files

From: Date: Wed, 12 Nov 2003 15:28:37 +0000
Subject: Re: Re: Delete Temporary Internet Files
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-169279@lists.php.net to get a copy of this message
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" <mark_weinstock@yahoo.com> wrote in message news:20031112150950.18342.qmail@web41207.mail.yahoo.com... > > --- Kim Steinhaug <kim@steinhaug.com> 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" <joe.mack@g-k-m.com> wrote in message > > news:20031111144724.59745.qmail@pb1.pair.com... > > > 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 > mark_weinstock@yahoo.com > *************************************** > 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

« previous php.general (#169279) next »