placing php script outside website root

后端 未结 3 562
说谎
说谎 2021-01-01 04:46

how would i a)include a php script that is outside the web root (would it really be just a simple ../file.php), b)post form data to a php script outside the web root. I\'m l

3条回答
  •  灰色年华
    2021-01-01 05:48

    1. That's it. Relative paths.
    2. If this is related to your previous question (you're including this file in), then superglobals like $_POST are available in included files without any extra effort

提交回复
热议问题