Login   Register  
PHP Classes
elePHPant
Icontem

File: userman.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Abhishek Kumar Srivastava  >  Curl File Uploader  >  userman.php  >  Download  
File: userman.php
Role: Example script
Content type: text/plain
Description: Help file
Class: Curl File Uploader
Upload files via HTTP POST using Curl
Author: By
Last change:
Date: 7 years ago
Size: 484 bytes
 

Contents

Class file image Download
<?php
// upload file
require_once("fileUploader.php");
$objCurlFileUploader = new CurlFileUploader("D:\\Program Files\\Apache\\htdocs\\test.txt""http://localhost/fileUploaderTest.php",'file1');
$objCurlFileUploader->UploadFile();

// upload file with some post params
$objCurlFileUploader = new CurlFileUploader("D:\\Program Files\\Apache\\htdocs\\test.txt""http://localhost/fileUploaderTest.php",'file1', Array('test' => 'test1'));
$objCurlFileUploader->UploadFile();
?>