Your backslashes is converted into special chars by PHP. For instance, ...arrays
ews.php
gets turned into
...arrays
ews.php
You should escape them like this:
$path = "C:\NucServ\www\vv\static\arrays\news.php";
Or use singles, like this:
$path = 'C:NucServwwwvvstaticarrays
ews.php';
Also, your if
is messed up. You shouldn't fopen
the file again. Just use your $fp
which you already have.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…