logo
  • Snaps
  • Tools
  • Categories
  • Image Slideshow
  • Pagination Class
  • Clean URL
  • Send Feedback
  • Search
  • Log In
  • Sign Up

Snaps in "File System" category


List Directory Contents in PHP

This code allows to list the contents of any given directory.

By apphp-snippets

PHP Write to File

A simple function that writes whatever you pass to it in a file.

By steve

Recursive Find File

Recursively looks for a file in directories in the current a top-level from the calling script. Will return false if the file c…

By Silvern88

Modify file date on server

Use this snippet to modify the access and modification times of a file on the server

By steve

Non-looping nice file size

No loop, does laundry.

By fireshark

Sum of size of files in directory

see title

By fireshark

File extension

Returns the file extension of a file

By fireshark

CRC32

This functions will return the CRC32 of a file.

By vivei

Force file download

Forces a file download

By scriptworkz

Combined Dirs File Listing

Returns a file list from multiple directories

By scriptworkz

  • 1
  • 2

Contribute

Want to share your source code? Create your account and join our community!

Most viewed source code

  • PHP image slideshow auto
  • PHP pagination class
  • generate a preview image from an FLV file on-the-fly, or to save
  • PHP ffmpeg Upload Script
  • Bootstrap PHP code
  • Clean URL
  • Facebook Connect Script
  • PHP Hit Counter
  • Rijndael 256 bit encryption using mcrypt
  • Simple PHP Pagination Class

Partner sites

  • PHP Site
  • Stack Overflow
  • Home
  • Contact
  • Terms of Service

© 2008 - 2023 PHPSnaps.com