php server caching a file and does not update it?

Shervin E

New member
I have a php script which is supposed to send me an email everytime an error happens. I have commented out the section where its supposed to send me emails and I still receive emails!

I have no idea how this can happen. Does the server cache a php file and use the saved file on subsequent requests?? How is this possible?

This has also happened to another file which has been completeley deleted but I still get emails from that file!

Any ideas or thoughts would be greatly appreciated. I tried using cache headers to "no-cache" and also to setting it to a date in the past but none of this solved the issue.

Shervin
 
Back
Top