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
3466
posted 6 years ago by martinbrait
php list files and directories beginning with ....
1 paramètre d'entrée
0
1706
posted 6 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
2302
posted 10 years ago by snstro
Here's a country list with continent and country by country code!
0
2542
posted 12 years ago by kilise
Lists only certain files extensions as links on a page from a defined folder
1
2959
posted 12 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
2068
posted 12 years ago by Hexahow
Enter any suspicious IP address that you wanted to check into the form field and press the "LOOKUP" button
1
3990
posted 13 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
1349
posted 14 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
1338
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
1361
posted 15 years ago by DADU