28
0
{code type=html}
<html>
<head>
<!– rename files to force them to fail
for example rename “min.js” to “m1n.js” –>
<!– grab 1.6.4 from google –>
<script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js”></script>
<!– if its not online grab from jquery –>
<script>!window.jQuery && document.write(unescape(‘%3Cscript type=”text/javascript” src=”http://code.
Read More
19
0
PHP Show Errors
{code type=php}<?php
//show all possible errors
error_reporting(E_ALL);
//overrides php.ini setting
ini_set(‘display_errors’, ’1′);
?>
{/code}
PHP Hide Errors
{code type=php}<?php
//hide all possible errors
error_reporting(0);
//overrides php.ini setting
ini_set(‘display_errors’, ’0′);
?>
{/code}
php.ini Show Errors
{code type=php}
//this should go in the php.ini file
display_errors = On
{/code}
php.ini Hide Errors
{code type=php}
//this should go in
Read More
14
0
Insert this block of code at the very top of your page:
{code type=php} <?php
$time = microtime();
$time = explode(” “, $time);
$time = $time[1] + $time[0];
$start = $time;
?> {/code}
Place this part at the very end of your page
{code type=php} <?php
$time = microtime();
$time = explode(” “, $time);
$time = $time[1] + $time[0];
$finish = $time;
$totaltime = ($finish – $start);
printf (“This page took %f seconds to load.”, $totaltime);
?> {/code}
Read More
5
0
This chart shows you a list of common MIME types and their corresponding file extensions.
Extension
MIME type
.3dm
x-world/x-3dmf
.3dmf
x-world/x-3dmf
.a
application/octet-stream
.aab
application/x-authorware-bin
.aam
application/x-authorware-map
.aas
application/x-authorware-seg
.abc
text/vnd.abc
.acgi
text/html
.afl
video/animaflex
.ai
application/postscript
.aif
audio/aiff
.aif
audio/x-aiff
.aifc
audio/aiff
.aifc
audio/x-aiff
.aiff
audio/aiff
.aiff
audio/x-aiff
.aim
application/x-aim
.aip
text/x-audiosoft-intra
.ani
application/x-navi-animation
.aos
application/
Read More







Twitter
Subscribe
Follow US