PHP realpath function question

后端 未结 3 594
迷失自我
迷失自我 2021-02-11 09:43

I cant seem to get the realpath function to work with variables is there a way I can fix this? When I use variables in the function it returns nothing I know the pathname works

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-11 10:11

    realpath() returns FALSE on failure, e.g. if the file does not exist.
    http://php.net/realpath

    Check your variables, dude

提交回复
热议问题