sending a post from iOS app to php script not working… Simple solution is likey

后端 未结 3 1376
名媛妹妹
名媛妹妹 2021-01-01 01:16

I have done this several times before but for some reason I can\'t get the post to go through... I tried the php script with the variables set to _POST and without... When t

3条回答
  •  耶瑟儿~
    2021-01-01 02:08

    As I am a iPhone developer, I can say that your Objective-C code is correct. Also ensure that the data you are sending is not empty by

    NSLog(@"%d,[postData length]");
    

    it should not print 0

提交回复
热议问题