Ok I made a content management intereface and I am trying to get it to open
write the contents then close the file, but I keep getting this error:
Warning: Wrong parameter count for fputs() in
/home/sites/site9/web/demo/cms/savenews.php on line 4
here is the code:
<?
$filename = "/home/sites/www.ktjconsulting.com/web/demo/cms/cms.htm";
$fp = @fopen("$filename", "w+") or die ("Could not open File");
fputs ("$EditorValue"); <---- LINE 4
fclose($fp);
?>
$EditorValue is the value of the form for the interface. I did check that
and seems to be ok.
When I change the $filename from absolute path to URL, nothing changes, same
error. I am getting frustrated.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php