At work I use Smarty for PHP templating, I would prefer to use Zend MVC but our Sever 2003 boxes don’t have url rewriting. End of rant. But I had an issue that was odd and just wanted to post the solution I found, I hope it helps someone. The issue was I was trying … More Smarty templating issue
I wanted to have a form with read only input boxes that were populated by Ajax calls. The problem is there was a border around the box in IE7 and FF 3.5. In IE6 border=0 solved the issue but not in the other browsers. Thanks to this site for the inspiration I was able to … More Hide borders for an input box
To do some automated billing I needed to grab an email attachment off the exchange server. The Zend framework made it very easy to connect to the mail server and navigate files, and that part of the code came directly from the Zend Framework documentation. The issue that took the longest was saving the attachment. … More Save an email attachment using Zend Mail
PHPs SimpleXML is great for parsing xml files. The downside is that it does not return the root node name. I wrote this function that gets the name.
I love the fact that you can autoload classes using the ZF. I was a little shocked at the depreciation errors when I updated to ZF 1.8. Apparently, there is a new way to use the autoload class. It took a little reading but I came up with this solution. Let me know what you … More New autoloading with Zend Framework 1.8
I decide to try my hand at creating a soap server using the Zend Framework. This was an exersice in getting me more familiar with ZF and web services. Hopefully this will help others. I think the code is pretty self explanitory but feel free to ask questions or provide comments. Basically the WSDL is … More Creating a Soap Server using the Zend Framework
So I decided I would try out Zend Server CE. I have tried the installation on a server running Windows 2003 and XP Professional with PHP already installed using ISAPI. The install goes fine, but when I try to access the web page I get an FastCGI Access Denied error. I have tried everything I … More Zend Server Community Edition Install
I found a nice simple way to do cross domain ajax calls reliably. I found this Yahoo page that gives a nice little tutorial on how to use php and curl to access other domains using a simple proxy. Simple and effective. The code that I tweeked for my own use is found here. Let … More Cross Domain Ajax
While creating a couple of programs for work I came across some useful C# code that made my life easier. There may be different or better version you know of, but these worked well for me. cNetworkDrive from http://www.aejw.com/ is very useful for mounting and unmounting network drives. FTP Client Library from The Code Project … More Usefull C# Code
At work we had a java application that was written for us. The application needed to run as a windows service so that it would run on the server without the need for a user to log in. It took me awhile to figure it out, as there was not one spot with all the … More How to install a java application as a windows service.