There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
black screen blue screen boot computer connection crash css dell display driver drivers error excel firefox firefox 3 game hard drive internet internet explorer itunes laptop lcd linux malware monitor network networking nvidia outlook outlook 2003 outlook express partition password printer problem problems ram router slow software sound sprtcmd.exe trojan usb video virus vista windows windows xp wireless
Software Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
FP2002 and From problems


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
jdy's Avatar
jdy jdy is offline
Junior Member with 8 posts.
 
Join Date: Jun 2003
28-Jun-2003, 12:40 PM #1
FP2002 and From problems
I put a form (through FP2002) onto my site, so that when the person filled it out and submitted it to me it would send an email with their information that they had given. I tried to test it out, but it just gave me an error (listed below).

Error Msg Received:
FrontPage Run-Time Component Page
You have submitted a form or followed a link to a page that requires a web server and the FrontPage Server Extensions to function properly.

This form or other FrontPage component will work correctly if you publish this web to a web server that has the FrontPage Server Extensions installed.

Click the <Back> arrow to return to the previous page.

I asked the tech support at the hosting company about this and they said they did not have the FP server extensions installed on the server and that I should try a FormMail script.

I am new to all of this and I don't know what I am doing when it comes to using the scripts and putting them into my website. Any help would be appreciated.
Thanks in advance.
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
28-Jun-2003, 01:47 PM #2
FrontPage add-ons such as forms are processed by the server and require it to have special software on the server.
Ask the tech what server side languages the server does support.
jdy's Avatar
jdy jdy is offline
Junior Member with 8 posts.
 
Join Date: Jun 2003
29-Jun-2003, 09:43 PM #3
I asked the tech and he said that they supported php and perl along with others but he didn't say what they where. I am with hostdime and I have the deluxe account http://www.hostdime.com/hosting.shtml

The tech also told me I should try a FormMail Script. I looked in my cgi-bin in CPanel control and I have CGI Mail which says it takes the input of an HTML form and converts it to an email format defined by the author of the form.
Also there is FormMail Clone which is clone of of Matt Wright's FormMail.

The only problem with this information is I don't know how to use either one of them to make them work on my site.
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
29-Jun-2003, 09:49 PM #4
Oh lets use PHP then, a very easy to use mail script here:
PHP Code:
<?PHP

 
#######################################################
# This script is Copyright 2003, Infinity Web Design  #
# Written by Ryan Brill - [email]ryan@infinitypages.com[/email]      #
# All Rights Reserved - Do not remove this notice     #
 #######################################################

## The lines below need to be edited...

###################### Set up the following variables ######################
#                                                                          #
$to "you@your.com"#set addres to send for to
$subject "Results from your Request Info form"#set the subject line
$headers "From: Form Mailer"#set the from address
$forward 1# redirect? 1 : yes || 0 : no
$location "thankyou.htm"#set page to redirect to, if 1 is above
#                                                                          #
##################### No need to edit below this line ######################

## set up the time ##

$date date ("l, F jS, Y");
$time date ("h:i A");

## mail the message ##

$msg "Below is the result of your feedback form.  It was submitted  on $date at $time.\n\n";
    
foreach (
$_POST as $key => $value) {
    
$msg .= ucfirst ($key) ." : "$value "\n";
}

mail($to$subject$msg$headers);
if (
$forward == 1) {
    
header ("Location:$location");
}
else {
    echo (
"Thank you for submitting our form. We will get back to you as soon as possible.");
}

?>
Save it as "mail.php" and set the action of your form to mail.php. You can leave the rest of the form alone.
In the script there are a few variables you need to change such as your email address and the subject line.
__________________
-Brendan
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
29-Jun-2003, 10:14 PM #5
Quote:
jdy wrote on 06-29-2003 10:00 PM:
Thank you very much for the script. I have a few questions. How do you save it as mail.php? and what do you mean when you said set the of the form to mail.php? I am sorry, I am new to all of this and don't know what I am doing. Thank you very much for the help.
Ok furhter instruction.
Copy and paste the script I gave you into Notepad. Edit the variables that need editing (instructions are in the script). Save it as "mail.php", including the quotes.
Then, design your form in FrontPage, and when you set the action of the form-set it to mail.php.
Not sure exactly how to do that in FrontPage.
Then upload mail.php and the webpage to your host.
I am not familiar with FP, so if you need more help-email me your form and I will set the action and send the files back to you.
brendandonhue@comcast.net
__________________
-Brendan
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 08:24 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.