A project I will be starting soon will require me to have a local webserver running. Well I don’t need a local one but it will be A LOT easier with a local webserver. You may have seen my article on how to enable PHP5 in the version of Apache that comes with OSX. This [...]
Tag Archive > php
Blocking Direct Access to a PHP File
I came across this issue while working on my Facebook application. I didn’t want people to be able to view these PHP files locally because they are included in other files. There are a few ways to do this, you can use an htaccess file to block Apache from loading the file when accessed [...]
Easy PHP + Apache 2 on OSX
Apple’s OS X comes with apache2 by default. They have also bundled PHP but it is not turned on by default. The easy way to get it set up is to open up the Terminal and type cd /etc/apache2 then you can type sudo pico httpd.conf enter in the admin password and use the arrow [...]
My processes of making a theme
I started work on the new design for the site tonight. My process might be a little weird though. I started off by creating all of the php files needed. Then I went on to look at how the default theme for WordPress was written. From there I re-wrote some of the code to do [...]
Today
Since most of my tests are finished I continued my journey to learn php. It has been pretty interesting already, I just started learning about arrays, the nice thing is that we just went over them in my java class. I also cleaned up my mac a bit. I used monolingual to strip out all [...]
Something cool about OS X
A few days ago I found out some of the little things osx has to offer. I was thinking about learning Ruby on Rails and found out that 10.5 Leopard already had RoR built in. Wow thats cool, I did not need to go out and figure out how to get that set [...]
Adventures in php
I have started to learn php. So far it is pretty similar to the java that I have done in school. What makes it even easier to learn is that my mac had apache and php5 on it already. This allows me to not have to upload files to see if what i have done [...]
