.GetBytes

Phantomco

Member
Licensed User
Longtime User
Hi,

Having a problem with .getbytes where it actually just flat does nothing. For example, using the query.getbytes("UTF8") example for mySql, there is no 'post' data being sent to the server. The URL is being sent correctly and if we script the server for a 'get' - adding a query string to the URL- it works correctly also. So my best explanation is that the .getbytes function isn't working.
I've tried using fixed strings and declared variables with the same result.

I've also tried the example file directly as is with the same problem, the server is not receiving post data.

Any help's appreciated!
Thanks

Mike
 

Phantomco

Member
Licensed User
Longtime User
Works now

Sorry Erel,

Wasn't implying that the function as a whole didn't work, just that it wasn't working
Seems to have been something in the tablet, after a reboot this morning it worked fine. ICS 4.0.3.

Now that it is working, we've adapted the php script to work with postgres DB and it works fine with that as well.

So you can close this one, I'm happy

Thanks
Mike
 
Upvote 0

TomDuncan

Active Member
Licensed User
Longtime User
Hi phantom,
Could you post the modified PHP script to work with postgres, and also how you did it.
I am using postgres in a PC application and the thought of a tablet version appeals to me.
Thanks in advance
Tom
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…