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]

Reply via email to