IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
 
Reply to this topicStart new topic

Website Building- E-mail Forwarding & Downloads

, Response Forms & downloading zip files


RGPHNX
no avatar
Super Member
*********
Group: Members
Posts: 380
Joined: 22-December 04
From: usa
Member No.: 2,873



Post #1 post Jan 18 2005, 09:49 PM
Hi guys,
Am new to designing. How do I :
1) include a popup form on my webpage for the visitor to input info & have the info forwarded to my personal e-mail account (not trap17).
2) make links to download files (ie. zip etc.) hosted on my website for ftp direct download to the visitors computer. (You know, click a link & the file automatically downloads)
Any info appreciated !!!
Tutorials ?????????????????
Step by step info ????????????
Thanks in advance
RGPHNX
Go to the top of the page
+Quote Post
cragllo
no avatar
Privileged Member
*********
Group: Members
Posts: 933
Joined: 24-August 04
Member No.: 892
myCENT:ZERO



Post #2 post Jan 18 2005, 10:21 PM
For a Contact form, go here: http://www.trap17.com/forums/trap17-file-no-4780.html

LINKS: just make a normal link to the file
CODE
<a href="file.zip">link</a>


POP-UP: will get back to you, I g2g now, good night all! (10:38PM)
Go to the top of the page
+Quote Post
RGPHNX
no avatar
Super Member
*********
Group: Members
Posts: 380
Joined: 22-December 04
From: usa
Member No.: 2,873



Post #3 post Jan 20 2005, 06:45 PM
Thanks Cragllo,
Thanks for the fast code & the link to other Php info. Checked out the links and found some good Php tutorials at www. Php.net . Also check out the links section at www. Php.net/links.php for everything Php. Found some e-mail forwarding code downloads and a good customization tutorial at www.analysisandsolutions.com .
No info on how to make the e-mail form a "popup" though.
Any ideas ????
Also,
Am still looking for a fast "how to" implement part 2) [ie. automatic downloader for "zip" etc. files hosted on my website] of my previous question.
Any suggestions??
Anybody?
Thanks in advance.
RGPHNX
Go to the top of the page
+Quote Post
Zaideu
no avatar
Member [Level 2]
*****
Group: Members
Posts: 88
Joined: 12-January 05
Member No.: 3,246



Post #4 post Jan 21 2005, 09:15 PM
QUOTE(RGPHNX @ Jan 18 2005, 10:49 PM)
1) include a popup form on my webpage for the visitor to input info & have the info forwarded to my personal e-mail account (not trap17).

For the pop-up you need Javascript smile.gif Search with googles there will be a lot of results wink.gif
Go to the top of the page
+Quote Post
SpiltBlood
no avatar
Member [Level 1]
****
Group: Members
Posts: 63
Joined: 6-August 04
Member No.: 688



Post #5 post Jan 22 2005, 03:18 AM
< SCRIPT LANGUAGE="JavaScript">
window.open("enter link here");
</SCRIPT>

this should give you a popup that links to a page

<script>
var popunder=new Array()

popunder[0]=" Enter Link Here"

var winfeatures="width=100,height=100,scrollbars=0,resizable=0,toolbar=0,location=0,menubar=0,status=0,directories=0"
var once_per_session=0
///No editing beyond here required/////
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) { // if cookie exists
offset += search.length
// set index of beginning of value
end = document.cookie.indexOf(";", offset);
// set index of end of cookie value
if (end == 400)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function loadornot(){
if (get_cookie('popunder')==''){
loadpopunder()
document.cookie="popunder=yes"
}
}
function loadpopunder(){
win2=window.open(popunder[Math.floor(Math.random()*(popunder.length))],"",winfeatures)
win2.blur()
window.focus()
}
if (once_per_session==0)
loadpopunder()
else
loadornot()
</script>

that sould give you a pop under with a link

i hop that has help in at least the slightest bit
Go to the top of the page
+Quote Post
Dooga
no avatar
Moderator
***********
Group: [MODERATOR]
Posts: 1,344
Joined: 26-December 04
From: Canada
Member No.: 2,940
myCENT:46.53



Post #6 post Jan 22 2005, 04:10 AM
Wow! you are very good at javascript! I'm not too shabby either:

<script language="javascript">
function p() {
window.open('http://google.com',
'bnettaf','width=222,height=222,top=2,left=2,toolbars=no,resizable=0');}
</script>

And to excute the site you just link to "javascript: p();"

For example: <a href="javascript: p();">click here</a>

Notes:

Width is the width of the window
Height is the height of the window
Top is the position from the top
Left is postition from the left
Toolbars is if toolbars should be displayed
Resizable is the ability to resize! 0 means no, 1 means yes.

biggrin.gif

Oh yah, this whole thing is supposed to open a browser window if you didn't notice!

~Johnny

Have a great day! Hope this helped!
Go to the top of the page
+Quote Post
RGPHNX
no avatar
Super Member
*********
Group: Members
Posts: 380
Joined: 22-December 04
From: usa
Member No.: 2,873



Post #7 post Jan 24 2005, 09:49 PM
Thanks to all,
Followup Question:
Once I create the popup window & link it via url to the content webpage,
How do I make the webpage send the info to my e-mail account?
This may seem obvious to youall but I'm totally new to this sort of thing.
I guess what I'm asking is-Where & How do I put the link to my e-mail account url in the webpage?
Thanks again,
RGPHNX
Go to the top of the page
+Quote Post
cragllo
no avatar
Privileged Member
*********
Group: Members
Posts: 933
Joined: 24-August 04
Member No.: 892
myCENT:ZERO



Post #8 post Jan 24 2005, 10:00 PM
Use the code that Dooga gave:
CODE
<script language="javascript">
function p() {
window.open('contact.php',
'bnettaf','width=222,height=222,top=2,left=2,toolbars=no,resizable=0');}
</script>

<a href="javascript: p();">click here</a>


Make a file calles contact.php and use the contact form here:
http://www.trap17.com/forums/trap17-file-no-4780.html

that should do it...
Go to the top of the page
+Quote Post
RGPHNX
no avatar
Super Member
*********
Group: Members
Posts: 380
Joined: 22-December 04
From: usa
Member No.: 2,873



Post #9 post Jan 24 2005, 10:33 PM
Thanks Again Cragllo,
Looks like I have all the pieces of scripting to make it all work.
Will merge it all together and get back to youall if there are any more
problems.
Thanks again smile.gif
RGPHNX
ps-SORRY I MUST HAVE SPACED OUT ON THE ZIP ADVICE YOU GAVE PREVIOUSLY - must have been the "forest for the trees syndrome" sad.gif
Go to the top of the page
+Quote Post
jordanliuhao
no avatar
Newbie [Level 2]
**
Group: Members
Posts: 32
Joined: 30-January 05
Member No.: 3,494



Post #10 post Jan 31 2005, 05:01 AM
From my understanding, it seems the user don't care if an e-mail is sent. It's just an implementation detail for developers.

My suggestion is:

1 The user fill a form in your web page, then submit
2 php or jsp on the server collect all the information. Then call system api to send a mail with these information. You can search the mail() on www.php.net or JavaMail API on java.sun.com

Server technology is better than client technology for your requirement.

QUOTE(RGPHNX @ Jan 24 2005, 04:49 PM)
Thanks to all,
Followup Question:
Once I create the popup window & link it via url to the content webpage,
How do I make the webpage send the info to my e-mail account?
This may seem obvious to youall but I'm totally new to this sort of thing.
I guess what I'm asking is-Where & How do I put the link to my e-mail account url in the webpage?
Thanks again,
RGPHNX
[right][snapback]43059[/snapback][/right]
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts 9 noxit 852 21st June 2004 - 08:16 PM
Last post by: wassie
No new   22 -iancovenant- 1,106 9th December 2008 - 06:40 PM
Last post by: Echo_of_thunder
No new   21 Dagoth Nereviar 1,302 11th November 2008 - 03:27 AM
Last post by: Ruben
No New Posts   6 rpgsearcherz 328 8th December 2008 - 12:23 PM
Last post by: minimcmonkey
No New Posts   3 Thunder 525 28th July 2004 - 02:35 AM
Last post by: killer
No New Posts   12 EricDrinkard 1,617 6th August 2004 - 09:29 PM
Last post by: Vacant
No new 15 EricDrinkard 1,155 1st August 2004 - 09:31 PM
Last post by: pr3dr49
No New Posts   0 andyy15 495 29th July 2004 - 03:59 PM
Last post by: andyy15
No New Posts   1 Jarek_Gd 243 24th February 2008 - 12:49 PM
Last post by: rvalkass
No new   21 PnOyKiO 2,168 12th September 2004 - 11:04 AM
Last post by: dreek
No new   15 Dehornos 1,611 2nd January 2009 - 09:04 AM
Last post by: contactskn
No New Posts   11 sonesay 744 12th February 2008 - 07:42 PM
Last post by: sonesay
No new 19 Vacant 1,458 26th September 2004 - 10:13 AM
Last post by: gotcha41
No New Posts   8 djleli 775 28th February 2005 - 04:29 PM
Last post by: bjrn
No new   17 odomike 1,236 27th August 2004 - 06:31 AM