943,910 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 1960
  • PHP RSS
Aug 8th, 2008
0

AJAX - PHP lock feature

Expand Post »
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.
Reputation Points: 10
Solved Threads: 1
Junior Poster in Training
forzadraco is offline Offline
70 posts
since Mar 2008
Aug 9th, 2008
0

Re: AJAX - PHP lock feature

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
Reputation Points: 30
Solved Threads: 36
Posting Whiz
langsor is offline Offline
389 posts
since Aug 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: what do you think?
Next Thread in PHP Forum Timeline: Does Article writting Helpfull?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC