Jump to content
xisto Community
RGPHNX

Website Building- E-mail Forwarding & Downloads Response Forms downloading zip files

Recommended Posts

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 Xisto).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 advanceRGPHNX

Share this post


Link to post
Share on other sites

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 http://forums.xisto.com/no_longer_exists/ .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

Share this post


Link to post
Share on other sites

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 Xisto).

For the pop-up you need Javascript :P Search with googles there will be a lot of results :D

Share this post


Link to post
Share on other sites

< 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 existsoffset += search.length// set index of beginning of valueend = document.cookie.indexOf(";", offset);// set index of end of cookie valueif (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()elseloadornot() </script>that sould give you a pop under with a linki hop that has help in at least the slightest bit

Share this post


Link to post
Share on other sites

Wow! you are very good at javascript! I'm not too shabby either:<script language="javascript">function p() {window.open('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 windowHeight is the height of the windowTop is the position from the topLeft is postition from the leftToolbars is if toolbars should be displayedResizable is the ability to resize! 0 means no, 1 means yes.:POh yah, this whole thing is supposed to open a browser window if you didn't notice!~JohnnyHave a great day! Hope this helped!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Use the code that Dooga gave:

<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://forums.xisto.com/topic/4780-php-contact-form-contact-forms-made-easy/

that should do it...

Share this post


Link to post
Share on other sites

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 moreproblems. Thanks again :P RGPHNXps-SORRY I MUST HAVE SPACED OUT ON THE ZIP ADVICE YOU GAVE PREVIOUSLY - must have been the "forest for the trees syndrome" :D

Share this post


Link to post
Share on other sites

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 http://php.net/ or JavaMail API on java.sun.com

 

Server technology is better than client technology for your requirement.

 

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

43059[/snapback]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.