File: form.html

Recommend this page to a friend!
  Classes of Abdelkader Elkalidi  >  Safely Upload  >  form.html  >  Download  
File: form.html
Role: Example script
Content type: text/plain
Description: From example
Class: Safely Upload
Validate and process uploaded files
Author: By
Last change:
Date: 11 years ago
Size: 1,794 bytes



Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="" dir="ltr" lang="en-US">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>SafelyUpload PHP Class</title>
    <style type="text/css">
            padding:20px;margin:20px auto;width:500px;border:3px solid #CCC;
        #form h1{
            font-size:17px;font-style:italic;font-weight:normal;padding:0;margin:0 0 10px 0;
        #form p{
            margin:0 0 20px 0;color:#555;
        #form div.field{
        #form div.field input.submit{
    <form id="form" action="upload.php" method="post" enctype="multipart/form-data">
        <h1><a href="" title="SafelyUpload PHP Class">SafelyUpload PHP Class</a></h1>
        <p>Upload pictures by recreating them using GD library, this manip is more safer than using <a title="move_uploaded_file" href="" target="_blank">move_uploaded_file</a></p>
        <div class="field">Picture : <br /><input type="file" name="image" /></div>
        <div class="field"><input type="submit" name="submit" value="Upload" class="submit" /></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "' type='text/javascript'%3E%3C/script%3E"));
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-7468172-7");
} catch(err) {}

For more information send a message to info at phpclasses dot org.