Reply
JavaScript form2mail
Old 09-18-2007, 03:14 PM JavaScript form2mail
aatiis's Avatar
Experienced Talker

Posts: 41
Name: Attila Olah
Location: Serbia
Hi. Does anyone know a form2mail that can be used with GET instead of POST? I cannot use server side scripts on my web site, si I'm thinking of something like this:

onclick="window.location.href='http://www.example.com/form2mail.php?to=me@gmail.com&subj=' + edit1.value + '&body=' + edit2.value;"

Any suggestions?
__________________
[ aatiis|blog ]
aatiis is offline
Reply With Quote
View Public Profile Visit aatiis's homepage!
 
When You Register, These Ads Go Away!
Old 09-20-2007, 02:53 PM Re: JavaScript form2mail
Skilled Talker

Posts: 96
Name: Tudor Barbu
Dude, you're not making much sense! If your host doesn't have PHP installed on the server, it really doesn't matter if you use POST or GET to send the values. It won't work...
__________________
www.it-base.ro
Tudor.b is offline
Reply With Quote
View Public Profile Visit Tudor.b's homepage!
 
Old 09-21-2007, 05:14 AM Re: JavaScript form2mail
aatiis's Avatar
Experienced Talker

Posts: 41
Name: Attila Olah
Location: Serbia
That's why I'm looking for *another* host, which does have PHP installed. The concept is:

- My host doesn't support server scripting, so I'm using client-side JavaScript to send data via GET. Surely I cannot send emails from JavaScript, thats why I need another host with PHP installed with a form2mail script.

- The other host, which does have PHP installed, should have a a form2mail script thats sends data queried from GET to an email address aslo extracted from GET. Got it?

Correct me if I'm wrong, but I really think it's possible. Or prove me false.
__________________
[ aatiis|blog ]
aatiis is offline
Reply With Quote
View Public Profile Visit aatiis's homepage!
 
Reply     « Reply to JavaScript form2mail
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12722 seconds with 12 queries