开发者

will file_exist() php function cause high server load?

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 webs开发者_JAVA技巧ites ?

thanks


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


The exact same question has been asked here before.

The short answer was: no.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜