Coder, Entrepreneur, Blogger, and Coffee Addict
Recently I was writing a script and ran into a problem. I needed to compare a set of numbers and find the lowest one. Now, at first I thought that I could compare each one with if statements but I … Continue reading
Posted in PHP | Tagged PHP | Comments OffIf you have a custom shopping cart and you want to calculate actual shipping rates from USPS this is the post for you. After giving up searching the internet for PHP scripts or examples of implementing USPS rates I decided … Continue reading
Posted in PHP | Tagged PHP, USPS | 87 CommentsIf you remember back to the post I wrote, Using PHP to Determine Which Adsense Ad Works Best, we explored ways to split test the performance of Adsense with the help of PHP. I had also promised to share the … Continue reading
Posted in Miscellaneous, PHP | Tagged Adsense, Split testing | 7 CommentsI recently read an article that discussed the effectiveness of different adsense ad sizes. The three medium box shaped ads that adsense offers is: 250×250 300×250 336×280 The article mentioned that even though the 336×280 was the largest it wasn’t … Continue reading
Posted in PHP | 5 CommentsIt’s actually very easy to calculate shipping from UPS with PHP once you know how. But at first glance it seems like an impossible task to do.
Posted in PHP | 185 CommentsIn order to send an email notification on your site via php you will probably need some sort of scheduled task program. This will execute the php script routinely. Since I tend to use open source software I used cron. … Continue reading
Posted in PHP | Comments OffI recently needed to implement a way for authenticated users to download files. Normally to host a file for download on a site you would need to provide the url to the download. www.yourdomain.com/restrictedfile.pdf.
Posted in PHP | 3 Comments© 2011 All rights reserved