Forums | Submit Question | Email a Colleague | FAQ

Dr. Website Archives

2001 Archives

October 25, 2001
    Question:
    Dear Dr. Website:
    On a certain web page I want to give a link to an Installable(setup.exe) file. But when the user clicks on the link there is a dialog that pops up saying whether, Open this file from its current location Save this file to disk I do not want to give this choice to the user.

    Rather I want to necessarily save the file on the users hard disk. That is when the user clicks the links , the save dialog box should appear where in the user can specify the path where he needs the file to be downloaded (saved). Please give a solution to this problem.
    Thanks

    Answer:
    That action is controlled primarily from the Web server that is hosting the files. You can create your own MIME type, but there is already a MIME type for .exe files, and as you know, it prompts them to open or save the file in question. Wish I could help,
    --Dr.Website

    Question:
    Dear Dr. Website:
    Hello, I have a problem. I want to have a form on my web page, where the user writes his address "from", subject and the email address "to" and then he writes some text and after he press send and it will send an email. I have no clue how to do this, even though I know how to write HTML and I've studied Java language ( just for 3 months).

    If you think you could help me, then you can contact me on jachym.czech@email.cz.
    Thanx

    Answer:
    You can accomplish your task one of two ways: the form uses mailto as its action, which would then use the visitor's email client to send the email to you, or you use a script on the server that would process the email and send it to you. To do the first, you can use this:

    <FORM METHOD=POST ACTION="mailto:youremail@home.com" ENCTYPE="text/plain"> <INPUT TYPE="TEXT" VALUE=""> <INPUT TYPE=SUBMIT> </FORM>

    If you want to use a script on your server, you'll need access to your web server's CGI-BIN directory, and you'll need the script, or course, along with a familiarity with the language the script is written in (at least enough to modify the variables). You can find many such scripts at ScriptSearch.com:

    http://www.scriptsearch.com/cgi-bin/search.cgi?searchfrom=left&q=mail+form


    Thanks

    --Dr.Website

    Question:
    Dear Dr. Website:
    I have many mouseover scripts from many sources from the internet but have been unable to find one that fits my needs. What I need is a mouseover script that, when you mouseover a " link ", a picture is loaded and swapped for another at a specific location on the page, and on mouseoff the original state is reurned. Can you help me find one like this?

    signed; desperately over-moused

    Answer:
    Just take one of those scripts you have, which probably change one image for another, and use the same function on a link instead, like this:

    <A HREF="whatever.html" onMouseOver="swapimage()">this is it </A>.

    That should do it!
    Thanks

    --Dr.Website

    Question:
    Dear Dr. Website:
    How can i put a midi/wav/mp3 file that plays continuously on my mainpage? Is there an html code?

    Answer:
    You can try this:

    <BGSOUND SRC="/midi/wav/mp3 file "LOOP=infinite>

    That's all to it.
    Thanks,
    --Dr.Website

Track who is coming to your website and from where

Forums · Submit Question · Email a Colleague · FAQ

Copyright 2001 INT Media Group, Incorporated All Rights Reserved.
Legal Notices,  Licensing, Reprints, & Permissions,  Privacy Policy.
http://www.internet.com/