Let's say I have a form on my site that a user submits some text into, and then my php script instantly validates and writes that text to a flat file. What would happen if multiple users submitted text into that form at the same time? (which would all need to be written to the same flat file). Would that produce an error message, or slow down the script? Or would all of the user's text get successfully written to the flat file? (assuming that the script writes to the file in 'append' mode, of course).
PHP / flat file question
8
Let's say I have a form on my site that a user submits some text into, and then my php script instantly validates and writes that text to a flat file. What would happen if multiple users submitted text into that form at the same time? (which would all need to be written to the same flat file).
Would that produce an error message, or slow down the script? Or would all of the user's text get successfully written to the flat file? (assuming that the script writes to the file in 'append' mode, of course).
Would that produce an error message, or slow down the script? Or would all of the user's text get successfully written to the flat file? (assuming that the script writes to the file in 'append' mode, of course).
- gerulis
- mikeonrails
- [ 1 ] Thanks
- [1] reply
- Brandon Tanner
- Ken Durham
- [ 1 ] Thanks
- [1] reply
- ntemple
- [ 1 ] Thanks
- [1] reply
Next Topics on Trending Feed
-
8