Tag Archives: Programming
Fix/Int (Floor) function oddity in ColdFusion 8
I’ve discovered an odd little “bug” in the Fix and Int functions in ColdFusion 8. The Fix/Int functions work similarly to the Floor function in other languages:
According to the ColdFusion 8 LiveDocs
Int - Calculates the closest integer that is smaller than number. For example, it returns 3 for Int(3.3) and for Int(3.7); it returns -4 for [...]
Assigning the return value of new by reference is deprecated
I recently upgraded to PHP 5.3.0 after having some issues with FASTCGI and 5.2.x on Windows but the moment I did this I started getting numerous warnings. The one that appeared the most was:
Assigning the return value of new by reference is deprecated
Apparently in PHP5 all objects are passed as reference and 5.3.0 formally deprecated [...]
Magento: Adventures in creating a custom design
Let me start off by saying, Magento is an EXTREMELY powerful and well built ecommerce platform. It contains all of the features necessary to deliver a stable and scalable solution for ecommerce (and more). That being said, I do have a few issues. So far, I find the system quite slow. Maybe it is just [...]
Posted in Design, E-commerce, PHP, Programming Also tagged Design, E-commerce, Magento, PHP, web store Leave a comment
File upload timeouts on IIS 6
Scenario:
Simple file upload application using ColdFusion 8 on IIS 6 and Windows 2003 server. The application allows for large files to be uploaded to the server for backend processing. File sizes range from 10MB – 300 MB.
Problem:
File upload fails for files greater than 30MB.
Analysis:
Several options were investigated including the following:
Maximum upload file size in ColdFusion [...]





JSON format and serializing ColdFusion query objects