rename()
— Renames a file or directory Description bool rename ( string $oldname , string $newname [, resource $context ] ) Attempts to rename oldname to newname .
Study PHP Skills, Share PHP Code
— Renames a file or directory Description bool rename ( string $oldname , string $newname [, resource $context ] ) Attempts to rename oldname to newname .
If we need to rename all .html to .htm, we can use DOS command: ren For example, we need to rename all the .html files under E:\dns\aagg,
Description int fwrite ( resource $handle , string $string [, int $length ] ) fwrite() writes the contents of string to the file stream pointed to by handle .
Description string chr ( int $ascii ) Returns a one-character string containing the character specified by ascii .
Here are 2 kind php code can generat strong passwords: $password_length = 9; function make_seed() { list($usec, $sec) = explode(’ ‘, microtime()); return (float) $sec + ((float) $usec * 100000); } srand(make_seed()); $alfa = “1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNMâ€; $token = “â€; for($i =… Read morehow to use php generate passwords
If you want to make more money and profit from your affiliate links, you need to display them in different way. Don’t use the default link generated by your affiliate program script. Instead, hide it by using PHP file.
Today when I install XAMPP (www.apachefriends.org), an error comes out “The application failed to initialize properly( 0xc0150002).Click on OK to terminate applicationâ€, I search the internet and found the method to resolve the problem, it is very easy, just download… Read moreThe application failed to initialize properly( 0xc0150002).Click on OK to terminate application