• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSURLConnection substitutes characters?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLConnection substitutes characters?


  • Subject: Re: NSURLConnection substitutes characters?
  • From: Jens Alfke <email@hidden>
  • Date: Sat, 12 Jul 2008 22:10:30 -0700


On 12 Jul '08, at 9:25 PM, email@hidden wrote:

Is there some content type I could use other than "application/x-www- form-urlencoded" that would work with PHP scripts?

You can use any content-type you like, but your PHP script will then have to read the data from the input stream itself, because PHP won't parse it into a $POST dictionary for you.


Or you could keep using the urlencoded type, but then you have to encode the body according to that data type, i.e. as name-value pairs with the right delimiters and URL encoding, or it'll get mangled when PHP tries to decode it.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: NSURLConnection substitutes characters? (From: email@hidden)

  • Prev by Date: Re: Re: How to make the FileOwner of a nib file accessible globally in whole project (JArod Wen)
  • Next by Date: Re: importing sqlite data into a core data "database"
  • Previous by thread: Re: NSURLConnection substitutes characters?
  • Next by thread: Click to edit
  • Index(es):
    • Date
    • Thread