What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Javascript

Pages: (2): « First « 1 [ 2 ] Last »
Javascript
Author: Message:
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
31 / Male / Flag
Joined: Jul 2006
O.P. RE: Javascript
quote:
Originally posted by -!Felu!-
quote:
Originally posted by Jimbodude
quote:
Originally posted by Mablung
Just viewable.
Is there any way to save it? or do you have to use PHP or ASP.
You'll need PHP or ASP. If you want PHP code i can give it to you.
Please, hopefully it will work on piczo
11-01-2006 05:39 PM
Profile E-Mail PM Find Quote Report
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
31 / Male / Flag
Joined: Jul 2006
O.P. RE: Javascript
quote:
Originally posted by Puniksem
That script already addresses the script I posted for you previously, achieving the same function. However does not address the point of posting said address to a savable page, as requested. That's a far more complex issue which involves writing to a file on your server as well. thats not just a case of simple java scripting.

code:
<form action="http://www.yourserver.com/cgi-bin/userform.cgi" method="post" onsubmit="return FSubmitValidation(this)">
  <input name="SendMailTo" type="hidden" value="username@youremail.com">
  <input name="redirect" type="hidden" value="http://website_address">


This is the type of cgi-bin prompting using the SendMailTo command, I used for sending forms to a cgi server which would then send the form content to the specified email address.

If I can get the time I will write you up a script for said task, seeing that's the nearest I can get to your request.
Thanks but most browsers now show a security allert when trying to automatically send an email.
11-01-2006 05:52 PM
Profile E-Mail PM Find Quote Report
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
31 / Male / Flag
Joined: Jul 2006
O.P. RE: Javascript
quote:
Originally posted by Puniksem
That script doesn't send an email directly, instead it sends the form content forward to the cgi-bin which does the emailing. so you should get no popup alert.
ok, whats the redirect bit about?


whats this bit about?
code:
<input name="redirect" type="hidden" value="http://website_address">


sorry for double posting
11-01-2006 06:11 PM
Profile E-Mail PM Find Quote Report
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
RE: Javascript
Thats usually used when you want to direct your viewers to another page when they've submitted the information.
[Image: sig.png]
11-02-2006 04:37 PM
Profile PM Web Find Quote Report
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
31 / Male / Flag
Joined: Jul 2006
O.P. RE: Javascript
quote:
Originally posted by hmaster
Thats usually used when you want to direct your viewers to another page when they've submitted the information.
if i don't wanna redirect them, can i just delete it from the code
11-02-2006 04:46 PM
Profile E-Mail PM Find Quote Report
vaccination
Veteran Member
*****

Avatar

Posts: 2513
Reputation: 43
32 / Male / –
Joined: Apr 2005
RE: Javascript
JimboDude, just mess around with the code, keep a copy of it in a *.txt file or something and then remove the redirect bit and see what happens, or just make it redirect to your hompage again. (Although would that trigger the pop-up again?)

Anyway you allways have that copy of it saved if anything goes wrong.

(oh and keep a fresh copy of the code you had before you added anything to it.)

that way you don't have to worry about messing anything up. One you've had a go you can come back and ask if things went wrong. =)

This post was edited on 11-02-2006 at 04:59 PM by vaccination.
[Image: jumbled.png]
11-02-2006 04:56 PM
Profile PM Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On