puja Posted April 16, 2006 Share Posted April 16, 2006 hiim fairly new to php and i am trying to design a website for holiday accommodation.therefore i need to solve the concurrent user problem to ensure that two users cannot book the same accommodation for the same time.i have been trying to understand how the semaphores work in php so i can use it to solve the problem but it dont actually understand it.can anyone actually explain how i could use them or how they work plz?thanks Quote Link to comment Share on other sites More sharing options...
trq Posted April 17, 2006 Share Posted April 17, 2006 I think your barking up the wrong tree there. Much better to do this at a database level using transactions. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.