Menu

Processor.php

Help
Node
2009-03-26
2013-06-03
  • Node

    Node - 2009-03-26

    Hi, can any 1 let me know whats going on with my processor.php? it doesnt seem to be including all of the code.

    <?php

    $where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));

    include("confirm.html");

    ?>

    is all i get, im trying to receive by email, but no matter which option i use, my processor.php is allways the above output

     
    • TNTEverett

      TNTEverett - 2009-03-26

      I'm not sure but if you provide the form number I can take a look.

       
      • Node

        Node - 2009-03-26

        hi, form number 90023 was my last

         
        • TNTEverett

          TNTEverett - 2009-03-26

          When I download your zip file and extract the processor.php, this is what I get (minus your email address).

          <?php

          $where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));

          session_start();
          if( ($_SESSION['security_code']==$_POST['security_code']) && (!empty($_POST['security_code'])) ) {
          mail("youremailaddress","phpFormGenerator - Form submission","Form data:

          Full Name: " . $_POST['field_1'] . "
          Email Address: " . $_POST['field_2'] . "
          Occupation: " . $_POST['field_3'] . "
          Website address: " . $_POST['field_4'] . "
          Country: " . $_POST['field_5'] . "

          powered by phpFormGenerator.
          ");

          include("confirm.html");
          }
          else {
          echo "Invalid Captcha String.";
          }

          ?>

           
          • Node

            Node - 2009-03-26

            thats very bizzare as i made various forms, all proccesor files containd the same 1st bit, with the rest missing.

            I assume i enter my email address instead of this "youremailaddress" ?
            here
            mail("youremailaddress","phpFormGenerator - Form submission","Form data:

             
          • lyn

            lyn - 2009-06-21

            My downloaded zip file is doing the same .. my processor file only has
            <?php

            $where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));

            include("confirm.html");

            ?>

            where is the rest of the code???

             
    • seth meyerowitz

      seth meyerowitz - 2009-03-27

      im getting the same issue.  i am trying to create a form with some file upload options and i only get the first piece of code

       
      • TNTEverett

        TNTEverett - 2009-03-27

        Every time I look at this issue for someone I don't see any problem.  I don't know if I can help you but if you insist there is a problem I can take a look at your form.  Please provide the form number if you want me to look at it. 

         
      • Node

        Node - 2009-03-30

        I got it fixed like this

        Before updating the form and downlaoding i cleared all my private data withi9n firefox, then downloaded, afta this my processor.php contain all the correct code.

        Not sure if that will work with explorer as i dont use it

         
    • nick lansdell

      nick lansdell - 2009-07-13

      Hi,

      I wonder if you can help. I have the same problem as above. The form number is 116433. If you could have a look asap and let have the full code for the processor.php I would be very grateful as I have done a lot of work on the html file so I don't want to start from scratch if I can help it. I will follow the advice on the previous post next time!

      Many thanks.

       
      • TNTEverett

        TNTEverett - 2009-07-14

        What is above, or what is your problem?

         
    • nick lansdell

      nick lansdell - 2009-07-14

      The problem I have is when I download the form the processor.php only contains the following:

      <?php

      $where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));

      include("confirm.html");

      ?>

      So the form will not work. Please can you advise. The form number is 116433.

      Many thanks.

       
      • TNTEverett

        TNTEverett - 2009-07-14

        Replace it with this:

        <?php

        $where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));

        mail("mtwallet@users.sourceforge.net","phpFormGenerator - Form submission","Form data:

        Your Name: " . $_POST['field_1'] . "
        Your Email: " . $_POST['field_2'] . "
        Your Tel: " . $_POST['field_3'] . "
        Personal Rate: " . $_POST['field_4'] . "
        Corporate Rate: " . $_POST['field_5'] . "
        Invoice Address: " . $_POST['field_6'] . "
        Email: " . $_POST['field_7'] . "
        Telephone: " . $_POST['field_8'] . "
        Service Required; " . $_POST['field_9'] . "

        powered by phpFormGenerator.
        ");

        include("confirm.html");

        ?>

         

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.