greenMind homepage about / projects / clients / services / contact    
 
 

< greenMind code samples >

<

All scripts are freely available to anyone, and they are under no warranty. They are simple enough that if I screwed up in the typing, you should be able to debug them easily. Send an email if you wish to let me know how they did/did not work.
  1. A SQL stored procedure to sort items in a comma-delimited list within a record. Any table with this design fails the ACID test, but sometimes people design databases this way and you are stuck with their design. This was written due to a poorly-designed drug ingredient table provided by the FDA.
    View function here

  2. A PHP/cURL script to communicate to UPS to get shipping rates from their web service. Domestic shipping only.
    View function here

  3. A JavaScript cookie checking function: This has been tested for compliance with IE 5x, Netscape 4.01, Netscape 4.7, Opera 5, and Netscape 3x.
    View function here

  4. A JavaScript random image function: A random image is written to the page upon loading, allowing different images to load correctly without worrying about dimensions.
    View function here

  5. Useful debugging script for an image being uploaded from the browser, using PhP 4.x.
    View function here


>