Mobile app version of vmapp.org
Login or Join
Barnes591

: How does my old (overwritten) PHP script on the server get executed? There is a PHP script on my domain which is executed every time a new user registers, and it emails admin (me) new registration

@Barnes591

Posted in: #WebHosting

There is a PHP script on my domain which is executed every time a new user registers, and it emails admin (me) new registration info. One week ago, I modified this script to include some more info in these email reports (new user's IP) and tested it by registering as dummy user myself.

BUT, few moments ago, I just received report email message with old contents, composed by old (overwritten) script! How is that possible? Is there a possibility that ISP keeps some old copy of my site online, which is accessible by some other URL?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Barnes591

1 Comments

Sorted by latest first Latest Oldest Best

 

@Lengel546

This might be a hallucination but the very nature of a "web server" allows it to keep serving up pages even while/when you are updating them, changing them, no?

It must be keeping a set of pages in memory or somewhere that are used until the moment occurs to replace the old with the new I'm thinking.

I have seen similar behavior before and I figure that someone is still using the old page and so the server doesn't want to change to the new page. Maybe the old page is still open in someone's browser. It goes away sooner or later.

That is what I'm thinking. This happens with images too. Images just might be cached on clients browser, though. I'm always having to tell a client to "hit F5".

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme