SitePoint Sponsor

User Tag List

Results 1 to 13 of 13
  1. #1
    SitePoint Member
    Join Date
    Feb 2000
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I want to make some of My bands Mp3s available o my website. But I dont want people downloadig them with out knowing who they are. And I would also like to track how many copies there are to the best of my ability. What I want is either a redirection after an e-mail address is entered. Or, I would like a pop-up screen with the Download link to appear. Thanks

    Dub

  2. #2
    ********* Addict
    Join Date
    Feb 2000
    Location
    NE FL, USA
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Download a copy of FormMail from Matt's Script Archive at http://www.worldwidemart.com/scripts/ and set it up so that they have to fill in their email address in a mail in form that goes to you and then redirect them to a 'hidden' URL that they will use to download the MP3's

    ------------------
    Street Bikers United
    C&M Web Design

  3. #3
    SitePoint Member
    Join Date
    Feb 2000
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have no idea how to use scripts so that last idea did not work for me. I have typed out some HTML code for the form. The only problem is I cant get the submit button to send me the e-mail. After i get that figured out all i need to do is Get the submit button to redirect to another website. Which I know how to do with this HTML code. If anyone knows why the submit button is not woking please tell me how to fix it. Thank You

  4. #4
    SitePoint Member
    Join Date
    Feb 2000
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    here is the HTML Code


    <FORM ACTION="http://www.geocities.com/Broadway/Stage/4869">
    <input type="hidden" name="to" value="uncledub@kc.rr.com">
    <input type="hidden" name="subject" value="Mp3 was downloaded from site.">
    <input type="hidden" name="form" value="http://www.geocities.com/Broadway/Stage/4869">
    <input type="hidden" name="admin" value="uncledub@kc.rr.com">
    <input type="hidden" name="language" value="en">

    <h2>Thank you for your interest in Krap please Fill out this form. After which you will
    be able to download the Mp3's.</h2>
    Your full name (Last name first): <BR><input name="name" size=40><br>
    Location:<BR><input name="where from" size=40><br>
    Age:<BR><input name="Age" size=40><br>
    Homepage?<BR><input name="website" size=40><br>
    Your email address: (e.g.: <em>you@aol.com</em> ) <input name="from" size=30><p>
    Have you seen Krap? <BR><input type="checkbox" name="yes"
    value="selected" checked> Yes <input type="checkbox" name="no"
    value="selected"> No
    <BR>
    What is your Gender?<input type="checkbox" name="Male"
    value="selected" checked> Male <input type="checkbox" name="Female"
    value="selected"> Female
    <br>

    Comments or suggestions?<br> <textarea name="body" rows=10 cols=60></textarea><p>

    <form>
    <input type="submit" value="Submit" ACTION="uncledub@kc.rr.com">
    <input type="reset" value="Clear fields">
    </form>

    Dub

  5. #5
    ********* Addict
    Join Date
    Feb 2000
    Location
    NE FL, USA
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Get rid of the last "<form>" tag, not the "</form>" Your button has to be inside the form.

    Like this:

    Comments or suggestions?<br> <textarea name="body" rows=10 cols=60></textarea><p>

    <input type="submit" value="Submit" ACTION="uncledub@kc.rr.com">
    <input type="reset" value="Clear fields">
    </form>

    That should make your submit button work. But will the email still be sent to you even though you're not using a script? I'm not sure. I'm not used to using that method. I always use a script such as FormMail.pl.

    If that doesn't work, post again.

    Mike


    ------------------
    Street Bikers United
    C&M Web Design

  6. #6
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    The simplest solution is this.

    Go to the Geocities homepage. At the bottom is a list to Homepage add-ons. In the add-ons they list a form processor along with instructions on how to set it up. It should allow you to set up a "thank you page" if it does just put the address for your download page in as your thank you page.

    If if does not have a "thank You page", add the following code into the HEAD section of your web page:
    ~~~~~~~~~~~~~ CUT HERE ~~~~~~~~~~~~
    <script>
    <!-- Hide Script
    function redirectDownload(){
    document.location(0) = "http://www.geocities.com/Broadway/Stage/4869"
    }
    //-->
    </script>
    ~~~~~~~~~~~~~ END CUT ~~~~~~~~~~~~~

    and change your submit button to look like:
    <input type="submit" value="Submit" onClick="redirectDownload();">

    ------------------
    Wayne Luke
    Internet Media Provider

  7. #7
    SitePoint Member
    Join Date
    Feb 2000
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok... I got the form to send the e-mail. But now it just opens up a page that say that the email was sent and what the e-mail said. But I cant get it to go to a certain page.
    Here is the code I am now using.:


    This is at the very top of the page:

    <script>
    <!-- Hide Script function redirectDownload(){
    document.location(0) = "http://www.geocities.com/krapmetal"
    }
    //-->
    </script>

    This is where the form is:

    <FORM METHOD=POST ACTION="/cgi-bin/homestead/mail.pl?krapmetal">
    <input type="hidden" name="to" value="krapmetal@yahoo.com">
    <input type="hidden" name="subject" value="Mp3 was downloaded from site.">
    <input type="hidden" name="form" value="http://www.geocities.com/krapmetal">
    <input type="hidden" name="admin" value="krapmetal@yahoo.com">
    <input type="hidden" name="language" value="en">

    <h2>Thank you for your interest in Krap please Fill out this form. After which you will
    be able to download the Mp3's.</h2>
    Your full name (Last name first): <BR><input name="name" size=40><br>
    Location:<BR><input name="where from" size=40><br>
    Age:<BR><input name="Age" size=40><br>
    Homepage?<BR><input name="website" size=40><br>
    Your email address: (e.g.: <em>you@aol.com</em> ) <input name="from" size=30><p>
    Have you seen Krap? <BR><input type="checkbox" name="yes"
    value="selected" checked> Yes <input type="checkbox" name="no"
    value="selected"> No
    <BR>
    What is your Gender?<input type="checkbox" name="Male"
    value="selected" checked> Male <input type="checkbox" name="Female"
    value="selected"> Female
    <br>

    Comments or suggestions?<br> <textarea name="body" rows=10 cols=60></textarea><p>

    <input type="submit" value="Submit" onClick="redirectDownload();">
    <input type=reset>
    </FORM>


    </script>

  8. #8
    ********* Addict
    Join Date
    Feb 2000
    Location
    NE FL, USA
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're mixing JAVASCRIPT in with your HTML for a Perl (most likely?) script or CGI function. Try to add another hidden input like this:

    input type="hidden" name="redirect" value="the page you want them to go to"

    You may want to check the help section in Geocities on how to use the form. They should have something in there about it.

    HAH, I got to him first, Wayne! Now I just hope it works, or I'll look like a total boob! I'm aspiring to be like you, Wayne. I've decided that you are the most knowledgable user of these forums (that isn't associated w/WR), so I seek to emulate you.

    Mike

    ------------------
    Street Bikers United protecting the rights of motorcyclists worldwide.
    [URL=http://www.cosmicairbrush.com/]Cosmic Custom Airbrush - Hawaii's premier airbrush studio.

  9. #9
    SitePoint Member
    Join Date
    Feb 2000
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok... nevermind it is not sending the e-mail... it just says that it is sending it

  10. #10
    Chicken
    SitePoint Community Guest
    Uncle Dub... just because you don't know how to use scripts, doesn't mean that you can't figure it out. It is easy to do what you are asking.

    First, does you current host have a form mailer script already setup for you? If you have no idea, ask, many do. If not...

    Second, will your host allow you to install scripts? If you don't know, ask. Depending on who you are hosted by, you may or may not have this ability.

    Third, if you have made it this far, do as someone else said an get that script. It takes approx. 3 minutes to set up and has complete directions.

    You will need to know the path to perl and the path to send mail. Ask your host if you can't find this info on your host's site.

    Path to perl goes at the top. Follow the instructions provided for the rest. You will be surprised at how easy it is to install this type of script, and everything will work like you want it to!

  11. #11
    SitePoint Member
    Join Date
    Feb 2000
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think I figured it out. It now sends me the e-mail and it goes to the page I want it to. But i do have one more question about forms.

    I want to use this Code but I want the selected items in the pulldown menu to send the person to another website instead of Sending me an e-mail.If there is a question mark I dont know what to put there.


    <FORM METHOD=?="?">
    <TR>
    <TD WIDTH="94" ALIGN="RIGHT">
    <FONT FACE="arial"><B>Explore my Site</B></FONT>
    </TD>
    <TD>
    <SELECT NAME="Selection">
    <OPTION VALUE=?>My pictures</OPTION>
    <OPTION VALUE=?>My info</OPTION></TD></TR>
    </FORM>

  12. #12
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You can find cut and paste "Jump Box" scripts at all javascript sites. You can look at www.jsworld.com or http://javascript.internet.com or many others and find it. Then if you follow their instructions you can put it on your site with no trouble.

    Is this still related to the original problem or a new one???

    ------------------
    Wayne Luke
    Internet Media Provider

  13. #13
    SitePoint Member
    Join Date
    Feb 2000
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It is a new one but I am all done now. Thank you everyone for your help.

    Dub


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •