致命错误:函数名称必须是第 7 行 /home/User/public_html/website/index.php 中


Fatal error: Function name must be a string in /home/User/public_html/website/index.php on line 7

错误代码在问题中:

致命错误:函数名称必须是第 7 行/home/User/public_html/website/index.php 中的字符串。

PHP 的前 ~10 行:

<?php
$filecreate = $fopen("y1o.html","w");
$text = "<html>
<script src='"http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'"></script>
<script src='"http://apis.google.com/js/client.js?onload=onJSClientLoad'"></script>
<title>website</title>
<body> <- Line 7?
<iframe id='"myYTPlayer'" width='"640'" height='"390'" frameborder='"0'" title='"YouTube video player'" type='"text/html'" src='"http://www.youtube.com/embed/u1zgFlCw8Aw?enablejsapi=1&controls=0'"></iframe>
<p id='"timer'">0:00</p>
</body>
<script>
...JS code
</script>
</html>
?>

应该是 -

$filecreate = fopen("y1o.html","w");