Skip to content

Counter: Counter Powered by  RedCounter Categories:

Function rename on php

Dibawah ini adalah sampel function rename php.

<?php
$file = ‘example.txt’;
$newfile = ‘example.txt.bak’;

if (!rename($file, $newfile)) {
echo “failed to copy $file…\n”;
}
?>

Posted in PHP.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.