AJAX - PHP lock feature

Reply

Join Date: Mar 2008
Posts: 70
Reputation: forzadraco is an unknown quantity at this point 
Solved Threads: 1
forzadraco forzadraco is offline Offline
Junior Poster in Training

AJAX - PHP lock feature

 
0
  #1
Aug 8th, 2008
i have a problem how to make a lock feature with ajax-php where a user view some file in the list file, another user will view lock message without refresh it page.
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 381
Reputation: langsor is an unknown quantity at this point 
Solved Threads: 33
langsor langsor is offline Offline
Posting Whiz

Re: AJAX - PHP lock feature

 
0
  #2
Aug 9th, 2008
Your question is not very clear to me, but I'll take a stab at it anyway ... no promises.

It is the PHP end of things that will retrieve and (hopefully) lock the files, so this isn't an AJAX question at all, AJAX is a separate issue here.

From my understanding flock is a platform dependent technology so you would have to be running your PHP server on an OS that supports this (UNIX-like).

From here I refer you to the excellent examples and discussion on the main PHP website ...
http://us2.php.net/manual/en/function.flock.php

Enjoy
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC