Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



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

Posts: 53
Name: Attila Oláh
Location: Serbia
Trades: 0
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?
__________________

Please login or register to view this content. Registration is FREE
:: my web design blog
aatiis is offline
Reply With Quote
View Public Profile Visit aatiis's homepage!
 
 
Register now for full access!
Old 09-20-2007, 02:53 PM Re: JavaScript form2mail
Skilled Talker

Posts: 96
Name: Tudor Barbu
Trades: 0
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...
__________________

Please login or register to view this content. Registration is FREE
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
Skilled Talker

Posts: 53
Name: Attila Oláh
Location: Serbia
Trades: 0
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.
__________________

Please login or register to view this content. Registration is FREE
:: my web design blog
aatiis is offline
Reply With Quote
View Public Profile Visit aatiis's homepage!
 
Reply     « Reply to JavaScript form2mail
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





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



Page generated in 0.12049 seconds with 12 queries