0 Replies Latest reply: Apr 27, 2012 8:48 AM by Spyderz02 RSS

    RE: RE: Multiple selections in drop down list not coming through in email - They say it's my code...

    Spyderz02

      @Nancy... sorry thanks to AT&T was off line for two days :/  Anyway, I couldn't find how to re-answer....so I am reposting  your last answer....and my response....

       

       

       

       

      Is this the only PHP script you can use with your hosting account?

       

      If not, try one of these:

       

          Formm@ailer PHP from DB Masters

          http://dbmasters.net/index.php?id=4

       

          FormToEmail.com (free & pro versions available)

          http://formtoemail.com/formtoemail_pro_version.php   

       

          Tectite

          http://www.tectite.com/formmailpage.php

       

          Forms to Go from Bebosoft (script generating software)

          http://www.bebosoft.com/products/formstogo/overview/

       

       

       

      Nancy O.

      Alt-Web Design & Publishing

      Web | Graphics | Print | Media  Specialists

      http://alt-web.com/

      http://twitter.com/altweb

      http://alt-web.blogspot.com/

       

      ******************************************I have this script available to me as well....not sure if GoDaddy will allow me to use another script or not*********************************Thanks again for all your help. Michelle

       

       

      <?php

          $request_method = $_SERVER["REQUEST_METHOD"];

          if($request_method == "GET"){

            $query_vars = $_GET;

          } elseif ($request_method == "POST"){

            $query_vars = $_POST;

          }

          reset($query_vars);

          $t = date("U");

       

       

          $file = $_SERVER['DOCUMENT_ROOT'] . "/../data/gdform_" . $t;

          $fp = fopen($file,"w");

          while (list ($key, $val) = each ($query_vars)) {

           fputs($fp,"<GDFORM_VARIABLE NAME=$key START>\n");

           fputs($fp,"$val\n");

           fputs($fp,"<GDFORM_VARIABLE NAME=$key END>\n");

           if ($key == "redirect") { $landing_page = $val;}

          }

          fclose($fp);

          if ($landing_page != ""){

                header("Location: http://".$_SERVER["HTTP_HOST"]."/$landing_page");

          } else {

                header("Location: http://".$_SERVER["HTTP_HOST"]."/");

          }

       

       

       

       

      ?>