ファイルを構造化されたディレクトリ リストに移動した後、問題が発生しました (すべてのファイルで相対リンクを使用しました)。
簡単な概要:
www
js
functions.js
php
ajax.send.php include ('./functions.php');
ajax.delete.php include ('./functions.php');
functions.php
other dirs that have no influence
index.php include ('./php/functions.php'); and ofc js embedding <script type="text/javascript" src="./js/functions.js"></script>
スタートページの ajax は機能しますが、ajax.send.php と ajax.delete.php 内の php 関数は正しく機能しません (しかし、パスは正しいですか?!) これら 2 つのファイルで考えられるすべてのパスを試しましたが、これを機能させる方法はありません。
私は何かを逃しましたか?私はロープの終わりにいます。
挨拶ファビオ