0
を定義私は今が変数含むパス(PHP)
// set the absolute path to the directory containing the images
define ("IMGDIR", "./pathsubdir/$article/");
パスを定義するために抱き合わせ画像スライドショーに
$article = "This is the title of the slide show images";
作業と
define ('IMGDIR', '/articles/" . $article . "/');
を試していません仕事(上の両方)
define ('IMGDIR', '/articles/"This is the title of the slide show images"/');
これは動作します^
しかし、どのように変数を入れて動作させることができますか? $の記事がdynmaic値であるとして予め
ありがとう
を試してみてください............私はそれを試してみましたが、私はそれを試したときに現在のディレクトリの ".."を持っていませんでした。あなたが満足している場合は、回答を受け入れてください: – DOMDocumentVideoSource
ありがとうございました。 – FastTurtle