file_exist not working WHEN PLACED inside php function

前端 未结 6 1256
广开言路
广开言路 2021-01-27 15:37

I have searched for almost similar questions but none of those gave me the right answer. I have a fully working file_exist code in if else statement he

6条回答
  •  伪装坚强ぢ
    2021-01-27 16:15

    With onclick= you assign a JavaScript event handler, not a PHP function.

    I don't know what your code is supposed to do, but perhaps you can execute the function when something is POSTed to your file.

提交回复
热议问题