看板 PHP 關於我們 聯絡資訊
※ 引述《josch ()》之銘言: : $mib_path='C:\\appserv\\www\\ems\\mibs'; : if ($handle = opendir($mib_path)) : { : while (false !== ($file = readdir($handle))) : { : if($file!='.' && $file!='..') : snmp_read_mib($mib_path.'\\'.$file); : } : } : closedir($handle); : 我想要把第一行的絕對路徑改成相對路徑 : 例如改成.\\mibs之後就沒辦法動 : 請問是哪裡出了問題啊? 有任何錯誤訊息嗎? 你的檔案在哪個資料夾下? -- 順風,逆風  迎風而起 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.136.49.82