KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

passing data in sockets

 
Post new topic   Reply to topic    KiXforms Forum Index -> Advanced Scripting
View previous topic :: View next topic  
Author Message
cbf305
KiXforms Dabbler
KiXforms Dabbler


Joined: 05 May 2004
Posts: 6

PostPosted: Tue May 01, 2007 1:23 pm    Post subject: passing data in sockets Reply with quote

Hi all,

Is it possible to pass an array via the sockets? I have an idea in my head for a client\server script in which the client would pass an SQL query string to the server and the server would return the query results in array form to the client. If it is not possible does anyone have any suggestions for getting the data back to the client? the query results could have more then 100 records.

Thanks
John Smile
Back to top
View user's profile Send private message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Sun May 06, 2007 10:09 am    Post subject: Reply with quote

don't remember can kf.classic handle character 0 in the socket, but you can use similar control character to point array element change.
as example, chr(1)
so, join the array with chr(1), pass it to the socket, and split it on the client.

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Advanced Scripting All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group