Posts Tagged ‘PHP’

All posts tagged PHP.

learning php.

Posted by: Jen | No Comments »

Categorized: General, Web Development

A big thanks to Scott for pointing me in the right direction. I just got back from the store with the huge book he recommended – PHP and MySQL Web Development. I plan to start work on my first “from scratch” WordPress plugin in the next few days.
[tags]PHP, MySQL, WordPress[/tags]

apache 2.20, php 5, and mysql 5 on mac os x.

Posted by: Jen | No Comments »

Categorized: Apache, General, Web Development

After finally getting some to to set up my development environment, I began thinking…why am I not using Apache 2.2 and PHP 5.1.2? What made me think about this? “Legacy Release” The phrase “legacy release” is what httpd.apache.org described Apache 1.3.x as in their news section. I have been using Apache 1.x for several years now, only ever really thinking about migrating to 2.0 because of the need to run a subversion server. I have a solid web server solution in place that has made me very happy for the last few years using Apache 1.3.x, but it is finally time to check out something in the 2.x family, and I am going to make that 2.2. I am going to spend some time tomorrow reading about any known issues (especially with PHP, as I remember that being a show stopper for my interest in 2.0 before) and then install/configure it. Stay tuned for some tutorials on what I did to get everything up and running!
[tags]apache, php, mysql, subversion[/tags]

php, jappler style.

Posted by: Jen | No Comments »

Categorized: General

Well, I found a site with humor I appreciate: php stuff that makes you go what the…
Good times!

the art of php include().

Posted by: Jen | No Comments »

Categorized: Web Development

Let’s face it, no one wants to make several changes to the same portion of a web page when you have static information/pages. Enter php include(). If you have a common header, footer, block of information that needs to be on multiple pages and the thought of only editting something once instead of on multiple pages, php include is for you! (assuming you have php installed on your server)

Example:
To include a common header:

(you would place this statement in your code wherver you would like your header to be located)

Once you make a change to header.html, all pages that have the include statement will be updated. One file, one update, several pages updated.

On sites that have several static pages, I try to use as many include statements as possible for common elements so that I can spend more time on development and not having to worry about updating hundreds of pages every time something needs to be changed.