Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Uploading a notecard to a database

Abdullah Lemon
Lemons Estates
Join date: 2 Oct 2008
Posts: 56
01-30-2009 23:32
Good day SLers,
knock, knock..... who's there...... Me again :D..

i have a question.. i want to upload a notecard to MySql database from SL.. with bunch of other things.. like the name of the avatar, key and other data i will type in the main chat.. i'll use the llHttpRequest to get the data in the database

but i wasnt sure if a notecard was huge or something that this wont work...

is there anyway to get this to work?

Thankies
_____________________
© 2009 Lemon's Estates - In Second Life
Laurence Corleone
Registered User
Join date: 12 Oct 2006
Posts: 126
01-31-2009 00:42
Depending on how big the data in the notecard is, yes. You could use one httprequest or many. Without seeing any kind of a scripted attempt at what you want to do it is hard to give a good answer.
_____________________
There are no stupid questions, just stupid people.
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
01-31-2009 01:03
There IS a limit to notecard size. I can't remember what it is. 4k characters? 16k characters? 64k characters? Hmm. Just can't remember.
Abdullah Lemon
Lemons Estates
Join date: 2 Oct 2008
Posts: 56
01-31-2009 02:42
is there anyway to save it as an attachment?
_____________________
© 2009 Lemon's Estates - In Second Life
Laurence Corleone
Registered User
Join date: 12 Oct 2006
Posts: 126
01-31-2009 02:44
Attachment to what?
_____________________
There are no stupid questions, just stupid people.
Abdullah Lemon
Lemons Estates
Join date: 2 Oct 2008
Posts: 56
01-31-2009 03:28
to the database.. or maybe break the notecard into parts of 4k and send them till the whole thing is done.. idk.. lol

i guess a i need a way to save a notecard to my MySql database.. regardless of the size of the Notecard
_____________________
© 2009 Lemon's Estates - In Second Life
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
01-31-2009 03:56
From: Abdullah Lemon
to the database.. or maybe break the notecard into parts of 4k and send them till the whole thing is done.. idk.. lol

i guess a i need a way to save a notecard to my MySql database.. regardless of the size of the Notecard

Certainly. Actually it is not even the size of the HTTP request that is limited, I believe. Only the reply. So as long as you are good on script memory....
Abdullah Lemon
Lemons Estates
Join date: 2 Oct 2008
Posts: 56
02-01-2009 01:26
the thing is.. i dont know how to do so.. i've been searching.. cant find anything >.<

Help please?
_____________________
© 2009 Lemon's Estates - In Second Life
Laurence Corleone
Registered User
Join date: 12 Oct 2006
Posts: 126
02-01-2009 02:27
From: Abdullah Lemon
the thing is.. i dont know how to do so.. i've been searching.. cant find anything >.<

Help please?


There was a time when I didn't know either, but I knew it could be done. I broke it down into parts and researched each part. I can code the same as anybody else can, it just depends on how bad I want to learn to code what I want to do.

At least make an attempt at coding what you want to do. If it doesn't work, post the code here and ask what is wrong with it. Somebody will be more likely to help you finish an attempt than they will write the code for you.

As for searching and not finding out how to do what you want to do.....only thing I can say is you have not looked far enough, or maybe you are just looking for somebody to code it for you and don't really want to learn.
_____________________
There are no stupid questions, just stupid people.
Papalopulus Kobolowski
working mind
Join date: 11 Aug 2006
Posts: 326
02-23-2009 23:20
sending the data from the notecard line by line in a while httprequest loop maybe?
_____________________


RAW terrain files - terraform your SIM!!
http://www.wishland.info/
PD:the wiki its your friend ;)
http://wiki.secondlife.com/wiki/LSL_Portal