Dec
16
2010

Hi,
In 2007 I became a switcher and life got easier for me… everything got easier, except installing PHP and Apache. So, mainly for myself–I thought to write this small “handy”? tutorial on how to install this quickly. The reason behind is also because I recently re-installed my Mac and am at this point again. This lets me just copy-and-paste for me in the future
no comments | tags: apache, Apple, installation, mysql, OSX, PHP | posted in Apache, Apple, Development, iTunes Connect, Mac, MySQL, Okategoriserade, OSX, PHP
Aug
18
2010

Hi,
I wrote this logging class for PHP which I thought of sharing. I have taken it directly from my project, so its not adapted for overall usage.
The class:
no comments | tags: Development, hobby, PHP | posted in Development
Jun
4
2009

Hi,
When I develop sites, I do this locally and upload the changes I made to my SVN server. Then I deploy the new releases of the sites to the specific server directly from the SVN server by a checkout or an export.
For most of the projects, I work with PHP. Using a good tutorial I found (http://drewish.com/node/110) I re-compiled apache, mysql and Php on my computer… whithout any problems. BUT… some things were missing…
Currently I am working on a site which is using magento commerce. Magento commerce is a very advanced commerce tool and has quite som demands.
Two of the demands I was struggeling with were iconv and mcrypt. Today, I got these working.
no comments | tags: Development, Magento Commerce, PHP, Tutorials | posted in Development, PHP, Stare
Feb
4
2009

I am working on an litle photo album script and while working on it I found that there are a lot of image manipulation script, but non that are very clever or clear.
So I decided to write my own (which I thought was clear enough for me and fitted my purpouses). Here it is, free of use.
The settings in settings.php are the following:
<?php
/**
* Path settings
*/
define("document_root", "/Users/paulp/Sites/Photos/");
define("web_root", document_root . "web/");
/**
* Image and thumb settings
*/
define("thumbWidth", 164);
define("thumbHeight", 122);
define("imageWidth", 1024);
define("imageHeight", 768);
?>
Let me know what you think!
Cheers,
//Paul
no comments | tags: Development, PHP | posted in Cocoa, Development, PHP
Feb
4
2009

Well, the last few days I have had some thought around building an release management tool for PHP.
I have surfed around a bit (a few minutes) but didn’t really find anything.
My toughts are to build a tool that keeps track of the version of the product you are working on.
Together with an local script, such as ant one should be able to release the product and make it availeble to the public… as an tar.gz and/or .zip file.
From the web gui this should be doable as well… login into the admin center, add an project, add an SVN server, set the start version and make an release.
2 comments | tags: Development, PHP, rmt | posted in Development, PHP