473,385 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to exchange > 1024 bytes of data with server?

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
2 1662
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
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jim Hubbard | last post by:
I have some C# code that is supposed to wrap the defrag APIs and I am trying to convert it to VB.Net (2003). But, I keep having problems. The C# code is relatively short, so I'll post it...
0
by: RC | last post by:
What would limit the amount of data that can be written to disk in an ASP.NET Web application? I've looked in the application's Web.config and don't see anything that would explain it. Here's...
3
by: Krach | last post by:
Hi everybody! I'm decided to develop (at least try) a custom pop3 connector / mail downloader for Exchange 2003. The question is simple: How do I start? I use MS Visual Studio 2003 (VB .Net). I...
4
by: news | last post by:
I've just started to test/learn python. I've got Linux > mandrake9 > python & documentation. What I'll initially want to be doing needs file I/O, so I wanted to confirm file I/O early in my...
2
by: Roger | last post by:
I have a stored procedure running on DB2 V7 Z/os calling a COBOL program to do some inserts. The stored procedure have 3 input columns and one column is of varchar(32648) The stored procedure is...
0
by: Roger | last post by:
have a stored procedure running on DB2 V7 Z/os calling a COBOL program to do some inserts. The stored procedure have 3 input columns and one column is of varchar(32648) The stored procedure is...
4
by: penzer | last post by:
how to exchange 1234(number) -bytes sequence in the C#?
3
by: mukesh78ae | last post by:
Dear All, With the code below I am able to successfully pull out e-mails by using the sql query defined with the webdav's search method. However, I am very unclear how to pull the attachments from...
2
by: leet-drewb | last post by:
Hi folks, I am sending a string over a socket from a C# app to a native C++ app. I embed the unicode symbol for the pound sign in the string being sent. When I read data from the socket, I find...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.