Welcome To Snipplr
Everyone's Recent Snippets Tagged php
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Check and Set Default HTTP GET (Verifica e define padrão para parametro HTTP GET)
0
743
posted 13 years ago by cdohost
Print Debug Information (Exibe as informações de depuração)
0
889
posted 13 years ago by cdohost
Local/Remote Connection Strings (Dados para conexão local e remota)
0
667
posted 13 years ago by cdohost
Prevent direct access to php file (Prevenir acesso direto ao arquivo php)
0
843
posted 13 years ago by cdohost
Only Show Errors in Development Stage (Mostrar erros somente no estágio de desenvolvimento)
0
811
posted 13 years ago by cdohost
Change the small logo at the top of the dashboard: Just add to the bottom of your theme's functions.php file
0
749
posted 13 years ago by RainyDayMedia
A custom class for formatting dates, similar to PHP bult-in function "date". The class also has some other date utils functions, like: dayOfYear, numberOfDaysInMonth, etc..
1
1090
posted 13 years ago by TimoZachi
Removing the generator tag for security purposes... add to the bottom of your theme's functions.php file
0
749
posted 13 years ago by RainyDayMedia
Add to the bottom of the your theme's function.php file. Change to your site's name
0
870
posted 13 years ago by RainyDayMedia
For those of use who use Wordpress as a CMS, this gives you the option of hiding all your dashboard widgets, for all users.
<br>**Open your theme’s functions.php file located in your theme’s folder. Copy this script, paste it at the bottom of y...
0
939
posted 13 years ago by RainyDayMedia
<?php> will random load images named (in this example) image_1.jpg up to image_5.jpg
0
921
posted 13 years ago by DeluxiveState