dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Creating FrontPage Form with PHP/ASP

  1. #1
    Join Date
    Jul 2006
    Location
    Dallas, TX
    Posts
    30

    Creating FrontPage Form with PHP/ASP

    Hi all,

    I have a new client who is already hosted on linux and using php templates for his website. He uses Frontpage 2003 to add new pages.

    He asked me to create a new form- I usually do these in Frontpage and have the results emailed. Since he's on linux, when I go to Form Properties in frontpage, it does not allow me to select email results. I have to select from the following: Custom ISAPI, NSAPI, CGI or ASP Script; Discussion form handler, or registration form handler.

    I don't know PHP or ASP. I only know how to create the form in Frontpage...any suggestions on how I get this to work for the client? I see its set up for the post method, but I don't understand how to make the form submit and arrive to his email address.

    My first instinct is to get him to switch to windows hosting, but his templates are php extensions and I don't want to mess up his whole site! help!

  2. #2
    Join Date
    Nov 2002
    Location
    Hermantown, MN
    Posts
    1,777
    oh if you told him to switch to another host I would suggest instead you tell him he has the wrong person for the job.

    Lets take your knowledge from one side and look at how to apply it from the other end.

    1. you do not know PHP - Neither do I, but I know how to make sense of it.
    2. you have all his files or access to them via the web - good you'll need these later.
    3. you know how to make forms via FrontPage - good you'll need this later.
    4. Can you read source code? - this is the most important step of all you'll need for later!

    oK SO WITH those 4 things out of the way lets begin.

    1. open another page he has a form on. I'm pretty sure you mentioned he has another page using a form on it.
    2. look at the source code of one of the old forms and you'll see the input boxes and like wise are exactly the same as HTML or FrontPage code.
    3. the only thing different will be the either the hidden fields or the form line starting the form. All forms on the page are done in HTML so it shouldn't be an issue.

    You can even make changes to older form page and do a "Save As" and rebuild it as the new form.

  3. #3
    Join Date
    Aug 2006
    Location
    Netsel Marina, Marmaris, Turkey
    Posts
    186
    It's nice to have an afternoon off to mess around so let me stick my two cents in here.

    Once you have the form you have to have something to get rid of it - enter "mailer.php" in a search engine and down a small files with that name which you can put in your root directory and alter the code in the form page to point to this and put in your e-mail address after "mailto:" and all should be well.

    Well, it worked for me in any case.

    Cheers

    Jack

Thread Information

Users Browsing this Thread

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

Posting Permissions

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



Recent Articles