+ Reply to Thread
Results 1 to 2 of 2

Thread: is it possible to run formmail directly off a PC?

  1. #1
    Join Date
    Oct 2008
    Posts
    1

    Default is it possible to run formmail directly off a PC?

    I plan to have my forms on disk, which I will forward to clients to fill out. Is it possible to put formmail.php on the disk with the HTML forms ranther than upload it to the internet somewhere? I still want the submitted forms to be returned to me by email, I just don't want to have to keep track of a website... Just wondering.
    Last edited by Cathaoir; 02-Oct-2008 at 05:27 PM. Reason: clarity

  2. #2
    Join Date
    Dec 2003
    Posts
    3,901

    Default Re: is it possible to run formmail directly off a PC?

    Hi,

    That's an interesting question.

    An HTML form is displayed in a browser. If the form is on disk, that's fine, the operating system should start the user's browser to display the form.

    The user can submit the form, but where does it get submitted to?

    It gets submitted to the URL in the "action" attribute of the HTML "form" tag.

    If that URL starts with "http://" (such as "http://www.yoursite.com/formmail.php") then the form will be submitted across the internet to formmail.php on the named website.

    If that URL starts with "/" (such as "/formmail.php"), then it probably won't work because it won't find "/formmail.php" on the user's computer.

    If that URL is just "formmail.php", then it will probably submit to formmail.php on the disk you've sent out. But, it probably won't work because the user's computer doesn't have a PHP interpreter.

    So, the short answer is that it will work fine provided:
    1. You use a URL to FormMail on your website.
    2. The user is connected to the internet.
    This means you can send the HTML form(s) without sending FormMail on the disk.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. html email OK om mac but plain text on PC!
    By vajra in forum Community Support
    Replies: 0
    Last Post: 09-Oct-2007, 12:52 PM
  2. PC Specification required
    By sportz in forum FormMailEncoder/Decoder
    Replies: 2
    Last Post: 31-Aug-2005, 11:49 PM
  3. Downloaded to the wrong PC
    By toefoo in forum FormMailEncoder/Decoder
    Replies: 0
    Last Post: 24-Jul-2005, 12:36 PM
  4. run errors
    By gilmurr in forum FormMail Subscription Support
    Replies: 1
    Last Post: 08-Mar-2004, 09:52 PM

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