RE: Question in posting form-data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you for your reply. I tried the "original" code. It worked well. But the site I am trying to send the data to only takes "form-data". That is why I modified the code. I tried $name= and urlencode. It didn't help.

-Minghua
-----Original Message-----
From: Richard Lynch [mailto:ceo@xxxxxxxxx]
Sent: Fri 12/17/2004 11:27 AM
To: Yao, Minghua
Cc: Erwin Kerk; php-general@xxxxxxxxxxxxx
Subject: RE:  Question in posting form-data
 
Yao, Minghua wrote:
> Yes. I did modify the original since I need to send data to a program
> which takes only form-data.
> "content-disposition: " came from RFC 2388. I don't think the program can
> take application/x-www-form-urlencoded content. Further help needed.

Try it the old way -- I suspect you broke things by changing it around...

You definitely need the $name= and the urlencode of the value, however.

-- 
Like Music?
http://l-i-e.com/artists.htm





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux