<?php if (__FILE__ == $_SERVER[‘SCRIPT_FILENAME’]) exit(‘No direct access allowed.’);?> <?php if (__FILE__ == $_SERVER[‘SCRIPT_FILENAME’]) exit(‘No direct access allowed.’); ?>
Category Archives: PHP
PHP Web Services
OAuth – SCA – SOAP – XML RPC
PHP’s sprintf() on a MySQL query utilizing DATE_FORMAT()
So what’s the solution? You have to “comment-out” the % that aren’t part of your sprintf() substitution. You can do this by putting another % in front of the ‘%’ symbols in the DATE_FORMAT() function. This deems them as a literal percent-sign instead of the start of another sprintf() “variable”.
PHP Upload progress
install the PECL uploadprogress library(preferred) or to install APC.
PHPanywhere
PHPanywhere is a free web based PHP IDE which enables you to develop and maintain your PHP applications online. It provides you with all the code editing features required to develop PHP applications online. It has a built in real-time syntax code editor with support for all web formats and a powerful FTP explorer.
PHP Spell Checker
The PHP Spell Check component adds fast, reliable spell-checking to web sites and intranets. Installed on either IIS and Apache Servers, PHP Spell Check works on all major browsers since IE5.