Tuesday, April 7, 2009

rename() function renames a file or directory

<?php
rename("images","pictures");
?>

Parameter          Description
oldname          Required. Specifies the file or directory to be renamed
newname          Required. Specifies the new name of the file or directory
context          Optional. Specifies the context of the file handle. Context is a set of options that can modify the behavior of a stream

No comments:

security header validate

  HTTP Security Headers Check Tool - Security Headers Response (serpworx.com)