Search Unity

Receive a "WWWForm" from PHP

Discussion in 'Scripting' started by Jokerminator, May 19, 2010.

  1. Jokerminator

    Jokerminator

    Joined:
    Jun 30, 2006
    Posts:
    258
    Hi,

    It seems to be easy to send a WWWForm to a PHP script on a server.. but:
    How can I receive an array of data ? -I don't mean a name or a score.. I am talking about hundrets of very long names and big scores in one variable..

    I guess WWW.data is limited to 65000 characters ?

    Would I have to cut the data in pieces and use different PHP scripts to request the data ?
    Why isn't there a WWW.Form ? :roll:
     
  2. andeeeee

    andeeeee

    Joined:
    Jul 19, 2005
    Posts:
    8,768
    I don't think there is any upper limit on the size of the data downloaded by the WWW class. You mention that your data is a set of long strings and scores. Is it essentially a text file? If so, you could try using the Mono library's StringReader class.
     
unityunity