RE: [PHP] Question in posting form-data

From: Date: Fri, 17 Dec 2004 20:45:41 +0000
Subject: RE: [PHP] Question in posting form-data
Groups: php.general 
Request: Send a blank email to php-general+get-204627@lists.php.net to get a copy of this message
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@l-i-e.com] Sent: Fri 12/17/2004 11:27 AM To: Yao, Minghua Cc: Erwin Kerk; php-general@lists.php.net Subject: RE: [PHP] 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

« previous php.general (#204627) next »