This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ownershop | |
-- chmod / chgrp | |
permission | |
-- files & folder | |
-- chmod | |
-- octal | |
-- umask | |
special permissons |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define('FS_METHOD', 'direct'); | |
add this line to stop wordpress asking for ftp while installing on localhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getAge(birth) { | |
ageMS = Date.parse(Date()) - Date.parse(birth); | |
age = new Date(); | |
age.setTime(ageMS); | |
ageYear = age.getFullYear() - 1970; | |
return ageYear; | |
} |
OlderNewer