ASP, CGI and PHP Scripts and Record-Locking: What Every Webmaster Needs To Know - Top site scripts...
(Page 2 of 7 )
4. Top site scripts usually store a list of the members of the
top site as well as information about the number of "votes" that
each has received. For examples of this type of script, see http://www.scriptcavern.com/scr_topsite.php
So what kind of scripts have problems? And what sort of problems
am I talking about?
Well the principle problems all relate to what happens when bits
of data from multiple users needs to be stored on updated at the
same time. Some scripts handle these situations well, but others
Here's a common data corruption problem that can occur with many
1. When some bit of data needs to be updated, a copy of the
server-side script starts running, and then starts updating it.
2. If another user comes along and does an update before the
first copy of the script has finished, a second copy of the
script starts running at the same time.
More Website Content Articles
More By Jase Dow