You are here: fopen question « PHP SQL « IT news, forums, messages
fopen question

Posted by paul on 09/05/05 08:55

Hi,

I'm attemptimg to add data to a text file but am worried what happens if
two (or more) click the 'submit' button at the same time. Does fopen()
return a NULL if the file is busy? What would be the best way to do this -
should I put a in sleep(1) and try again in a loop?

Any help appreciated, thanks.

Paul

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация