SimplePHPMailer – my open source plug-n-play emailing script for PHP newbs – has been updated. It now has required fields – no more blank submissions! Check it out here http://aaronsaray.com/blog/2008/04/24/simplephpmailer/ with the updated download link.
My Blog
contains PHP and other web related content. (Sometimes there are some off topic things - don't freak out!)
Posts Tagged ‘open source’
SimplePHPMailer: now with required fields
Tuesday, August 10th, 2010Elgg Development Tools – Elgg Plugin
Friday, April 24th, 2009After working some with the open source Community building application Elgg, I found some settings to be irritating. I had to keep hacking my plugins to get these settings activated the way I wanted. Also, I really wanted to put useful settings in the same location.
Enter The Elgg Development Tools Plugin
This plugin has the following functionality:
- Integrates FirePHP
- Quick option to turn off view caching
- Changes Error Reporting/Display
- Copies other useful dev settings to one place
More about this after the file download:
Elgg Dev Tools
Integrates FirePHP
The package includes the latest distribution of FirePHP. When you enable FirePHP in the admin control panel under the Dev tools option, you can now use the FirePHP functionality in your plugins. Sometimes coders remember to turn off the functionality later, but forget to remove all of the FirePHP calls. A mock FB class is created to handle this – it basically accepts any method call and logs an error in the error log that you still have that line in there.
Turn off View Caching
Normally, you have to either run the update.php script or enable/disable your plugin. During development, this got super irritating. Instead, enable this option. It will make the site run a bit slower, but you won’t have to keep enabling/disabling the plugin when you add new views.
Display Errors
By default, Elgg hides the errors in the .htaccess file. This will turn them back on without editing the elgg installation.
Other Useful Dev Settings
I always forgot where simple cache options were. I copied the setting to the plugin as well. It basically does the same thing as under site admin. I find it useful to have all of these settings in one place.
Any feedback is greatly appreciated.
PHP.ini creator
Saturday, January 17th, 2009While listening to someone complain through twitter about their MySQL conf file, I came up with a cool idea: what if I created a PHP.ini creator that would suggest changes to your php.ini file as well as generate an updated version?
Enter PHPIniCreator
As with most of my software, this is just a rough version to get the idea down on paper. I plan to update this as well as give a working example sometime in the future.
(more…)
Timetracker Timeclock
Monday, May 12th, 2008
The 102 Degrees Timeclock software package is a very simple interface for keeping track of time. Instead of purchasing a timeclock, you could resurrect an old laptop and run this software on it. With a very simple clean interface, even beginning computer users will feel comfortable. The timeclock has .csv generation for reporting – which can easily be opened in Microsoft Excel. The entire interface is web based.
The software requires PHP5 with MySQL.
You can download it here:
timetracker – timeclock 0.1
Installation Instructions
After you upload the contents of the zip file to the root of your website (in future releases, I’ll make it be available to any folder..), you can visit your website’s domain. This will launch the install script.
The script will ask for MySQL credentials. You need to have a hostname, user and password, and a database for the software to write to.
Finally, after you submit it and receive a successful message, delete the install.php file.
Then, visit your domain again, and you’re good to go – or follow the directions on the screen to set up your users.
SimplePHPMailer
Thursday, April 24th, 2008
There are a very small amount of really easy to implement PHP mailer scripts in the wild. They usually try to pump so many features into them that it becomes difficult to implement or too large of a file. For those looking for just a quick drop-in solution – that you DON’T need to know PHP to use – SimplePHPMailer was developed. All that is needed is to drop the php file into the same area as your form, open it up, and read the instructions. There are some straight forward configuration options with very easy to understand comments. Download it for your next quick project.
JS Tool – Security Auditing in Javascript
Thursday, April 24th, 2008
JSTool was a trial run of combining many different scripts from the open source community into a security and auditing script. Features would include history viewing, website status reporting and port scanning. Very little original code – just combinations of existing code. Check the comments for proper author attribution. This script really isn’t in working condition for production distribution. Download it and learn from it.
Meta Tag Generator
Thursday, April 24th, 2008Meta Tag Generator uses javascript to generate the proper format for some common meta tags. This was originally just a proof of concept script that I decided to release.
PHP Shared Host – Session File Browser Script
Thursday, April 24th, 2008
PHP stores its session information into flat files unencrypted by default. In shared hosting situations, this can be a big security issue. This script allows easy access to the attributes of these files as well as decoding of the values stored in them. This script can also be used to audit the security of your current configuration. If other users’ session information is available, your information is not secure either!


