Jump to content

PHP File Locking


imperium2335

Recommended Posts

Hi,

 

I am developing a large application where I have PHP files that have a number of 'modes'.

 

A typical AJAX query in my app will look something like this:

$.post('record-control.php', {target:target, mode:'FETCH_PHONE_NUMBERS'}, function(data){

$('#myDiv').html(data)

}) ;

 

I was thinking that if many users are using my app the file record-control.php could have potentially dozens of requests to it per second.

 

Will this be a problem? Could the file become locked when users are using it which would result in other users have data access problems? Generally I don't think so, but I am just wondering.

 

What do you think?

Link to comment
https://forums.phpfreaks.com/topic/252195-php-file-locking/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.