asked on
ASKER
ASKER
ASKER
<?php
if (!function_exists('file_put_contents'))
{
function file_put_contents($filename, $data)
{
$f = @fopen($filename, 'x+');
if (!$f)
{
return false;
}
else
{
$bytes = fwrite($f, $data);
fclose($f);
return $bytes;
}
}
}
?>
ASKER
ASKER
PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.
TRUSTED BY