If you want to check your headers, you can use web based tools like: web-sniffer.net, web-browser extensions (e.g. LiveHTTPHeaders, ieHTTPHeaders) or another third-party software tool.
Tag Archives: PHP
PHP No direct access allowed
<?php if (__FILE__ == $_SERVER[‘SCRIPT_FILENAME’]) exit(‘No direct access allowed.’);?> <?php if (__FILE__ == $_SERVER[‘SCRIPT_FILENAME’]) exit(‘No direct access allowed.’); ?>
emirplicanic.com
PHP/MySQL search engine script Simple PHP/MySQL authentication class
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.