[請益] fopen的問題
一個我繼承下來的公佈欄程式
最近出現了以下的錯誤訊息
Warning: fopen() [function.fopen]: Filename cannot be empty in
/public_html/new_web/bulletin/index.php on line 48
我平常也是簡單的新增公告 就突然跑出這訊息
以下是line 48 開始的php code (需要完整請告知)
if ($fp = fopen($file, "r"))
{
while ($data = fread($fp, 4096))
{
if (!xml_parse($xml_parser, $data, feof($fp)))
{
die(sprintf("XML error: %s at line %d",
xml_error_string(xml_get_error_code($xml_parser)),
xml_get_current_line_number($xml_parser)));
有沒有大大能告訴我該如何著手解決呢
感謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.115.56.240
推
09/04 16:29, , 1F
09/04 16:29, 1F
→
09/04 16:34, , 2F
09/04 16:34, 2F
→
09/04 16:36, , 3F
09/04 16:36, 3F
推
09/04 18:59, , 4F
09/04 18:59, 4F
討論串 (同標題文章)