Example #1
0
<html>
<head>
	<title> Image Upload Result </title>
	<script type="text/javascript" src="js/jquery-1.4.4.js"></script>
</head>
<body>
<?php 
include_once 'resize-class.php';
include_once 'config.php';
include_once 'core.php';
ini_set('memory_limit', '-1');
set_time_limit(0);
$obj = new CORE();
$con = $obj->ConnectionOpen();
if (isset($_POST) && $_POST != '') {
    $table = trim($_POST['segment']);
    $extr_segment = explode('_', $table);
    $segment = $extr_segment[sizeof($extr_segment) - 1];
    $dbcolumn = trim($_POST['dbcolumn']);
    $path = trim($_POST['path']);
    $destination = trim($_POST['desti_path']) . '/';
    $imagesizes = trim($_POST['imagesizes']);
    if ($handle = opendir($path)) {
        echo "<div id='uploadresult'><table cellpadding='5' width='100%'>";
        echo "<tr>";
        echo "<th>Source Image</th>";
        echo "<th>Renmaed As</th>";
        echo "<th>Product ID</th>";
        echo "<th>Product Name</th>";
        echo "<th>Copy Status</th>";
        echo "</tr>";