Forums
-
- Forum
- Posts
-
- Installation
- 28,091
- Troubleshooting
- 61,371
- Themes
- 10,273
- Plugins
- 15,121
- Requests & Feedback
- 14,747
- Showcase
- 3,251
-
Your PHP version is rather old, use this:
if (!function_exists('file_put_contents')) {
function file_put_contents($filename, $content) {
if ($fp = fopen($filename, 'w')) {
$result = fwrite($fp, $content);
fclose($fp);
return $result;
}
else {
return false;
}
}
}
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS