webnovice
Members-
Posts
11 -
Joined
-
Last visited
Everything posted by webnovice
-
Surefire, Thanks for taking the time to look into this. I think I figured out the real source of error: my modfication of the config.php file was somehow incorrect. As I certainly *don't* consider myself well-versed in php (just lucky that there are resources like these out on the web!), I followed your advice and have never touched the mailit.php file. I changed the following config.php line: to
-
Surefire, Thanks for the help. I added the hidden tag, modified to include the many names from my form. When I tested it out, however, the browser simply went to a blank page with the following address: http://.../Mentors/scripts/mailit.php In the config file, I did modify the $missing_fields_redirect from "" to = ".../Mentors/missing.php" Any thoughts on what I might be doing wrong? Cheers.
-
I have been using the form for some time now and love it. However, I have realized that I keep getting incomplete forms, so I wanted to add the required fields functionality to the form. In the original mailit file it indicated that: "Anything in your form that you want the user to be forced to fill out Put a hidden tag in your form that is a comma separated list of items You want your visitor to have to fill out Email definitely should be required" As I am basically just winging it here, can anyone explain how I would do this? I have fields named Date, Start_Time, End_Time, Name, etc. Thanks!
-
Thanks for the fast response and sorry about the, er, missing link. The url where I tried to implement the php header is: http://www.ihadepa.org/test.htm This url is intended to look identical to this page: http://www.ihadepa.org/sample.htm As of this morning, the two pages (at least on my machine) do not look the same and I cannot figure out why. As for propogation, my site has been up for a couple of weeks now, so it would be strange if that were the issue (though it is quite possible that I am misunderstanding what full propoagation is). As always, any thoughts or insights would be greatly appreciated. Thanks!
-
I am new at php and am having trouble getting a .php header to work. To make the header.php file, I took all of the code (see below) from top of my original page, placed it into a header.php file and then inserted the following php call into my remaining page: ><?php include $_SERVER['DOCUMENT_ROOT']."/scripts/header.php"; ?> 'plus remaining page code here Unfortunately, all I get is a page that displays only the remaining page code and none of the code in the header. Any thoughts on what I am doing wrong? Thanks in advance! - Webnovice Oh, and the code in the header.php file is as follows: >-------------------------------------------------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Mentor Resources</TITLE> <META http-equiv=Content-Type content="text/html; charset=windows-1252"> <STYLE type=text/css> A:link {BACKGROUND: none transparent scroll repeat 0% 0%; COLOR: #0000ff; TEXT-DECORATION: underline} A:visited {BACKGROUND: none transparent scroll repeat 0% 0%; COLOR: #bc0021; TEXT-DECORATION: underline} A:hover {BACKGROUND: #bb0000; COLOR: #ffffff; TEXT-DECORATION: underline} </STYLE> <META content="Microsoft FrontPage 4.0" name=GENERATOR></HEAD> <BODY bgColor=#bc0021> <TABLE cellSpacing=2 cellPadding=2 width="96%" align=center border=0> <TBODY> <TR> <TD> <TABLE cellSpacing=2 cellPadding=2 width="96%" align=center border=0> <TBODY> <TR vAlign=bottom> <TD><IMG height=50 alt="" src="http://www.ihadepa.org/images/title6.gif" width=250 border=0></TD><Td></td></tr> <tr> <TABLE cellSpacing=0 cellPadding=0 width="95%" align=center bgColor=#ffffff border=0><tbody><tr> <TD valign=bottom align=center><FONT face=Arial color=#bc0021 size=1> <b> | <A href="http://www.ihadepa.org/index.htm"><FONT face=Arial size=1>Home</FONT></A> | <A href="http://www.ihadepa.org/Programs.htm"><FONT face=Arial size=1>School Programs</FONT></A> | <A href="http://www.ihadepa.org/Partners.htm"><FONT face=Arial size=1>Partners</FONT></A> | <A href="http://www.ihadepa.org/News.htm"><FONT face=Arial size=1>News</FONT></A> | <A href="http://www.ihadepa.org/Contact.htm"><FONT face=Arial size=1>Contact Us</FONT></A> | <A href="http://www.ihadepa.org/Help.htm"><FONT face=Arial size=1>How to Help</FONT></A> | <A href="http://www.ihadepa.org/Mentors/index.htm"><FONT face=Arial size=1>Mentors</FONT></A> | <HR align=left valign=top width="100%" color=#bc0021 noShade SIZE=2 VSPACE="0"></b></td> </tr></tbody></table> Save file as:
-
Please disregard. Somehow managed to fix it! (don't think all the file locations / references were aligned.) Doh!
-
After getting the script to work on my base page, I tried to run a second instance in another location on my site (a protected subweb). I am getting the following error and I don't know why: "Method Not Allowed The requested method POST is not allowed for the URL /... -------------------------------------------------------------------------------- Apache/1.3.28 Server at www.-----.org Port 80" Any thoughts?
-
That works great. Thanks!
-
This form is working great. Thankf you for taking the time and energy to put it together. Was hoping to get some quick help on one issue I am having. I cannot seem to correctly modify the code to send the form email to multiple addresses. Regardless of what I do, I keep getting an error message. Detail: After placing both email addresses in the $allowed_email_recipients_array, I tried changing the code in config.php from: $recipient = "user@mywebsite.com"; to $recipient = "user@mywebsite.com", "user2@mywebsite.com"; and $recipient = array('user@mywebsite.com', 'user2@mywebsite.com'); and $recipient = "user@mywebsite.com, user2@mywebsite.com"; but none of these seems to work. I get the following error message in all cases: "The form was not submitted for the following reasons: I NEED VALID RECIPIENT EMAIL ADDRESS () TO CONTINUE. Please use your browser's back button to return to the form and try again." Would love to know what I am doing wrong. Thanks in advance for the help.
-
Thanks for the tips. I got my extensions reinstalled and working, but also found a faster way to create the protected subweb using the "Web Protect" feature of cpanel. [Note this is probably a workable solution only because I don't need to actively manage a subscription list for the subweb, as I only have one "user" that I need to have access it. If I ever need to switch to a managed membership (i.e. people creating id's and passwords), I'll probably have to abandon this approach, but for now it seems to work great.] - Webnovice
-
I am trying to create a subweb on my site as well as set up some forms using FrontPage 2000. When I try to create my sub web, I get the following error: "Server Error: Error initializing access control: can't inherit access control settings from the root web because it is miissing the AutUserFile and AuthGroupFile directives" When I try to publish the form, I get an error indicating that I don't have or cannot access the frontpage server extensions. As I am a relative web novice, there is probably something quite simple that I a messing up. Would truly appreciate any help. Thanks!
