Hi there,

Just found the list today, and I'm hoping someone might be able to lend a
hand here. I'm working on a movie that needs to submit information to a
database via a getNetText() to a php script that does the insert. Here's the
relevant code:

on insertUser (RFIDSN,ScreenName,Language,GroupID,Member)
  global domain

  insertNetID = getNetText(domain&"insert.php?rfidsn="&\
                URLEncode(RFIDSN)&"&screenname="&\
                URLEncode(ScreenName)&"&language="&\
                URLEncode(Language)&"&groupid="&\
                URLEncode(GroupID)&"&member="&\
                URLEncode(Member))

  put insertNetID          -- produces expected result
  put nettextresult()      -- produces ""
  put netmime(insertnetid) -- produces ""
  put netError(insertnetID)-- produces ""
end

Getting the php page produces the expected result, that is a new record in
our database. However, when I do a NetTextResult(), I should be getting back
an "OK" or an error condition. For some reason I can't find, I get nothing
out of it though. I've checked the mime type in my browser, and it's being
served as text/html, if that's any concern as well.

I also tried waiting until I got netDone with:

repeat while not netDone(insertNetID)
  next repeat
end repeat
put NetTextResult()

This results in a seemingly infinite loop. Is it possible that there's a
keep-alive happening somewhere along the lines here?

Thanks very much for any guidance,
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Timothy Lynn          Web Technical Developer
 Talk: 408-795-6354   Write: [EMAIL PROTECTED]
         Read: http://www.thetech.org/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to