Php handling simultaneous users.....help please?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nriv08
Forum Newbie
Posts: 3
Joined: Wed Aug 20, 2008 11:33 am

Php handling simultaneous users.....help please?

Post by nriv08 »

i have a web site that calls a php script, of course. This php script calls on a Perl program to manipulate a file and saves it into a tab-delimited file and an Excel file. My question is what if there were many users that are using the web site for their own use? How can i run my php code so that users using it at the same time doesn't get the same information from one input?
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Php handling simultaneous users.....help please?

Post by pickle »

Implement a semaphore.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply