PHP create folder if it does not exist

前端 未结 4 746
无人及你
无人及你 2021-01-19 18:31

I am creating a medium size application.

This application consists of a lot of products.

Now these products have many images (one product can have 5 - 6 imag

4条回答
  •  我在风中等你
    2021-01-19 18:40

    1. No, it won't create the folder dynamically.
    2. Use chmod() to change permissions.

    For checking the existence of some folder you can use is_dir() too.

提交回复
热议问题