views:

120

answers:

2

i am trying to check if user uploaded his or her avatar image and i use file_exist() php function to check if the user avatar image exist or not

will this cause any server load problem with massive traffic websites ?

thanks

+5  A: 

No it will not, here is the documentation for file_exists. It also caches the results, so that further improves performance.

Shiv
A: 

The exact same question has been asked here before.

The short answer was: no.

altermativ
you are referring to the same question ! please make sure the next time
NetCaster
Sorry, I probably mixed them in my copy-paste buffer.
altermativ