search

Home  >  Q&A  >  body text

New here, relative path problem, newbie asking for advice

In PHP, you cannot reference upper-level directory files, that is, ../test/test.php or ../test.php and similar paths are No such file or directory

江1399 days ago1144

reply all(4)I'll reply

  • php

    php2021-02-03 11:15:58

    It can be quoted. Your path is wrong. Check it.

    reply
    1
  • 灭绝师太

    灭绝师太2021-02-01 08:51:47

    It can be quoted, your path is wrong, please check it

    reply
    0
  • 江

    2021-01-31 21:53:11

    is an action in html and cannot be quoted

    reply
    0
  • 进击的蜗牛

    ./ uses the current file position as a reference, ../ uses the current file position as a reference, returns to the previous directory

    进击的蜗牛 · 2021-03-02 16:38:41
  • Cancelreply