PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Er. Rochak Chauhan   AJAX File Uploader   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example Script
Class: AJAX File Uploader
Browse files uploaded without page reloading
Author: By
Last change: Security Patch Added
Date: 15 years ago
Size: 1,034 bytes


Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
        <title>AJAX File uploader</title>
        <script type="text/javascript" src="uploader.js" ></script>
            <style type="text/css">
            body{ font-family: verdana; font-size: 12px;}
            a{ font-family:verdana; font-size:12px;text-decoration:none; color:#000000;}
            a:hover{font-family:verdana;font-size: 12px;text-decoration:underline; color: #FF0000;}
            .link{ border:0px; padding:0px; margin:0px; text-decoration:none;}
// This is the folder where file are uploaded
    //$uploadDirectory = "testdir"; for security reasons, hardcode the name of the directrory in imageupload.php
$ajaxFileUploader = new AjaxFileuploader($uploadDirectory="");