Files becoming inaccessible

Hi.

I have a Live version (on the server) and Development version (on my PC) of an Intranet system containing hundreds of automatically generated PHP files containing each employees details, photos, comments, bla bla bla.

This has been running and growing successfully for more than a year now.
One of the operations is to maintain .php files for each employee in order to display the info to others in the company. These files are genarated automatically when a new user is created. That user can modify his/her information as & when, whereby the appropriate .php files are overwritten with new ones.

My problem is that I copied the entire LIVE structure to my PC as I needed real data for testing the changes to some new code. Unfortunately, anytime I attempted to overwrite one of these user-profile php files the operation failed as the existing file could not be removed or modified by my code.

I discovered that if I deleted the user-profile, my code would happily create a new one which it would then also happily maintain.

As far as I can tell, the permissions and settings on my PC are identical to the server. The only difference is that the server is Win 2000 and my PC is XP. Could that be causing the problem ?

Any ideas would be much appreciated.

Thanks,
Tim

I would not think so but check to see if they are read only files ?

No, they’re not read-only :-[

Sponsor our Newsletter | Privacy Policy | Terms of Service