FORM based login form-error-page

Hi,
I have activated FORM based login for EM (oracle 9iAS on Solaris). So, in web.xml for EMD, I have
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/jsp/login.jsp</form-login-page>
<form-error-page>/error/oc4j_error.html</form-error-page>
</form-login-config>
</login-config>
When I login as ias_admin, everything seems fine. However, when I login as any other user (not in ias_admin role), the browser redirects to /emd/console/ias/applicationServer...
Why is the container not redirecting to /emd/error/oc4j_error.html ?
Any input will be truly appreciated. Hopefully I am doing something wrong.
Thanks,
Krishnendu

Hi Frank,
Thanks for your reply. If I have a error page in the FORM login, then the container (according to j2ee specs) should redirect to /emd/oc4j_error.html if I authenticate as a user without administrator privileges.
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/jsp/login.jsp</form-login-page>
<form-error-page>/oc4j_error.html</form-error-page>
</form-login-config>
</login-config>
For all other containers (WAS, WebLogic and Sun Application server, Tomcat), it seems to work fine.
Thanks,
Krishnendu

Similar Messages

  • Smart Form Error Page format 2 with orientation 1 unknown

    I have created smart form with Page Format DINA4 (297x210). While executing the smart form i am getting error as "Page format 2 with orientation 1 unknown".

       Same Attributes on each page only Next Page is in increment order.

  • Tomcat problem with form based login

    Hi,
    I have a page for form-based login, but the problem is that the image and css files dont load on the login page request. What I gather from other discussions is that this is because these are still protected when the page is requested. How do I exclude them from being protected.
    Nirav

    Hi tolmank,
    Earlier I just filtered out the login page and images based on the extension, but now I am trying the second approach i.e. making a protected directory, but my application does not start. When i start it from the tomcat manager, it gives me this error,
    FAIL - Application at context path /<app dir> could not be started
    <web-resource-collection>
         <web-resource-name><app dir></web-resource-name>
         <url-pattern>/protected/*.jsp</url-pattern>
    </web-resource-collection>
    <login-config>
         <auth-method>FORM</auth-method>
         <form-login-config>
              <form-login-page>Login.jsp</form-login-page>
              <form-error-page>Error.jsp</form-error-page>
         </form-login-config>
    </login-config>
    what could be wrong?

  • Form based Login

    Im trying to add form based logon in my application and have been running into trouble with it. I get to my logon screen and when I enter the information I get the following error from GlassFish:
    [Web-Security] Policy Context ID was: Admin/Admin
    [Web-Security] hasUserDataPermission perm: (javax.security.jacc.WebUserDataPermission /j_security_check POST)
    [Web-Security] hasUserDataPermission isGranted: true
    Processing login with credentials of type: class com.sun.enterprise.security.auth.login.PasswordCredential
    Logging in user [Doug] into realm: Realm using JAAS module: jdbcRealm
    Login module initialized: class com.sun.enterprise.security.auth.login.JDBCLoginModule
    SEC1112: Cannot validate user [Doug] for JDBC realm, reason: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'User'.
    Cannot validate user
    com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'User'.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(Unknown Source)
    at com.microsoft.sqlserver.jdbc.TDSCommand.execute(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(Unknown Source)
    at com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm.isUserValid(JDBCRealm.java:324)
    at com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm.authenticate(JDBCRealm.java:299)
    at com.sun.enterprise.security.auth.login.JDBCLoginModule.authenticate(JDBCLoginModule.java:72)
    at com.sun.enterprise.security.auth.login.PasswordLoginModule.authenticateUser(PasswordLoginModule.java:90)
    at com.sun.appserv.security.AppservPasswordLoginModule.login(AppservPasswordLoginModule.java:184)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:295)
    at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:170)
    at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:123)
    at com.sun.web.security.RealmAdapter.authenticate(RealmAdapter.java:479)
    at com.sun.web.security.RealmAdapter.authenticate(RealmAdapter.java:419)
    at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:253)
    at org.apache.catalina.authenticator.AuthenticatorBase.processSecurityCheck(AuthenticatorBase.java:1011)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:622)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:609)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    JAAS authentication aborted.
    SEC5046: Audit: Authentication refused for [Doug].
    doPasswordLogin fails
    javax.security.auth.login.LoginException: Security Exception
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:856)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at com.sun.enterprise.security.auth.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:295)
    at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:170)
    at com.sun.enterprise.security.auth.LoginContextDriver.login(LoginContextDriver.java:123)
    at com.sun.web.security.RealmAdapter.authenticate(RealmAdapter.java:479)
    at com.sun.web.security.RealmAdapter.authenticate(RealmAdapter.java:419)
    at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:253)
    at org.apache.catalina.authenticator.AuthenticatorBase.processSecurityCheck(AuthenticatorBase.java:1011)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:622)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:609)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: java.lang.SecurityException
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:857)
    ... 35 more
    Web login failed: Login failed: javax.security.auth.login.LoginException: Security Exception
    [Web-Security] Policy Context ID was: Admin/Admin
    [Web-Security] hasUserDataPermission perm: (javax.security.jacc.WebUserDataPermission /loginError.jsp GET)
    [Web-Security] hasUserDataPermission isGranted: true
    [Web-Security] Policy Context ID was: Admin/Admin
    [Web-Security] hasUserDataPermission perm: (javax.security.jacc.WebUserDataPermission /images/signon_error_box.jpg GET)
    [Web-Security] hasUserDataPermission isGranted: true
    [Web-Security] Policy Context ID was: Admin/Admin
    [Web-Security] hasResource isGranted: true
    [Web-Security] hasResource perm: (javax.security.jacc.WebResourcePermission /images/signon_error_box.jpg GET)
    This is the code I put in web.xml
    <security-constraint>
       <display-name>Example Security Constraint</display-name>
       <web-resource-collection>
         <web-resource-name>Secured Area</web-resource-name>
               <description/>
               <url-pattern>*.jsp</url-pattern>
               </web-resource-collection>
       <auth-constraint>
         <role-name>Admin</role-name>
       </auth-constraint>
    </security-constraint>
    <login-config>
       <auth-method>FORM</auth-method>
       <realm-name>MyRealm</realm-name>
       <form-login-config>
         <form-login-page>/login.jsp</form-login-page>
         <form-error-page>/loginError.jsp</form-error-page>
       </form-login-config>
    </login-config>
       <error-page>
       <error-code>403</error-code>
       <location>/loginError.jsp</location>
    </error-page>I have login.jsp and loginError.jsp and login.jsp contains:
    <form action="j_security_check" method="POST">
                   Username: <input type="text" name="j_username" value="" size="15" /><br/><br/>
                   Password: <input type="password" name="j_password" value="" size="15" /><br/><br/>
                   <input type="submit" value="Login" />
                   </form>I created a User table and a Roles table in my database using SQL
    User
    username varchar NOT NULL
    userpass varchar NOT NULL
    Roles
    username varchar NOT NULL
    rolename varchar NOT NULL
    created my own Realm called MyReal and set the settings to match the database tables and their columns
    the class name is set to: com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm
    JAAS context: jdbcRealm
    JNDI: Required: jdbc/AAADDD
    User Table: User
    User Name Column: username
    Password Column: userpass
    Group Table: Roles
    Group Name Column: rolename
    Assign Group:
    Database User: AAADDD
    Database Password: AAADDD
    Digest Algorithm: md5
    Thanks for the help in advance

    Is there anyone who can help me with this?

  • How to display exception on error page raised from custom login module?

    Hi All,
    I've created my own login module and I am using form authentication mechanism.
    Here is how my login and error pages defined in web.xml:
        <login-config>
          <auth-method>FORM</auth-method>
          <form-login-config>
            <form-login-page>/logon.jsp</form-login-page>
            <form-error-page>/error.jsp</form-error-page>
          </form-login-config>
        </login-config>
    But when my login module throws an exception (LoginException) the following code in <i>error.jsp</i> returns null:
    <%=request.getAttribute("javax.servlet.error.message")%>
    though this code works good on Weblogic.
    Declaring the <i>error.jsp</i> also in the <error-page> tag didn't help.
    So what did I miss to configure?
    Or maybe NetWeaver doesn't allow to get the exception from the <form-error-page> at all?

    If I understand your question correctly, you can use the CQ.Notification JavaScript object for this. See documentation here: http://dev.day.com/docs/en/cq/current/widgets-api/index.html?class=CQ.Notification

  • J_security_check - custom error page

    Hi all,
    I've successfully run jazndemo - callerInfo sample from
    Oracle 9iAS and OC4J - version 9.0.3
    I then modified web.xml to use FORM-based auth,
    instead of BASIC auth.
    I utilize j_security_check for this purpose.
    FYI:
    - I use JAZNUserManager with XML (jazn-data.xml)
    - My browser is IE ver 5.0
    - I use OC4J 9.0.3.0.0
    This is the excerpt of my web.xml:
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>login.html</form-login-page>
    <form-error-page>error.html</form-error-page>
    </form-login-config>
    </login-config>
    It does run properly when I supplied correct userId and
    correct password, BUT if I supplied wrong UserId and/or
    password, OC4J ALWAYS display generic 403 (Forbidden) page !!
    Is it a bug?? It should display error.html instead.
    Please give me a hand on this, this thing really
    frustrate me..
    Any pointer would be a great help,
    Thanks in advance,
    --fadly

    After I re-read the post to make some sense out of it I have to add
    I have already added the drop down but how can I retrieve what is being selected after user presses login button

  • J_security_check & error pages

    I've inherited an app that utilizes j_security_check and everything works fine. I am trying to find a way to have multiple error pages (or allow the current error page to be customized), depending on the reason for the login failure. It seems you can only specify one error page in web.xml (is this correct?). Can you extract any information from the server (we're using Jboss2.2.1-Tomcat3.2.1) about why the login failed?
    Thanks

    Assuming you are talking about the form-error-page tag,...
    Even though you can specify one resource here, in the code that sits behind that resource, you could do many different things. Right ? For example, if that resource is set to map to a JSP, in that JSP, you could forward to one of different JSPs in turn. Is that in line with what you were/are trying to do ?

  • Customize error-page

    Hi all,
    May I customize error page for HTTP Status 401 (http authentication error)? I am using <auth-method>BASIC</auth-method> , therefore
    <form-error-page>/xxx.jsp</form-error-page> is not working, please advise.
    Thx.
    Jacky

    Use <error-page>/error.html</error-page> element

  • Form based login, iframes and session time out

    Hi all,
    I'm trying to create a site using form based login.
    The site contains a page protected page, default.jsp that have a logout button/link (clicking it invalidates the session), and a navigation bar with links linking opening them in iframes inside the default.jsp page:
    I have also a login.jsp page and and a error.jsp page
    Everything works fine I can login, I can logout. My problem occurs when the session times out and the user tries to access protected contents in the internal frames. He then is promted for a new login. The problem is that the login,jsp page now turns up inside the jframe designatet for my contents.
    I woud have liked the login page to turn up at the top level i.e. filling the entire browser window (i.e on the same level as the default.jsp page). Is this somehow possible?
    Regards
    Uno Engborg

    Easy answer: use JS to jump out iframe.
    Best answer: don't use iframes, but use server side includes like jsp:include. Iframes have too much disadvangages, topping the extremely bad SEO and UX.

  • How to get username from Form-based login

    I am using form-based login in my web.xml file.
    When I attempt to access a protected .jsp page, I get sent to my login page as expected.
    When I enter my username/password successfully it forwards me to the .jsp page I was trying to go to, as expected.
    From that .jsp page, how do I get the username/password info from the login form? I looked at the session attributes, request attributes, and request parameters, but I don't see anything. Does the form-based authentication remove these variables?
    I need the username that is filled out in the login form, so that I can do custom work with it. I cannot ask the user for it again after they login, as that is inefficient and sloppy.

    Found it.
    request.getUserPrincipal().getName()

  • Redirect to a custom error page when Forms Server shuts down

    Hi,
    I want the forms application to redirect to a custom error page whenever Forms Server goes down. (like network issues, unscheduled shutdown...) Whenever this happens, the user gets a pop up with FRM messages and user has to acknowledge the pop up. Since the application is used in the shop floor, there will not be any user always in front of the screen and will be a very big issue as there are at least 70-80 PC's on the floor which will be attended fewer times(only when there is issue with the machine) other wise the application displays important events of the machine,etc.,
    I am trying to develop a simple HTML error page(may be with applet) which will keep querying the forms server and once the forms server is up and running, the error page will revert back to the application which the user was working earlier to shutdown. Other option is the redirect to main menu of the application (this may be a PSP or a JSP or a Oracle Forms Menu ).
    Is there any event in forms to capture the loss of connection to forms server ??
    BTW, I am using Oracle Application Server 10g Forms and Reports on Windows 2000 Server...
    Any ideas...
    Thanks in advance
    Purush

    I don't think it will be easily possible in Forms for a couple of reasons.
    1. In Forms you do not have query rights, and as soon as you want to edit data, you have to log in. In Forms you log in once, and this sets your rights for the whole session. You will have to do some programming in Forms to achieve what you want. E.g. as soon as you hit the Save button you are asked for a username and password.
    2. A refresh cannot be done in Forms. Remember that Forms is a Java applet. The URL in the browser is just pointing to the startup page only. If you refresh your screen, you are taken back to the login screen of Forms again.
    Well, there will probably be ways around these problems. I'm thinking in the line of calling every form in a separate URL instead of starting a Forms application where one form is called from another form. The default 'query only' form can be called from a startup html page. This page can be refreshed. As soon as the user wants to update data, he clicks on a link or button and is taken to a login form.
    If the refresh is unsuccessful you are taken to a custom error page, like in your ASP application.
    A problem with an automatich refresh may be hanging sessions. Forms server does not always kill sessions.
    And also, how would you avoid a refresh if a user is currently using the form?

  • Report, Form, and Data Component portlets go to error page

    I am able to add Report Form and Data Component portlets to my page, but when I click on the define button it takes me to my error page.
    Have I missed configuring something?

    hello friends,
    thanks for replly,
    i m using command noe after table node in main window, but i want display the data below the main window , it is diplaying  new page as required but only missing data below the main window.
    to be more clear i want to print all the window in first page then only go for next page , so is there any condition or parmeter in main window to go next page only agfter completion of first page.
    dont worry abt points.

  • Dreamweaver Form Won't Submit- Says Error page cannot be displayed

    My dreamweaver form won't submit because it says there is an error. Am I doing something wrong? I don't know much about forms and how they submit but I heard that in order for their to be a confirmation page I have to create a php page? Here's my code. Thanks!
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Rental and Availability Information</title>
    <style type="text/css">
    <!--
    @import url("CSS Styles/ThankYou.css");
    .style18 {font-size: 16px; font-weight: bold; }
    .style21 {color: #FFFFFF}
    .style42 {
    font-size: 16px;
    color: #000000;
    font-family: Garamond;
    a:link {
    color: #000000;
    .style43 {
    font-family: Garamond;
    color: #FFFFFF;
    font-weight: bold;
    .style44 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: large;
    -->
    </style>
    <link href="CSS Styles/ActivBorder.css" rel="stylesheet" type="text/css" />
    <link href="CSS Styles/border.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    .style50 {
    font-family: "Goudy Old Style";
    font-weight: bold;
    font-size: 24px;
    color: #FFFFFF;
    .style57 {font-family: Verdana, Arial, Helvetica, sans-serif}
    .style58 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; }
    -->
    </style>
    </head>
    <body>
    <form id="form2" name="form2" method="post" action="inquiryreceipt.html">
      <table width="556" border="0" align="center" cellspacing="0" bgcolor="#003366" class="ImageBorder">
        <tr>
          <td colspan="3" valign="top"><div align="center" class="style50"><u>Rental and Availability Information</u></div></td>
        </tr>
        <tr>
          <td width="189"><div align="right" class="style18 style57"><span class="style21">Name:</span></div></td>
          <td colspan="2"><input name="name" type="text" id="name" size="50" maxlength="100" /></td>
        </tr>
        <tr>
          <td><div align="right" class="style18 style57"><span class="style21">Property of Interest: </span></div></td>
          <td colspan="2"><label>
            <select name="property" size="1" id="property">
              <option>Butte Creek</option>
              <option>Casa De Ladrillo</option>
              <option>Collins Island</option>
              <option>The Crosby Estate</option>
              <option>Kailua Beach</option>
              <option>Keefer Ranch</option>
              <option>Koko Head</option>
              <option>Rancho Mirage</option>
              <option>San Diego Luxury High Rise</option>
              <option>Santiago Canyon</option>
              <option>South Lake Tahoe</option>
            </select>
          </label></td>
        </tr>
        <tr>
          <td><div align="right" class="style18 style57"><span class="style21">Dates:</span></div></td>
          <td width="83" align="right" bgcolor="#003366"><div align="right" class="style58">
            <div align="right"><span class="style21">Arrival:</span></div>
          </div></td>
          <td width="270" align="left" bgcolor="#003366" class="FormBorder"><strong>
            <select name="smonth" id="smonth">
              <option>Month</option>
              <option value="January">January</option>
              <option value="February">February</option>
              <option value="March">March</option>
              <option value="April">April</option>
              <option value="May">May</option>
              <option value="June">June</option>
              <option value="July">July</option>
              <option value="August">August</option>
              <option value="Semptember">September</option>
              <option value="Octover">October</option>
              <option value="November">November</option>
              <option value="December">December</option>
            </select>
            <select name="select" id="select">
              <option>Day</option>
              <option value="1">1</option>
              <option value="2">2</option>
              <option value="3">3</option>
              <option value="4">4</option>
              <option value="5">5</option>
              <option value="6">6</option>
              <option value="7">7</option>
              <option value="8">8</option>
              <option value="9">9</option>
              <option value="10">10</option>
              <option value="11">11</option>
              <option value="12">12</option>
              <option value="13">13</option>
              <option value="14">14</option>
              <option value="15">15</option>
              <option value="16">16</option>
              <option value="17">17</option>
              <option value="18">18</option>
              <option value="19">19</option>
              <option value="20">20</option>
              <option value="21">21</option>
              <option value="22">22</option>
              <option value="23">23</option>
              <option value="24">24</option>
              <option value="25">25</option>
              <option value="26">26</option>
              <option value="27">27</option>
              <option value="28">28</option>
              <option value="29">29</option>
              <option value="30">30</option>
              <option value="31">31</option>
            </select>
            <strong><strong>
            <select name="select2" id="select2">
              <option>Year</option>
              <option value="2002">2002</option>
              <option value="2003">2003</option>
              <option value="2004">2004</option>
              <option value="2005">2005</option>
              <option value="2006">2006</option>
              <option value="2007">2007</option>
              <option value="2003">2008</option>
            </select>
            </strong></strong>      </strong>       
          <div align="left"></div>      <div align="left"></div></td>
        </tr>
        <tr>
          <td><span class="style57"></span></td>
          <td bgcolor="#003366"><div align="right" class="style58">
            <div align="right"><span class="style21">Departure:</span></div>
          </div></td>
          <td align="left" valign="middle" bgcolor="#003366" class="FormBorder"><strong>
            <select name="smonth" id="smonth">
              <option>Month</option>
              <option value="January">January</option>
              <option value="February">February</option>
              <option value="March">March</option>
              <option value="April">April</option>
              <option value="May">May</option>
              <option value="June">June</option>
              <option value="July">July</option>
              <option value="August">August</option>
              <option value="Semptember">September</option>
              <option value="Octover">October</option>
              <option value="November">November</option>
              <option value="December">December</option>
            </select>
            <select name="sday" id="sday">
              <option>Day</option>
              <option value="1">1</option>
              <option value="2">2</option>
              <option value="3">3</option>
              <option value="4">4</option>
              <option value="5">5</option>
              <option value="6">6</option>
              <option value="7">7</option>
              <option value="8">8</option>
              <option value="9">9</option>
              <option value="10">10</option>
              <option value="11">11</option>
              <option value="12">12</option>
              <option value="13">13</option>
              <option value="14">14</option>
              <option value="15">15</option>
              <option value="16">16</option>
              <option value="17">17</option>
              <option value="18">18</option>
              <option value="19">19</option>
              <option value="20">20</option>
              <option value="21">21</option>
              <option value="22">22</option>
              <option value="23">23</option>
              <option value="24">24</option>
              <option value="25">25</option>
              <option value="26">26</option>
              <option value="27">27</option>
              <option value="28">28</option>
              <option value="29">29</option>
              <option value="30">30</option>
              <option value="31">31</option>
            </select>
            <strong> <strong><strong>
            <select name="syear" id="syear">
              <option>Year</option>
              <option value="2002">2002</option>
              <option value="2003">2003</option>
              <option value="2004">2004</option>
              <option value="2005">2005</option>
              <option value="2006">2006</option>
              <option value="2007">2007</option>
              <option value="2003">2008</option>
            </select>
            </strong></strong></strong>      </strong></td>
        </tr>
        <tr>
          <td><div align="right" class="style18 style57"><span class="style21">Email:</span></div></td>
          <td colspan="2"><input name="email" type="text" id="email" size="50" maxlength="50" /></td>
        </tr>
        <tr>
          <td><div align="right" class="style18 style57"><span class="style21">Phone: </span></div></td>
          <td colspan="2"><input name="phone" type="text" id="phone" size="30" maxlength="30" /></td>
        </tr>
        <tr>
          <td height="204" valign="top" bgcolor="#003366"><div align="right" class="style18 style57"><span class="style21">Additional Info: </span></div></td>
          <td colspan="2" bgcolor="#003366"><label>
            <textarea name="info" cols="40" rows="10" id="info"></textarea>
          </label></td>
        </tr>
        <tr bgcolor="#660000" class="FormBorder">
          <td height="33" valign="middle" bgcolor="#003366"><label for="Submit"></label>
              <label for="label3"></label></td>
          <td colspan="2" align="center" valign="middle" bgcolor="#003366"><div align="left">
              <input type="reset" name="Reset" value="Clear" id="Submit" />
              <input type="submit" name="Submit" value="Submit" id="label3" />
          </div></td>
        </tr>
        <tr bgcolor="#660000" class="FormBorder">
          <td height="33" valign="middle" bgcolor="#003366"><div align="left" class="style43"><span class="style29 style44"><strong>&laquo;</strong></span> <a href="Index.html" class="style60"><span class="style61 style21"><u>HOME</u></span></a></div></td>
          <td colspan="2" align="center" valign="middle" bgcolor="#003366"> </td>
        </tr>
      </table>
      <div align="center"><span class="style42">&copy;<strong><a href="Index.html">TheBestSpots.com</a>   Phone: (800) 761-9819 Fax: (949) 851-0450 <a href="mailto:[email protected]"><br />
      [email protected]</a></strong></span>  </div>
    </form>
    </body>
    </html>

    I believe my it guys have php on their server. When I look on the internet
    to try and use the form to test it, I get the error:
    The website cannot display the page
    HTTP 500
    Most likely causes:
    The website is under maintenance.
    The website has a programming error.
    What you can try:
    Refresh the page.
    Go back to the previous page.
    Here's one php code I have linked to one of my documents:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    .ThankYou {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    border: thick dotted #660033;
    font-family: "Times New Roman", Times, serif;
    font-size: 24px;
    font-weight: bold;
    color: #660033;
    font-style: italic;
    background-color: #FFFFFF;
    .style3 {
    font-size: 18px;
    font-style: italic;
    font-weight: bold;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #000066;
    .style4 {font-size: 30px}
    a:link {
    color: #000066;
    a:visited {
    color: #000000;
    a:hover {
    color: #000000;
    a:active {
    color: #000000;
    -->
    </style>
    </head>
    <body>
    <div align="center">
      <table width="780" height="150" border="1" class="ThankYou">
        <tr>
          <td valign="middle"><div align="center">
            <p class="style4">Thank You For Submitting Your Comments!</p>
            <p>-The Best Spots<br />
              Luxury Vacation Rentals</p>
          </div></td>
        </tr>
      </table>
      <p align="left"><img src="BOPIcon copy.gif" alt="BirdOfParadise" width="36" height="36" /><span class="style3"><a href="Index.html">TheBestSpots.com </a></span></p>
    </div>
    <p>
      <?php
    $txtToAddr = '[email protected]' ;
       $txtSubj = 'Guest Comment From '. $_POST['fname'] . ' ' .  $_POST['lname'] . ' email '. $_POST['email'] . ' Property' . $_POST['property'] ;
    $txtFromAddr = $_POST['email'];
    $txtBody = $startdate = $_POST['smonth']  .  $_POST['sday'] . $_POST['syear'] . ' ' . $enddate = $_POST['emonth'] . $_POST['eday'] . $_POST['eyear'] . ' ' . $_POST['comments'] ;
       $headers = 'From: '. $txtFromAddr . "\r\n" .
        'Reply-To: ' . $txtFromAddr . "\r\n" .
        'X-Mailer: PHP/' . phpversion();
        // echo " Thank you for you request. You will be contacted within 1 business day."; 
        mail( "$txtToAddr", "$txtSubj", "$txtBody", "$headers");
    ?>
    </p>
    <p> </p>
    <p>  </p>
    </body>
    </html>
    And here's the other php code I have linked to the other:
    <?php
    $FM_VERS = "8.05";      // script version
    /* ex:set ts=4 sw=4 et:
    * FormMail PHP script from Tectite.com.  This script requires PHP 4 or later.
    * Copyright (c) 2001-2008 Root Software and Open Concepts Pty Ltd
    * (ABN 93 003 733 499), Melbourne, Australia.
    * This script is free for all use as described in the "Copying and Use" and
    * "Warranty and Disclaimer" sections below.
    * Visit us at http://www.tectite.com/ for updates and more information.
    *** If you use Tectite FormMail, please support its development and other
    *** freeware products by putting the following link on your website:
    ***  Visit www.tectite.com for free <a href="http://www.tectite.com/">form processing script</a>.
    * Author: Russell Robinson, 2nd October 2001
    * Last Modified: RR 14:07 Wed 15 August 2007
    * QVCS Version: $Revision: 1.4 $
    * Read This First
    * ~~~~~~~~~~~~~~~
    *  This script is very well documented and quite large!  It looks daunting,
    *  but really isn't.
    *  If you have experience with PHP or other scripting languages,
    *  here's what you *need* to read:
    *      - Configuration (TARGET_EMAIL & DEF_ALERT)
    *      - Creating Forms
    *  That's it!  (Alternatively, just read the Quick Start and/or
    *  Quicker Start section below).
    *  Full configuration documentation is here:
    *      http://www.tectite.com/fmdoc/index.php
    * Purpose:
    * ~~~~~~~~
    *  To accept information from an HTML form via HTTP and mail it to recipients.
    * What does this PHP script do?
    * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    *  On your web site, you may have one or more HTML forms that accept
    *  information from people visiting your website.  Your aim is for your
    *  website to email that information to you and/or add it to a database.
    *  FormMail performs those functions.
    * Quick Start
    * ~~~~~~~~~~~
    *  1. Edit this file and set TARGET_EMAIL for your requirements (near
    *      line 235 in this file - replace "yourhost\.com" with your mail server's
    *      name).  We also strongly recommend you set DEF_ALERT (the next
    *      configuration below TARGET_EMAIL).
    *  2. Install this file as formmail.php (or other name ending in .php)
    *     on your web server.
    *  3. Create an HTML form and:
    *      - specify a hidden field called "recipients" with the email address
    *        of the person to receive the form's results.
    *      - in the your form tag set the action attribute to
    *        the formmail.php you uploaded to your web server
    *  Once you have FormMail working, you may be interested in some advanced
    *  usage and features.  We have HOW-TO guides at www.tectite.com which
    *  describe many of the advanced processing you can do with FormMail.
    *      http://www.tectite.com/fmhowto/guides.php
    * Quicker Start
    * ~~~~~~~~~~~~~
    *  Use the FormMail Configuration Wizard here:
    *      http://www.tectite.com/wizards/fmconf.php
    *  By answering a few questions you'll get a configured FormMail and
    *  a sample HTML form ready to upload and use on your server.
    * Features
    * ~~~~~~~~
    *  For a list of features go to: http://www.tectite.com/formmailpage.php
    * Security
    * ~~~~~~~~
    *  Security is the primary concern in accepting data from your website
    *  visitors.
    *  Tectite FormMail has several security features designed into it.  Note,
    *  however, it requires configuration for your particular web site.
    * Configuration
    * ~~~~~~~~~~~~~
    *  To configure this script, go to the section titled "CONFIGURATION"
    *  (after reading the legal stuff below).
    *  There is only one mandatory setting: TARGET_EMAIL
    *  and one strongly recommended setting: DEF_ALERT
    *  Full configuration information is available here:
    *      http://www.tectite.com/fmdoc/index.php
    * Creating Forms
    * ~~~~~~~~~~~~~~
    *  Go to this URL to learn how to write HTML forms for use with
    *  Tectite FormMail: http://www.tectite.com/fmdoc/creating_forms.php
    * Copying and Use
    * ~~~~~~~~~~~~~~~
    *  Tectite FormMail is provided free of charge and may be freely distributed
    *  and used provided that you:
    *      1. keep this header, including copyright and comments,
    *         in place and unmodified; and,
    *      2. do not charge a fee for distributing it, without an agreement
    *         in writing with Root Software allowing you to do so; and,
    *      3. if you modify FormMail before distributing it, you clearly
    *         identify:
    *              a) who you are
    *              b) how to contact you
    *              c) what changes you have made
    *              d) why you have made those changes.
    * Warranty and Disclaimer
    * ~~~~~~~~~~~~~~~~~~~~~~~
    *  Tectite FormMail is provided free-of-charge and with ABSOLUTELY NO WARRANTY.
    *  It has not been verified for use in critical applications, including,
    *  but not limited to, medicine, defense, aircraft, space exploration,
    *  or any other potentially dangerous activity.
    *  By using Tectite FormMail you agree to indemnify Root Software and
    *  Open Concepts Pty Ltd, their agents, employees, directors and
    *  associated companies and businesses from any liability whatsoever.
    * We still care
    * ~~~~~~~~~~~~~
    *  If you find a bug or fault in FormMail, please report it to us.
    *  We will respond to your report and make endeavours to rectify any
    *  faults you've detected as soon as possible.
    *  To contact us please register on our forums at:
    *      http://www.tectite.com/vbforums/
    *  or view our contact information:
    *      http://www.tectite.com/contacts.php
    * Version History
    * ~~~~~~~~~~~~~~~
    *  Near the top of this file, you'll find its version. The version
    *  line looks like this:
    *       $FM_VERS = "N.MM";     /* script version ...
    *  The version history used to be located within this file.  However,
    *  starting with Version 8.00 we've moved it...
    *  You can read the complete version history of FormMail on our
    *  main website here:
    *   http://www.tectite.com/fmdoc/version_history.php
        // Capture the current date and time, for various purposes.
    $lNow = time();
    set_magic_quotes_runtime(0);        // disable this silly setting (usually not enabled)
    ini_set('track_errors',1);          // enable $php_errormsg
    $aAlertInfo = array();
    $aPHPVERSION = array();
    $sLangID = "";                      // the language ID
    $aMessages = array();               // all FormMail messages in the appropriate
                                        // language
    $bUseOldVars = IsOldVersion($aPHPVERSION);
        // seed the random number generate if not version 4.2.0 or later
    if (!IsPHPAtLeast("4.2.0"))
        mt_srand(time());
        // we set references to the appropriate arrays to handle PHP version differences
        // Session vars are selected after we start the session.
    if ($bUseOldVars)
        $aServerVars = &$HTTP_SERVER_VARS;
        $aGetVars = &$HTTP_GET_VARS;
        $aFormVars = &$HTTP_POST_VARS;
        $aFileVars = &$HTTP_POST_FILES;
        $aEnvVars = &$HTTP_ENV_VARS;
    else
        $aServerVars = &$_SERVER;
        $aGetVars = &$_GET;
        $aFormVars = &$_POST;
        $aFileVars = &$_FILES;
        $aEnvVars = &$_ENV;
    $bIsGetMethod = false;
        // If the form submission was using the GET method, switch to the
        // GET vars instead of the POST vars
    if (isset($aServerVars["REQUEST_METHOD"]) && $aServerVars["REQUEST_METHOD"] === "GET")
        $bIsGetMethod = true;
        if ($bUseOldVars)
            $aFormVars = &$HTTP_GET_VARS;
        else
            $aFormVars = &$_GET;
    if (!isset($REAL_DOCUMENT_ROOT))
        SetRealDocumentRoot();
    if (isset($aServerVars['SERVER_PORT']))
        $SCHEME = ($aServerVars['SERVER_PORT'] == 80) ? "http://" : "https://";
    else
        $SCHEME = "";
    if (isset($aServerVars['SERVER_NAME']))
        $SERVER = $aServerVars['SERVER_NAME'];
    else
        $SERVER = "";
    /* CONFIGURATION (do not alter this line in any way!!!)                      */
    * This is the *only* place where you need to modify things to use formmail.php
    * on your particular system.  This section finishes at "END OF CONFIGURATION".
    * Help for all settings can be found on our website:
    *  http://www.tectite.com/fmdoc/index.php
    * Also, above each setting is a direct URL to the help information for the
    * setting.
                /* Help: http://www.tectite.com/fmdoc/email_name.php */
    define("EMAIL_NAME","^[-a-z0-9.]+");    // the '^' is an important security feature!
                /* Help: http://www.tectite.com/fmdoc/target_email.php */
    $TARGET_EMAIL = array(EMAIL_NAME."@thebestspots\.com$");
                /* Help: http://www.tectite.com/fmdoc/def_alert.php */
    define("DEF_ALERT","[email protected]");
                /* Help: http://www.tectite.com/fmdoc/set_real_document_root.php */
    $SET_REAL_DOCUMENT_ROOT = "";       // overrides the value set by SetRealDocumentRoot function
        // override $REAL_DOCUMENT_ROOT from the $SET_REAL_DOCUMENT_ROOT value (if any)
        // Do not alter the following code (next 3 lines)!
    if (isset($SET_REAL_DOCUMENT_ROOT) && $SET_REAL_DOCUMENT_ROOT !== "")
        $REAL_DOCUMENT_ROOT = $SET_REAL_DOCUMENT_ROOT;
                /* Help: http://www.tectite.com/fmdoc/config_check.php */
    $CONFIG_CHECK = array("TARGET_EMAIL");
                /* Help: http://www.tectite.com/fmdoc/at_mangle.php */
    define("AT_MANGLE","5VLNXQL");
                /* Help: http://www.tectite.com/fmdoc/target_urls.php */
    $TARGET_URLS = array();         // default; no URLs allowed
                /* Help: http://www.tectite.com/fmdoc/head_crlf.php */
    define("HEAD_CRLF","\r\n");
                /* Help: http://www.tectite.com/fmdoc/body_lf.php */
    define("BODY_LF","\r\n");       // the new default: use this for CR+LF
    //define("BODY_LF","\n");       // the old default: just LF
                /* Help: http://www.tectite.com/fmdoc/from_user.php */
    $FROM_USER = "";                            // the default - setting not used
                /* Help: http://www.tectite.com/fmdoc/sendmail_f_option.php */
    define("SENDMAIL_F_OPTION",false);
    define("SENDMAIL_F_OPTION_LINE",__LINE__-1);    // don't modify this line!
                /* Help: http://www.tectite.com/fmdoc/fixed_sender.php */
    $FIXED_SENDER = "";
                /* Help: http://www.tectite.com/fmdoc/set_sender_from_email.php */
    define("SET_SENDER_FROM_EMAIL",false);
                /* Help: http://www.tectite.com/fmdoc/ini_set_from.php */
    define("INI_SET_FROM",false);
                /* Help: http://www.tectite.com/fmdoc/logdir.php */
    $LOGDIR = "";                           // directory for log files; empty string to
                                            // disallow log files
                /* Help: http://www.tectite.com/fmdoc/autorespondlog.php */
    $AUTORESPONDLOG = "";           // file name in $LOGDIR for the auto responder
                                    // log; empty string for no auto responder log
                /* Help: http://www.tectite.com/fmdoc/csv_file_settings.php */
    $CSVDIR = "";                       // directory for csv files; empty string to
                                        // disallow csv files
    $CSVSEP = ",";      // comma separator between fields (columns)
    $CSVINTSEP = ";";   // semicolon is the separator for fields (columns)
                        // with multiple values (checkboxes, etc.)
    $CSVQUOTE = '"';    // all fields in the CSV are quoted with this character;
                        // default is double quote.  You can change it to
                        // single quote or leave it empty for no quotes.
    //$CSVQUOTE = "'";  // use this if you want single quotes
    $CSVOPEN = "";      // set to "b" to force line terminations to be
                        // kept as $CSVLINE setting below, regardless of
                        // operating system.  Keep as empty string and
                        // leave $CSVLINE unchanged, to get text file
                        // terminations for your server's operating system.
                        // (Line feed on UNIX, carriage-return line feed on Windows).
    $CSVLINE = "\n";    // line termination for CSV files.  The default is
                        // a single line feed, which may be modified for your
                        // server's operating system.  If you want to change
                        // this value, you *must* set $CSVOPEN = "b".
                /* Help: http://www.tectite.com/fmdoc/templatedir.php */
    $TEMPLATEDIR = "";                  // directory for template files; empty string
                                        // if you don't have any templates
                /* Help: http://www.tectite.com/fmdoc/templateurl.php */
    $TEMPLATEURL = "";                  // default; no template URL
                /* Help: http://www.tectite.com/fmdoc/multiformdir.php */
    $MULTIFORMDIR = "";         // directory for multi-form template files; empty string
                                // if you're not using multi-forms
                /* Help: http://www.tectite.com/fmdoc/multiformurl.php */
    $MULTIFORMURL = "";                 // default; no multi-forms templates URL
                /* Help: http://www.tectite.com/fmdoc/authentication_settings.php */
    $AUTHENTICATE = "";
    //$AUTHENTICATE = "Basic cnVzc2VsbHI6dGVzdA==";        // example
    $AUTH_USER = "";
    $AUTH_PW = "";
                /* Help: http://www.tectite.com/fmdoc/form_ini_file.php */
    $FORM_INI_FILE = "";
                /* Help: http://www.tectite.com/fmdoc/moduledir.php */
    $MODULEDIR = ".";
                /* Help: http://www.tectite.com/fmdoc/fmcompute.php */
    $FMCOMPUTE = "fmcompute.php";
                /* Help: http://www.tectite.com/fmdoc/fmgeoip.php */
    $FMGEOIP = "fmgeoip.php";
                /* Help: http://www.tectite.com/fmdoc/advanced_templates.php */
    define("ADVANCED_TEMPLATES",false);     // set to true for advanced templates
                /* Help: http://www.tectite.com/fmdoc/limited_import.php */
    define("LIMITED_IMPORT",true);      // set to true if your database cannot
                                        // handle escaped quotes or newlines within
                                        // imported data.  Microsoft Access is one
                                        // example.
                /* Help: http://www.tectite.com/fmdoc/valid_env.php */
    $VALID_ENV = array('HTTP_REFERER','REMOTE_HOST','REMOTE_ADDR','REMOTE_USER',
                    'HTTP_USER_AGENT');
                /* Help: http://www.tectite.com/fmdoc/fileuploads.php */
    define("FILEUPLOADS",false);        // set to true to allow file attachments
                /* Help: http://www.tectite.com/fmdoc/max_file_upload_size.php */
    define("MAX_FILE_UPLOAD_SIZE",0);       // default of 0 means that other software
                                            // controls the maximum file upload size
                                            // (FormMail doesn't test the file size)
                /* Help: http://www.tectite.com/fmdoc/file_repository.php */
    $FILE_REPOSITORY = "";
                /* Help: http://www.tectite.com/fmdoc/file_mode.php */
    define("FILE_MODE",0664);     // always precede with 0 to specify octal!
                /* Help: http://www.tectite.com/fmdoc/file_overwrite.php */
    define("FILE_OVERWRITE",true);
                /* Help: http://www.tectite.com/fmdoc/next_num_file.php */
    $NEXT_NUM_FILE = "";
                /* Help: http://www.tectite.com/fmdoc/put_data_in_url.php */
    define("PUT_DATA_IN_URL",true); // set to true to place data in the URL
                                        // for bad_url redirects
                /* Help: http://www.tectite.com/fmdoc/db_see_input.php */
    define("DB_SEE_INPUT",false);       // set to true to just see the input values
                /* Help: http://www.tectite.com/fmdoc/db_see_ini.php */
    define("DB_SEE_INI",false);     // set to true to just see the ini file
                /* Help: http://www.tectite.com/fmdoc/maxstring.php */
    define("MAXSTRING",1024);           // maximum string length for a value
                /* Help: http://www.tectite.com/fmdoc/bshowmesgnumbers.php */
    $bShowMesgNumbers = false;
                /* Help: http://www.tectite.com/fmdoc/filters.php */
                /* Note for Tectite personnel: the upgrade Wizard will merge new values
                 * but be careful of $var usage and quoting in new entries.
    $FILTERS = array("encode"=>"$REAL_DOCUMENT_ROOT/cgi-bin/fmencoder -kpubkey.txt",
                    "null"=>"null",
                    "csv"=>"csv");
                /* Help: http://www.tectite.com/fmdoc/socket_filters.php */
    $SOCKET_FILTERS = array(
                     "httpencode"=>array("site"=>"YourSiteHere",
                        "port"=>80,
                        "path"=>"/cgi-bin/fmencoder",
                        "params"=>array(array("name"=>"key",
                                "file"=>"$REAL_DOCUMENT_ROOT/cgi-bin/pubkey.txt"))),
                     "sslencode"=>array("site"=>"ssl://YourSecureSiteHere",
                        "port"=>443,
                        "path"=>"/cgi-bin/fmencoder",
                        "params"=>array(array("name"=>"key",
                                "file"=>"$REAL_DOCUMENT_ROOT/cgi-bin/pubkey.txt"))),
                /* Help: http://www.tectite.com/fmdoc/filter_attribs.php */
    $FILTER_ATTRIBS = array("encode"=>"Strips,MIME=application/vnd.fmencoded,Encrypts",
                            "httpencode"=>"Strips,MIME=application/vnd.fmencoded,Encrypts",
                            "sslencode"=>"Strips,MIME=application/vnd.fmencoded,Encrypts",
                            "csv"=>"Strips,MIME=text/csv",);
                /* Help: http://www.tectite.com/fmdoc/check_for_new_version.php */
    define("CHECK_FOR_NEW_VERSION",true);
    define("CHECK_DAYS",30);
                /* Help: http://www.tectite.com/fmdoc/scratch_pad.php */
    $SCRATCH_PAD = "";
                /* Help: http://www.tectite.com/fmdoc/cleanup_time.php */
    $CLEANUP_TIME = 60;     // cleanup time in minutes
                /* Help: http://www.tectite.com/fmdoc/cleanup_chance.php */
    $CLEANUP_CHANCE = 20;     // percentage probability that cleanup will be performed
                /* Help: http://www.tectite.com/fmdoc/pear_settings.php */
    $PEAR_SMTP_HOST = "";
    $PEAR_SMTP_PORT = 25;
    $PEAR_SMTP_USER = "";
    $PEAR_SMTP_PWD = "";
                /* Help: http://www.tectite.com/fmdoc/alert_on_user_error.php */
    define("ALERT_ON_USER_ERROR",true);
                /* Help: http://www.tectite.com/fmdoc/enable_attack_detection.php */
    define("ENABLE_ATTACK_DETECTION",true);
                /* Help: http://www.tectite.com/fmdoc/attack_detection_url.php */
    define("ATTACK_DETECTION_URL","");
                /* Help: http://www.tectite.com/fmdoc/alert_on_attack_detection.php */
    define("ALERT_ON_ATTACK_DETECTION",false);
                /* Help: http://www.tectite.com/fmdoc/attack_detection_mime.php */
    define("ATTACK_DETECTION_MIME",true);
                /* Help: http://www.tectite.com/fmdoc/attack_detection_dups.php */
    $ATTACK_DETECTION_DUPS = array("realname","address1","address2","country","zip",
                                    "phone","postcode","state","email");
                /* Help: http://www.tectite.com/fmdoc/attack_detection_specials.php */
    define("ATTACK_DETECTION_SPECIALS",true);
                /* Help: http://www.tectite.com/fmdoc/attack_detection_specials.php */
    $ATTACK_DETECTION_SPECIALS_ONLY_EMAIL = array("derive_fields","required",
                        "mail_options","good_url","bad_url","good_template",
                        "bad_template");
                /* Help: http://www.tectite.com/fmdoc/attack_detection_specials.php */
    $ATTACK_DETECTION_SPECIALS_ANY_EMAIL = array("subject");
                /* Help: http://www.tectite.com/fmdoc/attack_detection_many_urls.php */
    define("ATTACK_DETECTION_MANY_URLS",0);
                /* Help: http://www.tectite.com/fmdoc/attack_detection_many_url_fields.php */
    define("ATTACK_DETECTION_MANY_URL_FIELDS",0);
                /* Help: http://www.tectite.com/fmdoc/attack_detection_url_patterns.php */
    $ATTACK_DETECTION_URL_PATTERNS = array(
                '(^|[^-a-z_.0-9]+)(?<!@)([-a-z0-9]+\.)+(com|org|net|biz|info|name|pro|tel|asia|cat)\b',
                '(^|[^-a-z_.0-9]+)(?<!@)([-a-z0-9]+\.)+(com{0,1}|org|net)\.[a-z][a-z]\b');
                /* Help: http://www.tectite.com/fmdoc/attack_detection_ignore_errors.php */
    define("ATTACK_DETECTION_IGNORE_ERRORS",false);
                /* Help: http://www.tectite.com/fmdoc/geoip_lic.php */
    $GEOIP_LIC = "";        // default - no GeoIP
                /* Help: http://www.tectite.com/fmdoc/zero_is_empty.php */
    define("ZERO_IS_EMPTY",false);
                /* Help: http://www.tectite.com/fmdoc/session_name.php */
    $SESSION_NAME = "";
                /* Help: http://www.tectite.com/fmdoc/hook_dir.php */
    $HOOK_DIR = "";
    /* UPGRADE CONTROL
    ** FILTERS:lt:8.04:merge:The FILTERS configuration has
    ** been modified to include some new standard filters.:
    ** FILTER_ATTRIBS:lt:8.04:no_keep:The FILTER_ATTRIBS configuration has
    ** been modified to include new information about the standard filters.:
    ** ATTACK_DETECTION_URL_PATTERNS:eq:8.02:no_keep:The ATTACK_DETECTION_URL_PATTERNS
    ** configuration has been modified to fix a bug.:
    ** FILTER_ATTRIBS:lt:4.00:no_keep:The FILTER_ATTRIBS configuration has
    ** been modified to include new information about the standard filters.:
    ** SET_REAL_DOCUMENT_ROOT:gt:4.07:copy_from=REAL_DOCUMENT_ROOT:The
    ** REAL_DOCUMENT_ROOT configuration has been renamed to SET_REAL_DOCUMENT_ROOT.:
    ** EMAIL_NAME:lt:6.01:no_keep:The EMAIL_NAME configuration has
    ** been modified to match hyphens ('-') in email addresses.:
    ** ZERO_IS_EMPTY:le:6.01:set_to=true:ZERO_IS_EMPTY has been
    ** set to a value that duplicates previous behaviour.:
    ** END OF CONTROL
    /* END OF CONFIGURATION (do not alter this line in any way!!!)               */
        // the following constants define all FormMail messages
    define('MSG_SCRIPT_VERSION',0);     // This script requires at least PHP version...
    define('MSG_END_VERS_CHK',1);       // If you're happy...
    define('MSG_VERS_CHK',2);           // A later version of FormMail is available...
    define('MSG_CHK_FILE_ERROR',3);     // Unable to create check file...
    define('MSG_UNK_VALUE_SPEC',4);     // derive_fields: unknown value specification...
    define('MSG_INV_VALUE_SPEC',5);     // derive_fields: invalid value specification...
    define('MSG_DERIVED_INVALID',6);    // Some derive_fields specifications...
    define('MSG_INT_FORM_ERROR',7);     // Internal form error...
    define('MSG_OPTIONS_INVALID',8);    // Some mail_options settings...
    define('MSG_PLSWAIT_REDIR',9);      // Please wait while you are redirected...
    define('MSG_IFNOT_REDIR',10);       // If you are not redirected...
    define('MSG_PEAR_OBJ',11);          // Failed to create PEAR Mail object...
    define('MSG_PEAR_ERROR',12);        // PEAR Mail error...
    define('MSG_NO_FOPT_ADDR',13);      // You have specified "SendMailFOption"...
    define('MSG_MORE_INFO',14);         // More information...
    define('MSG_INFO_STOPPED',15);      // Extra alert information suppressed...
    define('MSG_FM_ALERT',16);          // FormMail alert
    define('MSG_FM_ERROR',17);          // FormMail script error
    define('MSG_FM_ERROR_LINE',18);     // The following error occurred...
    define('MSG_USERDATA_STOPPED',19);  // User data suppressed...
    define('MSG_FILTERED',20);          // This alert has been filtered...
    define('MSG_TEMPLATES',21);         // You must set either TEMPLATEDIR or TEMPLATEURL...
    define('MSG_OPEN_TEMPLATE',22);     // Failed to open template...
    define('MSG_ERROR_PROC',23);        // An error occurred while processing...
    define('MSG_ALERT_DONE',24);        // Our staff have been alerted...
    define('MSG_PLS_CONTACT',25);       // Please contact us directly...
    define('MSG_APOLOGY',26);           // We apologize for any inconvenience...
    define('MSG_ABOUT_FORMMAIL',27);    // Your form submission was processed by...
    define('MSG_PREG_FAI

  • Can I style Web Forms Confirmation Page Results - Specifically the "ERROR" message in the results?

    Hi,
    Can I style Web Forms Confirmation Page Results - Specifically the "ERROR" message in the results?
    {module_webformresults} is auto rendedered as a table with CSS IDs attached but nothing specific for the ERROR message - resulting in the error not being seen.
    The ERROR is triggered by a dulplicate User Name or Password.
    I tried using a JQuery text selector, but it does not work with the results for some reason.
    Any ideas?
    Attached is are the error results, see Username
    Thanks!
    P

    Hi Patrick,
    It should work. You know the id of the specific area, you know what string to search for in order to condition the appearance of the new message.
    Kind Regards,
    Alex

  • Call Forms Forum from Oracle Forms Main Page - Error 404 Not Found

    Hello !
    The Layout and fuctionality of the Oracle Forms Forum has changed - very nice !
    But it's not possible to call the Oracle Forms Forum
    from the Oracle Forms Main Page !
    Error-message :
    404 Not Found
    OracleJSP: An error occurred. Consult your application/system administrator for support. Programmers should consider setting the init-param debug_mode to "true" to see the complete exception message.
    Thomas

    Please use the [Post-Upgrade Problems|http://forums.oracle.com/forums/forum.jspa?forumID=587&start=0] to report Forums related problems.
    This is the Forms Forum.
    Tony

Maybe you are looking for