You wrote:
> > location.href='mail.php?message=' + message;
>
> You need to URLEncode that message data.
>
> Not sure how JavaScript does it...
>
> probably message.urlencode()
Actually, it's escape(message).
--
-Ryan :: ICQ - 595003 :: GigaBoard - http://www.gigaboard.net/
--
PHP G
> location.href='mail.php?message=' + message;
You need to URLEncode that message data.
Not sure how JavaScript does it...
probably message.urlencode()
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://
Here's a more detailed explanation of my problem. I am setting up a
form with multiple text boxes. I am trying to send a formatted
version of the form, via e-mail... Here's kinda how I have it layed
out.
function formatText()
{
message = 'Textbox label1 : ' + document.forms[0].
On Fri, Jul 27, 2001 at 04:31:51PM -0500, Craig Gardner wrote :
> Is there any way to pass JavaScript variables to PHP?
This doesn't belong in here; this list is for the development OF
php and _not_ WITH. Ask at [EMAIL PROTECTED]
- Markus
--
Markus Fischer, http://guru.josefine.at/~mfischer/
4 matches
Mail list logo