Re: [PHP] Re: [PHP-DEV] Passing JavaScript variables to PHP

2001-08-01 Thread Ryan Fischer
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

[PHP] Re: [PHP-DEV] Passing JavaScript variables to PHP

2001-08-01 Thread Richard Lynch
> 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://

[PHP] Re: [PHP-DEV] Passing JavaScript variables to PHP

2001-08-01 Thread Craig Gardner
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].

[PHP] Re: [PHP-DEV] Passing JavaScript variables to PHP

2001-07-27 Thread Markus Fischer
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/