all you need is a unvisible iframe (<IFRAME width="0" height="0" name="framename"> ... </IFRAME>) and give it a name. then, you do a framename.write('data') with data in this format: <form method="post" action="youphpscript.php" name="formname"> <input type="hidden" name="youvarname" value="youdatatosend"> </form> followed by a formname.submit(); that's about all it is..... k/r chrissl ICQ#54897804 > 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. -- 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]
[PHP] Re: Passing LARGE (1500-2500 chars) variable from JScript to PHP?
chrissl \[christopher czettel\] Sun, 12 Aug 2001 18:24:33 -0700
- [PHP] Re: Passing LARGE (1500-2500 chars) ... Inércia Sensorial
- [PHP] Re: Passing LARGE (1500-2500 ch... news.fbcc.com
- [PHP] Re: Passing LARGE (1500-2500 ch... Richard Lynch
- [PHP] Re: Passing LARGE (1500-250... news.fbcc.com
- chrissl \[christopher czettel\]