Re: how to lock a block of php codes



are you talking about 2 users calling a page at the same time?

kelvin wrote:
Hi,

How to avoid one php page be called by 2 at the same time?
How to lock a block of codes in php?

something like

mutex.Lock
//...............
One service one time
//................
mutex.Unlock

Any way to do this?

Thank you,
Kelvin

.



Relevant Pages

  • Re: [PHP] Page breaks and printing?
    ... There isn't, really, because it up to the local browser and printer ... % Is it possible with just PHP or maybe PHP + CSS? ... I believe that if you make a you can avoid a page break or maybe ... common denominator ...
    (php.general)
  • Re: PHPSESSID , googlebot and robot.txt
    ... Can you avoid that googlebot indexes PHPSESSID pages? ... PHP uses sessions or cookies. ...
    (alt.internet.search-engines)
  • Re: FCk Editor problem
    ... How to avoid this conversion? ... How does this have anything to do with PHP? ... Try asking the people who wrote FCK. ...
    (comp.lang.php)
  • Re: Why no error?
    ... describes a situation which you should avoid. ... Maybe it becomes clearer with a little rearrangement, ...
    (comp.lang.php)
  • Re: Problems with time
    ... echo ' Sono le: ', ... the page isn't processed by PHP or that you are ... Avoid to echo out HTML code inside the PHP code and you may avoid things like ...
    (alt.php)