By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,847 Members | 2,392 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,847 IT Pros & Developers. It's quick & easy.

How to exchange > 1024 bytes of data with server?

P: n/a
Greetings,

I'm playing around with a web-based interface to MySQL that would let you
manage, create and use databases. So far I'm using PHP to talk to MySQL and
query strings to exchange the data with JavaScripted HTML pages.

Another posting brought up the fact that a URL can't be more than 1 024
bytes. How, then, could I exchange, say, up to 32 KB of locally edited data
with a PHP script on the server? I need that much, at least, since one of
the uses might be an editorial text-repository.

Input appreciated.

Joakim Braun
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Joakim Braun wrote:
Greetings,

I'm playing around with a web-based interface to MySQL that would let you
manage, create and use databases. So far I'm using PHP to talk to MySQL and
query strings to exchange the data with JavaScripted HTML pages.

Another posting brought up the fact that a URL can't be more than 1 024
bytes. How, then, could I exchange, say, up to 32 KB of locally edited data
with a PHP script on the server? I need that much, at least, since one of
the uses might be an editorial text-repository.

Input appreciated.

Joakim Braun


I might stand corrected here - but I work on a LAMPhp based server and
have also picked up javascript over the past months.

First off - your 'problem' is not javascript related (though you could
use javascript to perform checks on required data fields in your form data).

However... I believe the 1024byte limit relates only to form methods of
GET - I always use <FORM METHOD="POST"> and have submitted data far in
excess of the 1024byte limit...

Use the $_POST array to read your data from your form, in PHP.

Hope that helps,
randelld
Jul 23 '05 #2

P: n/a
"Reply Via Newsgroup" <re****************@please.com> skrev i meddelandet
news:xymbc.14818$oR5.1437@pd7tw3no...
Joakim Braun wrote: <snip>
I might stand corrected here - but I work on a LAMPhp based server and
have also picked up javascript over the past months.

First off - your 'problem' is not javascript related (though you could
use javascript to perform checks on required data fields in your form data).
However... I believe the 1024byte limit relates only to form methods of
GET - I always use <FORM METHOD="POST"> and have submitted data far in
excess of the 1024byte limit...

Use the $_POST array to read your data from your form, in PHP.

Hope that helps,
randelld


OK, thanks - I suspected there was a simple solution...

Joakim Braun
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.