I have a very long string variable(2000+ characters) in JavaScript and I need to pass it to a Php page so that I can store it in a Database. Which would be The BEST technique to pass this string variable along with some other data from JavaScript to a Php page ?
-
Do you have a guess for what the average and max sizes would be? 4,000 bytes? 4,000,000,000 bytes? Is this a string or binary data?Brad– Brad2012-11-07 05:59:02 +00:00Commented Nov 7, 2012 at 5:59
-
BEST? Dunno, probably JSON + AJAX I'd say...elclanrs– elclanrs2012-11-07 05:59:52 +00:00Commented Nov 7, 2012 at 5:59
-
just Sting but 2000+ characters.Nagri– Nagri2012-11-07 06:00:37 +00:00Commented Nov 7, 2012 at 6:00
Add a comment
|