Php Array Functions
PHP Array CountPhp File Functions
PHP File RenameIn the php rename() function is used to rename a files or directory in the server and which is returns two results that are TRUE and FALSE .if TRUE results is a success and FALSE results is a failure.
Just type new file name at New File Name text box field and then click change button and now will be changed in the above old file name.
Following code is use to rename file from old .txt file if you need code to copy and use to your website.
In the above file_exists() function is use to check file available on server and rename () function is used to re name a old file name to new file name but will not change inside content.
If you need rename() function click and download from following link.
|
Tweet |
|
|