PHP
PHP
•On windows, you can download and install WAMP. With one
installation and you get an Apache webserver, database server
and php.
•http://www.wampserver.com
o/p
Notice how the URL carries the information after the file
name.
• Scripts that use such files lock them before accessing them and
unlock them when the access is completed.
• File locking is done in PHP with the flock function, which should
sound familiar to UNIX programmers.
• The flock function takes two parameters: the file variable of the
file and an integer that specifies the particular operation.