Tips & Tricks »

A weird problem was put in front of me today. Every symfony site using swift mailer, bar one, on the same server were sending email correctly. Tailing the mail logs the following error was returned:

Server xm-mta[19908]: oAJA1IcU019908: localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-v4

Being that all other sites using swift mailer were sending fine the obvi Read More
Posted by srcnix (#62) 915 days ago (http://www.srcnix.com)
Discuss  | Read MoreBury | Tweet This | Tagged: php symfony mail
Add To 

Database »

This howto details how to setup MySQL master to slave(s) replication on Ubuntu. Even the most novice of Linux administrators will be able to complete this howto with the satisfaction of setting up MySQL replication. Read More
Posted by srcnix (#62) 945 days ago (http://www.srcnix.com)
Discuss  | Read MoreBury | Tweet This | Tagged: mysql linux replication
Add To 

Articles »

With the IE 9 release being just around the corner as well as seeing the article “With less than 50% market share, IE is now losing the browser wars” at Mashable I decided to dig deeper into whether we should care about the release of IE 9. Read More
Posted by srcnix (#62) 958 days ago (http://www.srcnix.com)
Discuss  | Read MoreBury | Tweet This | Tagged: ie9 html5
Add To 

Tips & Tricks »

Recently I came across a character encoding that I didn't recognise, WINDOWS-1252. Being a Windows character encoding it's not at all surprising that I didn't recognise it/do not like it.

The solution to decoding such encoded strings is actually pretty simple, despite it taking me a little while to grasp, hence for sharing the information with you all. Read More
Posted by srcnix (#62) 958 days ago (http://www.srcnix.com)
Discuss  | Read MoreBury | Tweet This | Tagged: php decoding tip
Add To 

Tips & Tricks »

Based on the response I got from JaTaMan I thought it would be a good idea to add an additional post about single and double quote usage in PHP. A more detailed overview of quote usage in PHP. Read More
Posted by srcnix (#62) 1134 days ago (http://www.srcnix.com)
Discuss  | Read MoreBury | Tweet This | Tagged: php tip quotes help
Add To 

Articles »

Here are some interesting facts you may or may not know about the PHP programming language. Be warned, these facts are probably not worth bringing up at your party! Read More
Posted by srcnix (#62) 1135 days ago (http://www.srcnix.com)
Discuss  | Read MoreBury | Tweet This | Tagged: php facts
Add To 

Tips & Tricks »

PHP is a great server side language to get into however more often than not developers are not aware of performance issues in their code. One issue is the use of double quotes when unneeded. Read More
Posted by srcnix (#62) 1137 days ago (http://www.srcnix.com)
Discuss  | Read MoreBury | Tweet This | Tagged: quotes performance standards
Add To 

Tips & Tricks »

Having problems with fgetcsv(), fgets() or file() incorrectly detecting line endings? Not a problem! Find out how to get round this problem within PHP! Read More
Posted by srcnix (#62) 1182 days ago (http://www.srcnix.com)
Discuss  | Read MoreBury | Tweet This | Tagged: fgetcsv() fgets() file() line endings
Add To 

Tips & Tricks »

Is the following error familiar to you? "Fatal error: Allowed memory size of XXX bytes exhausted" If so find here some tips and tricks to help lower memory usage in your PHP scripts. Read More
Posted by srcnix (#62) 1189 days ago (http://www.srcnix.com)
Discuss  | Read MoreBury | Tweet This | Tagged: programming php memory limitations
Add To 

Tips & Tricks »

An article describing some extremely useful debugging techniques in PHP. With techniques ranging from narrowing down bugs to logging the errors. Read More
Posted by srcnix (#62) 1189 days ago (http://www.srcnix.com)
Discuss  | Read MoreBury | Tweet This | Tagged: programming php debugging techniques
Add To