help cgi & linux (part 2)

new topic     » topic index » view thread      » older message » newer message

Thank you very much for the previous reply, Irv!

Anyway here one more strange thing. Again I am not sure whether my code
is poor or there's some error in Euphoria generally. I would like to ask
some guys having linux experience to test and give me feedback.

I think that if I send the form data by POST method then a 0 (zero)
ASCII code appears instead of one or another character. I suppose that
it happens in case of very long input strings. But I am not sure. I use
something similar to get "POST" form data into my Query variable.
(Object temp is just a temporary variable.)

  while 1 do
    temp=gets(0)
     if atom(temp)=1 and temp=-1 then exit end if
     if temp[length(temp)]='\n' then temp=temp[1..length(temp)-1] end if

    Query&=temp
  end while

Thanks for your help in advance!

Regards,

Salix

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu