Login   Register  
PHP Classes

File: display_images.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Anirban Nath  >  Secure Image Uploading and Resizing  >  display_images.php  >  Download  
File: display_images.php
Role: Auxiliary script
Content type: text/plain
Description: file for dispalying the output to the user
Class: Secure Image Uploading and Resizing
Validate and resize uploaded image files
Author: By
Last change:
Date: 3 years ago
Size: 667 bytes


Class file image Download
require('conn.php'); /*important, change in conn.php to your settings*/

$query="select * FROM upload ";

$result=mysql_query($query) or die('Error, query failed'.mysql_error()); 
while (
<div style="border:1px solid; border-color:#00FF66; float:left; padding-left:8px;">
<img src="fetch_image_frm_db.php?pid=<?php echo $row['id'];?>" height="180px" width="150px"/>
  <?php }


<a href="image_upload.php"   style=" padding-left:14PX;">BACK TO UPLOAD PAGE</a>