Some Geek Stuff
Stop pissing about with GD library and just use imagemagick. I went from about 30 lines of code to
resize an image to about 2 lines. It does require that ImageMagick is installed on your server.
check out my Thumbnail Generator class Image Magick Script
I've had an opportunity to work with a variety of programming languages through out my career. At work I do more of a .NET thing, but sometimes I prefer to work in PHP because it's easy and light weight.
Recently, there was a need to create some method in which non-technical marketing people could create simple lead generation forms. The requirements were that the form should capture the data via csv file, and it should email the form data. Form fields may or may not be required. I came up with this.
There are some tool tips to help explain what is required when creating a new form. This does not require a database because the small amount of information is stored in the users $_SESSION.
It's a little crude and I'll dress it up some more, but it gets the job done. I wanted to share this with anyone that gives a crap. Sometimes it's nice to find functional scripts like this.
There are still things I need to do like add:
I've had an opportunity to work with a variety of programming languages through out my career. At work I do more of a .NET thing, but sometimes I prefer to work in PHP because it's easy and light weight.
Recently, there was a need to create some method in which non-technical marketing people could create simple lead generation forms. The requirements were that the form should capture the data via csv file, and it should email the form data. Form fields may or may not be required. I came up with this.
There are some tool tips to help explain what is required when creating a new form. This does not require a database because the small amount of information is stored in the users $_SESSION.
It's a little crude and I'll dress it up some more, but it gets the job done. I wanted to share this with anyone that gives a crap. Sometimes it's nice to find functional scripts like this.
There are still things I need to do like add:
- Check Box Controls
- Radio Buttons
- Drop Downs
- Multi Select Box
- Control Logic
- Control Dependencies - IF this is checked, Show this control and validate!
My other sites:
The Buckeye List
The Buckeye List
