-1
我試圖使用PHP郵件發送電子郵件。我得到以下錯誤:PHP郵件錯誤...未能打開流:權限被拒絕
警告:未知:未能打開流:權限被拒絕未知在線0
致命錯誤:未知:失敗需要開放「/home/webtest/help/ask_us.php」 (include_path中= ':在/ usr /共享/ PHP的:在/ usr /共享/梨')在未知在線0
PHP代碼如下:
<?php
$name = $_REQUEST['name'] ;
$email = $_REQUEST['email'] ;
$subject = $_REQUEST['subject'] ;
$message = $_REQUEST['message'] ;
mail("[email protected]", "Subject header",
$message, "From: $email");
header("Location: http://www.google.com");
?>
可能重複的[無法打開流:沒有這樣的文件或目錄](http://stackoverflow.com/questions/36577020/failed-to-open-stream-no-such-file-or-directory) – 2016-09-10 11:08:05