Any server along the way is allowed to chop GET requests to, like, 255
characters.

Any server along the way is allowed to chop POST requests to, like, 1024?
characters.

*MOST* won't chop either, any more, but you're safe with POST instead of
GET.

You *COULD* however, try this to guarantee delivery:

Breaking up the HTML into "packets" and POST each packet successively with a
numbering scheme whereby PHP holds each packet in a temp table and assembles
them when all packets have arrived.  Dunno if JavaScript will let you
execute multiple POSTs and ignore the returning HTML or not though...

Your best bet by far is to have JavaScript execute a POST with a FILE
UPLOAD.  You'll have to figure out if JavaScript can do that, though...

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: News.Fbcc.Com <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 12, 2001 12:55 PM
Subject: Passing LARGE (1500-2500 chars) variable from JScript to PHP?


> I want to pass a large (easily 1500-2500 characters) variable between a
> DHTML object using Jscript over to a PHP script to ultimately update a
MySQL
> database. I know that I can pass a variable along with the link, i.e.
> location.href=etc. etc., but I believe there is a limit on the size of an
> href. What I am doing is editting text and am using MSIE specific
functions
> to create HTML on the fly which I then want to pass to a PHP script to
> update my database.
>
> Any help would be SINCERELY appreciated!!
> Merci, (or is that mercy?)
> Andre
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to