Archive for php

Yii drop down menu

by: WanderingTechy September 3, 2011

Drop down menus won’t work as described in the CMenu reference.  After much scratching of the head I found an extension which was extremely simple to install and use. MbMenu

Yii clean URL rewrites for static pages

by: WanderingTechy August 31, 2011

I have just started writing a full site in PHP.  More details on what it is later but for now I will be posting snippets that I find useful as I work with Yii for the first time. To get clean URL’s you need to do the normal stuff as per the Yii tutorials.  Including [...]

Upgrading to php 5.3 in Centos 5.6

by: WanderingTechy July 19, 2011

Very simple to use repository at Atomic Corp. Thanks guys http://www6.atomicorp.com/channels/atomic/

switch off open_basedir across all domains in a plesk server

by: WanderingTechy June 10, 2011

I have a client who wants to turn off open_basedir as he using cross domain includes.  I have recommend against doing this for security reason but he has insisted. I was initially looking at modifying the ./conf/vhost.conf file for each domain and adding the open_basedir config but found a quicker way. add a file called. [...]

php mail command doesn’t work. Plesk 9

by: WanderingTechy March 2, 2011

If you have swapped the MTA from postfix back to qmail then the mail() command in php may not work. This is because the symbolic link to the /usr/sbin/sendmail compatibility program is broken. Execute these commands as root.

Eclipse PDT in Ubuntu.

by: WanderingTechy November 12, 2010

Very Very easy. Full instructions here with explanation I will be installomg php, mysql and apache for use with this.  If everything else works ok I will have a script develop.sh which will start apache, mysql, and eclipse up.  When I quit eclipse it will close down apache and mysql.  I will do this to [...]

Using Zend Components not too complicated after all.

by: WanderingTechy November 3, 2010

I have installed the ZendFramework Library to a central location and added it to the php include path. The code below then worked very quickly and easily so I am now prepared to go further with this experiment.I found the answer here thanks to BrianM By using a centrally loaded library and sharing it rather [...]

Write components from scratch, use Zend FrameWork components or go for the full Zend MVC Framework

by: WanderingTechy November 3, 2010

I have finally cleared the decks of all outstanding work and am ready to get back down to some serious PHP development work.  I have a few projects lined up and each of them have some common requirements. Previously I haven’t used much OOP but want to go down this route purely for the purposes [...]

Lots of examples for styling forms in CSS

by: WanderingTechy June 17, 2010

http://www.smashingmagazine.com/2006/11/11/css-based-forms-modern-solutions/

10 Table Designs

by: WanderingTechy June 16, 2010

Not a bad article over here for CSS table designs.  The article itself could do with a little more detail but if you are familiar with CSS then you can download the source for the article via a link at the end.  Some very nice clean and simple ideas here.