Results 1 to 9 of 9
Threaded View
-
21st Aug 2011, 04:02 AM #1OPMember
CURL - postfields how to replicate these headers
Code:-----------------------------30870195987994 Content-Disposition: form-data; name="file[]"; filename="" Content-Type: application/octet-stream -----------------------------30870195987994 Content-Disposition: form-data; name="file[]"; filename="K43TA206.zip" Content-Type: application/zip
In the rapidleech plugin, they open a socket and literally just paste that exact section. For curl I pass in an array format usually.
array ( "file[]" => "@$filename");
I've tried
PHP Code:array ( "file[]" => "", "file[]" => "@$filename" )
futureawesome Reviewed by futureawesome on . CURL - postfields how to replicate these headers -----------------------------30870195987994 Content-Disposition: form-data; name="file"; filename="" Content-Type: application/octet-stream -----------------------------30870195987994 Content-Disposition: form-data; name="file"; filename="K43TA206.zip" Content-Type: application/zip So I'm trying to write a basic curl upload script for bitshare. I know there is a rapidleech plugin for it, but I'm just wondering how do I pass the empty file as a post field. Bitshare is weird in that Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
how to add Expires headers - Help !
By prateek in forum Web Development AreaReplies: 7Last Post: 1st Apr 2012, 03:46 PM -
Need Logo and Headers for theBangBros.org [PAID]
By dawinet in forum Graphics AreaReplies: 13Last Post: 13th Mar 2012, 12:18 PM -
Http headers php script!
By inside7 in forum Web Development AreaReplies: 1Last Post: 11th Nov 2011, 12:48 PM -
OVH UK - Kernel Headers
By EvilGenius in forum Technical Help Desk SupportReplies: 0Last Post: 1st May 2011, 02:55 PM -
Adding Expiry Headers
By EnCiPh3r in forum vBulletinReplies: 3Last Post: 20th Jan 2011, 07:41 AM
themaCreator - create posts from...
Version 3.56 released. Open older version (or...