Alright, I just had a good bout with the Jangomail API. Seemed easy enough, but I wanted to share my results with everyone. I am going to share a simply command to send a basic transaction email, in HTML, with an
attachment.
First off, create yourself an account at Jangomail. Secondly, make note of your username/password that you use to login to your account. Once you have that all together, open up some FTP program, and
connect to the jangomail servers. The Host is...
If you are a programmer of any kind, you are most likely familiar with the Case/Switch statement. This is simply a way in programming for you to do different things depending on the value of a variable. For example..if your working with a variable named abc. You might want to do different things depending on what the value is. The long way would be to put down a long if/else statement to deal with each potential value type. The easy way is to use a simple switch/case statement. No...
I have become very familiar with Codeignitor, CKFinder, and CKEditor since I have been in business. Recently I have had the challenge of trying to integrate the CKEditor and CKFinder systems into the Codeignitor framework.
CKEditor is pretty easy to setup inside Codeignitor. All you have to do is just load all of the ckeditor files/folders into the root directory and then include the JS file and configure it like you would on any normal website. CKFinder is practically the same. All...
My General Thoughts
So I wanted to share my thoughts pertaining to web hosting. They are kind of biased...but it is what it is. Throughout my entire web/application development career, I cannot describe how many hosts I have researched, intensely studied, or personally tried. I have personally tried a variety of them (tons of free ones, bluehost, 1and1, hostgator, godaddy, and many others). I have researched/reviewed more than i can name. The world of hosting changes every year. Every...
I wanted to express my thoughts here about PDF generation in PHP. Doing this by default is pretty easy. You download FPDF (or the library of your choice), you install it, configure it, and set it up. Then generally you just build your PDF. I recently ran across a few different classes that have claimed to take an xhtml/css page, and convert it to a PDF. I wanted to test it out. So I downloaded a PHP conversion class, tried it out, and it works perfectly. This is a strange euphoria. Not...
Disclaimer: The code within the post is NOT ready for a production environment. I have halfway pulled it out of Codeigniter and half formatted as you would need. So this is not usable in a production environment. It is ONLY meant to serve as examples.
I had to write about this. This was probably one of the most annoying things I have had to work with in a long time. I have found a lot of people online who have had very similar problems with this. I want to try and hopefully...
In my career I have used a lot of productivity tools. I have used time trackers, invoice systems, project management systems, time management systems, calendars, to-do lists, productivity systems, personal management systems, personal databases, personal time management systems, communication systems, and virtually every type of application that is out there. However, in my entire career, one of the most productive tools I have ever used (to help me learn more) was Google Reader.
PHP has powerful Session and Cookie handling features built in. You can have full use of sessions and cookies with built in core PHP functions, without a great deal of work. Sessions are generally used for short term state saving, while cookies are meant to store long term data in a users browser.
PHP Sessions
PHP session handling is very simple. There are 4 primary things you need to know. The first thing is the PHP start() and destroy()
functions. The second thing is...