I just spent a good hour trying to work out why virtual hosts wasn’t working for me on my local machine. Turns out I needed to:
1) Enable virtual hosts by uncommenting the line
2) Add the line
to httpd.conf. I put it under the line
Continue reading “Virtual Hosts for PHP5 on OS X 10.5 Leopard”
Sending (or piping) emails to a php script would allows a whole world of fun. I had a spare 30 minutes the other night so I sat down, read a few blog posts and forums and set up emails to pipe to a php script.
Continue reading “Pipe / Send Email to a PHP Script”
I was pulling my hair out this morning because although a css file I was loading was offering it’s contents immediately, the file didn’t complete loading to the browser for another 10+ seconds on each refresh.
Continue reading “Delay Before Completion of File Load Solved”
I have seen loads of ways of looping though GET, POST and COOKIE and stripping slashes, but I finally think I found one I am happy with.
The benefits it offers include…
Continue reading “Magic Quotes – Quickly and Safely Removing Slashes”
I’m sick of forgetting where to find my local development files so here is a quick breakdown. It includes hosts file, httpd.conf and php.ini
Continue reading “Location of hosts httpd.conf php.ini on Mac OSX”