DEANO.ME

php

 

I consider myself a seasoned PHP Web Developer, with over 10 years working in the field and with all the care and attention I’ve given Web Development over those 10 years it frustrated me recently to come across a problem that a client was having which baffled me, seriously baffled me! My client has a […]

 

Recently I was trying to fix a website that needed to run PHP script from within HTML files, the site originally used a htaccess rule to set up html files so they were executed just like php files but this had stopped working. The problem is, there are many different methods for defining file extensions […]

 

As a developer you will constantly need to increase the memory that is allowed for PHP, you will usually find that this is essential when reading and/or writing large files or when working with large data sets. Luckily there is a very easy way yo increase the amount of memory allowed to PHP so that […]

 

Sometimes you want to display a page of your site in a convenient popup using AJAX, the problem with this is in the popup your obviously not going to want your website header, footer, menu bar and etc and would need to return just the content for the popup. Well with PHP this is easy, […]

 

PHPList is an amazing piece of software if your looking to send mailshot from your server, what makes it even better is the fact it’s 100% free! One of the biggest annoyances though is when it comes to processing your campaigns, by default this is done after you have created your campaign by clicking “process […]

 

Recently I was working with UPS Dispatch Labels, I built a neat system which would get back the label URL from the API and then pull out the image data from the document (the image being just the label itself). Unfortunately there was some whitespace on the label which was affecting a A4 instruction sheet […]

 

If your generating a CSV with PHP you may have stumbled upon the same problem as me where any special character such as ¬£ becomes ASCII in your CSV, this is because the encoding of your CSV is wrong and you will need to output your CSV in UTF8 to be able to use special […]

 

Being able to parse HTML with PHP is very important if you need to scrape data from a website or add/remove parts of a html document. Fortunately this is extremely easy with Simple HTML DOM, this 46KB include is a miracle script that enables you to read HTML files into an object which you can […]

 

Quite a few years ago I was having difficulty with sending HTML emails, on some clients they worked fine but for others they would come through all garbled. so I decided to research a correct approach, which I implemented into a function. A little while later I wanted to also send file attachments in the […]

 

Something that has been racking my brain this morning‚Ķ I recently moved all the sites I host (including my own) to a new VPS server, everything went far smoother than I could have imagined and I thought I had escaped the pains that you could expect from a server transfer, such as broken scripts due […]

+1
Tweet
Share
Share
Stumble
Pin
Email
Shares 0