<?php if (__FILE__ == $_SERVER[‘SCRIPT_FILENAME’]) exit(‘No direct access allowed.’);?> <?php if (__FILE__ == $_SERVER[‘SCRIPT_FILENAME’]) exit(‘No direct access allowed.’); ?>
Category Archives: Programming
emirplicanic.com
PHP/MySQL search engine script Simple PHP/MySQL authentication class
PHP Web Services
OAuth – SCA – SOAP – XML RPC
mysql sum if
In today’s quick tip screencast, we’re going to learn a MySQL query trick. You might be already familiar with the SUM() and IF() functions. We will be combining them to come up with some useful queries. This can reduce the number of queries you need to run for fetching certain types of summary data, and …
Placeholder Services
In the last year, there’s been a wave of helpful placeholder services. What’s a placeholder? Well, when you’re working on a new website, isn’t it a waste of time to use stock images, cropped to the right dimensions? A placeholder service allows you to automatically use a random image at the desired dimensions with minimal …
.htaccess AddCharset
Your feed appears to be encoded as "utf-8", but your server is reporting "US-ASCII"