Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
誰かがこのコードの何が問題なのか教えてもらえますか?
<?php $user = $fgmembersite->UserFullName(); $handle = opendir('/users/$user/'); ?>
これはエラーメッセージです:
opendir(/app/$user/) [function.opendir]: failed to open dir: No such file or directory in
変数を評価するための二重引用符
$handle = opendir("/users/$user/");
PHPのシングルクォート文字列とダブルクォート文字列の違いは何ですか?
一重引用符では $user は変数として解釈されません。
これを試して: