dr—–r-t privileges – drrty chmod
This took me 15 minutes to work out. So hopefully this little tip will save someone else 15 minutes of their life so they can do something more interesting like watch Jeremy Kyle. In my php script was...
View ArticleEbay Sales Lister Hack
I have decided all the stuff inside my house is distracting me. I would like to get rid of millions of hard drives, excess sofas, my ultra trendy clothes, my wild shoes, and computing books left over...
View ArticlePHP Date Formats
The following characters are recognized in the format parameter string format character Description Example returned values Day — — d Day of the month, 2 digits with leading zeros 01 to 31 D A textual...
View ArticleUse PHP to write to a file
This is how you write to a file in PHP. The first example overwrites any existing data in the file. The second shows you how to append the data to the bottom of the existing file.The post Use PHP to...
View ArticleDetect And Set Include File Paths
If you ever need to set absolute include paths but do not want to hard code the absolute path in to your program, you can put this php code in a file and it will dynamically detect folder the file is...
View Article