Menu

Can't get my form to work.

Help
2005-12-02
2013-06-03
  • EmeraldSpark

    EmeraldSpark - 2005-12-02

    Hi All,

    I hope someone can help me.

    I have never used the form generator before, and I just need someone to point me in the right direction.

    I have created my form several times, but I keep on getting the same thing happening - which is nothing at all.

    I don't get the email forwarded to where I want it to go, and it is not the spam filters as there is no record recorded for my test runs, and the page I wanted the form to forward to doesn't come up.

    I have checked the error log, and this is the error that is there:PHP Warning:  Zend Optimizer does not support this version of PHP - please upgrade to the latest version of Zend Optimizer in Unknown on line 0

    Since I downloaded the form generator from my web host straight into my account, I would have thought that they would have the latest of the Zend Optimizer to support this.

    Do you think I should contact my host, or is there something else I should do to get it to work.

    Thanks in advance.

    Em

     
    • TNTEverett

      TNTEverett - 2005-12-02

      The Zend Optimizer error you are getting is something you should report to your host.  The form should still work without the Zend Optimizer.

      In the mean time try removing or commenting this line from your process.php file.
      $where_form_is="http".($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/"));

      You can also try creating this simple example and pointing your browser to it.  You won't see anything in the browser but you should get the email.  Be sure you subsitute a valid email address.  Cut and paste the text into something like test.php and transfer it up to your site. 

      <?php
      mail("youremailaddress","Form Submitted at your website","Hello World!","From: phpFormGenerator");
      ?>

       
      • EmeraldSpark

        EmeraldSpark - 2005-12-02

        I Think I'm In Love All Over Again....  LOL!!!

        Thanks TNT...  You're my hero!

         
        • TNTEverett

          TNTEverett - 2005-12-02

          When things work for you it is helpful for others who might have similar issues if you state what you did to make it work. 
          Did you just comment out that one line?

           
    • EmeraldSpark

      EmeraldSpark - 2005-12-02

      I just did as you said and took the coding $where_form_is="http".($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/")); out of the process.php file, and it works great.

      I have also put the form on a framed page, and I had to move the whole file for that form to that particular area of my website.

      After a bit of fiddling around with it, it now works great.

      Thanks for your help.

      Paula

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.