Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged list
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
List only certain files in a folder with PHP
Lists only certain files extensions as links on a page
from a defined folder
0
1282
posted 5 years ago by martinbrait
php list files and directories beginning with ....
1 paramètre d'entrée
0
1297
posted 5 years ago by martinbrait
This is the basic code that you need to know to connect and list data with PDO.
Don't use de old method (mysql_connect and mysqli_connect) to connect and interact with databases.
0
1137
posted 9 years ago by snstro
Here's a country list with continent and country by country code!
0
1401
posted 11 years ago by kilise
Lists only certain files extensions as links on a page from a defined folder
1
1698
posted 11 years ago by kidmizere
The following codes populate the country list into dropdown box based on browser's languages. The country information is getting from geolocation.com
0
990
posted 11 years ago by Hexahow
Enter any suspicious IP address that you wanted to check into the form field and press the "LOOKUP" button
1
2611
posted 12 years ago by DNSBL
his code will show the child pages, and only the child pages, when on a parent or on one of the children.
This code will not work if placed after a widget block in the sidebar.
1
858
posted 13 years ago by raz
Gets the date, pulls a list of upcoming events (posts from cat 6) and sorts by custom field \\\"event_date\\\" . Add to sidebar via [PHP Code Widget](http://wordpress.org/extend/plugins/php-code-widget/).
0
963
posted 14 years ago by hussong
This PHP code snippet checks each integer in an array. If necessary, one or more leading zeros are added to an integer. Note that each integer becomes a string.
2
870
posted 14 years ago by DADU