New topic: 

Secure Socket POST

<http://forums.realsoftware.com/viewtopic.php?t=31383>

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       chetsy007           Post subject: Secure Socket POSTPosted: Wed 
Dec 02, 2009 5:21 pm                        
Joined: Thu Aug 10, 2006 11:22 pm
Posts: 39              I have a secure socket am using the POST method to call 
a php script with two parameters uploadDetailData1 and fName which are Arrays 
of string..

Here is the code:

  Dim form as Dictionary
  form = New Dictionary

  form.Value("file2") = uploadDetailData1
  form.Value("file_name2") = fName
  mySocket.setFormData form
  mySocket.post "https://xyz.com/Test.php";

However, I always get a TypeMismatchException at runtime on line 
mySocket.setFormData form
The file2 and file_name2 are also arrays in the php script.

Does anyone know why? 

Thanks in advance.   
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to