Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged files
- 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
1266
posted 5 years ago by martinbrait
php list files and directories beginning with ....
1 paramètre d'entrée
0
1269
posted 5 years ago by martinbrait
The following technical tip shows how php developers can protect their word documents in cloud using Aspose for Cloud SDK in php.
0
1286
posted 10 years ago by johansonkatherine
Lists only certain files extensions as links on a page from a defined folder
1
1671
posted 11 years ago by kidmizere
A handy function to get the contents of a file with curl. Accepts $_path as a parameter.
1
1127
posted 12 years ago by o0110o
This function will use curl to see if a file exists at the location it's provided. It accepts $_path as a parameter.
1
1309
posted 12 years ago by o0110o
A function to get a files size via curl. Accepts $_path, $_unit, $_float, $_username & $_password; In the listed order.
1
1293
posted 12 years ago by o0110o
run this from plugins/emotions and copy/paste the output to emotions.htm
0
895
posted 13 years ago by hamsterbacke82
Counts the number of times that a file has been downloaded, using PHP and mySQL
0
660
posted 14 years ago by eme_dlr
Returns an array of files that match a search term in a certain directory.
1
680
posted 14 years ago by mattkenefick
Loops through all files of a certain extension in the specified directory. Can be used to list all images in a given directory.
0
892
posted 14 years ago by sandman7OR
This example shows how to delete specific files after a given time span.
This works good for cleaning cached files.
1
758
posted 14 years ago by fackz
This is another way to get a list of files ordered by upload time.
1
1143
posted 14 years ago by fackz
For a client I needed a bit of code that could split one file (html, editable through wysiwyg editor) to multiple files, since all files would by default become very long. This code splits one file by the <h1> tag. Easy for end-users to set. Use CSS...
0
858
posted 15 years ago by axtg