Recommend this page to a friend! |
Classes of Richard Carson | PHP MySQL Image Display | readme.txt | Download |
|
DownloadSQLimgFacilitates the storage and delivery of small images via MySQL. This method is far faster than traditional methods, and potentially less error-prone when uploading images often. Method summary:all($con=false) List all images in the database
exists($key, $con=false) Determine weather or not a given image exists
display($key) Display a stored image - CALL BEFORE HEADERS ARE SENT
upload($file, $key=null) Store an image through upload - uses the $_FILES superglobal
remove($key) Remove a stored image
add($data, $type) Store a new image
replace($key, $data, $type) Replace an existing image
|