Archive for the 'PHP' Category

symlink with FTP

Monday, September 28th, 2009

Apparently you can’t use FTP for symlinks? It’s been so long since I have mucked around with FTP, that I didn’t realize you could not create symlinks. I have an old site I still maintain and had to move it to a new hosting provider and the new provider did not give SSH access (well […]

Zend_Acl with User Specific Permissions

Sunday, August 23rd, 2009

There are many articles around explaining Zend_Acl and how to use it within a CMS like system where generic roles apply - i.e. an admin can do anything, a guest can leave a comment and an author can write articles. But I was having a hard time figuring out how to elegantly enforce user specific […]

Slicehost VPS

Tuesday, July 7th, 2009

I signed up for a VPS on Slicehost today, and am very impressed. The interface is refreshingly basic and I was up and running in no time. Their articles are absolutely amazing, and worth the read even if you don’t use their services. I know Ubuntu somewhat, but am far from an expert. Using […]

Zend_Http_Client and Garbled Response Body

Thursday, May 28th, 2009

Using Zend_Http_Client to make a simple REST GET request to a web service and the body of the response I got back was completely mangled – i.e. the characters were not even remotely readable. That’s strange I thought, and pasted the url in my browser and it came back fine. Looking at the response headers, […]

Zend_Service_Technorati, Exceptions and partialLoop

Friday, May 22nd, 2009

I am utilizing Zend_Service_Technorati to tag search and when I return the results and loop through it via a partialLoop, an exception is thrown occasionally. One of the results does not have a valid uri and Zend_Uri_Http is throwing the exception based on the path (not sure whether Tehnorati is returning a invalid url or […]