cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Using a multipart/form-post file upload form - from server to web form

From: Todd Dickerson <tiggman_at_gmail.com>
Date: Thu, 30 Aug 2007 09:36:17 -0400

I'm attempting to use cURL to submit a file thats stored on the local server
where curl is being executed and send it to a remote form.

Using this example:
http://curl.haxx.se/libcurl/php/examples/multipartpost.html

I've been essentially setting $sampfile =
'/home/themeguy/public_html/orgwpthemes/2669.zip';
I'm getting: Array ( [file1] =>
@/home/themeguy/public_html/orgwpthemes/2669.zip ) malformed

Should this script work in this situation?

Thanks,
Todd

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2007-08-30