PHP Classes

File: process_file.php

Recommend this page to a friend!
  Packages of Evert Ulises German Soto   cURL Easy and Fast   process_file.php   Download  
File: process_file.php
Role: Example script
Content type: text/plain
Description: process_file.php
Class: cURL Easy and Fast
Send HTTP request to remote servers using Curl
Author: By
Last change:
Date: 14 years ago
Size: 380 bytes
 

 

Contents

Class file image Download
<?php
$res = "The file " . $_POST["nombre"] ."&nbsp;";

if(is_uploaded_file($_FILES['archivo']['tmp_name'])){
    $fName = $_FILES['archivo']['name'];
    $fTmpName = $_FILES['archivo']['tmp_name'];

    if(move_uploaded_file($_FILES['archivo']['tmp_name'], $_POST["nombre"])){
        $res .= "has been uploaded succesful!";
    }
}else{
    $res .= "has some bugs.";
}
echo $res;
?>