Results 1 to 4 of 4

Thread: Need help my php file for contact and guest does not work
      
   

  1. #1
    kadm's Avatar
    kadm is offline Sergeant
    Join Date
    Mar 2008
    Location
    Vryheid South Africa
    Posts
    23

    Exclamation Need help my php file for contact and guest does not work

    Please help i have send a ticket already with no reply my php files do not work on my "contact" and "guet" submit.
    It was working yesterday, both of them but nothing seems to happinging today
    web is http://www.aaasuredealinternational.net/

  2. #2
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,564

    Default Re: Need help my php file for contact and guest does not work

    Quote Originally Posted by kadm View Post
    Please help i have send a ticket already with no reply my php files do not work on my "contact" and "guet" submit.
    It was working yesterday, both of them but nothing seems to happinging today
    web is http://www.aaasuredealinternational.net/
    I just tried your form and got taken to a blank white page with just this on it:

    86.133.107.136 http://www.aaasuredealinternational.net/contact.html www.aaasuredealinternational.net /action.php

    Can you post the code you should have entered on your action.php page (as per tutorial) for us to look at?
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  3. #3
    kadm's Avatar
    kadm is offline Sergeant
    Join Date
    Mar 2008
    Location
    Vryheid South Africa
    Posts
    23

    Default Re: Need help my php file for contact and guest does not work

    I have just added this in again and made sure html to php in properties

    <?php
    //Sending Email to form owner
    $mailto = "suredeal@aaasuredealinternational.net";
    $mailsubj = " Contact Form Submission from the website";
    $mailhead = "From: $email\n";
    reset ($HTTP_POST_VARS);
    $mailbody = "Values submitted from web site form :\n";
    while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    if ($key!="submit")
    {
    $mailbody .= "$key : $val\n";
    }
    }
    $mailbody .= "upload: $upload_URL\n";
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    // Autoresponder: if you don't want the autoresponder, delete this and the following 7 lines in Green color


    if ($Copy != "")
    {
    $mailto = $email;
    $mailsubj = "Copy of the info you Submitted on sure deals web site";
    $mailhead = "From: Sure Deal International webmaster: \n";
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    }
    header("Location: thankyoupage.html");
    ?>

  4. #4
    kadm's Avatar
    kadm is offline Sergeant
    Join Date
    Mar 2008
    Location
    Vryheid South Africa
    Posts
    23

    Default Re: Need help my php file for contact and guest does not work

    sorry here is all the info

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>action</title>
    <?php
    //Sending Email to form owner
    $mailto = "suredeal@aaasuredealinternational.net";
    $mailsubj = " Contact Form Submission from the website";
    $mailhead = "From: $email\n";
    reset ($HTTP_POST_VARS);
    $mailbody = "Values submitted from web site form :\n";
    while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    if ($key!="submit")
    {
    $mailbody .= "$key : $val\n";
    }
    }
    $mailbody .= "upload: $upload_URL\n";
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    // Autoresponder: if you don't want the autoresponder, delete this and the following 7 lines in Green color


    if ($Copy != "")
    {
    $mailto = $email;
    $mailsubj = "Copy of the info you Submitted on sure deals web site";
    $mailhead = "From: Sure Deal International webmaster: \n";
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    }
    header("Location: thankyoupage.html");
    ?>
    <meta name="GENERATOR" content="Created by BlueVoda">
    <style type="text/css">
    div#container
    {
    width: 800px;
    position: relative;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    }
    body
    {
    text-align: center;
    margin: 0;
    }
    </style>
    <script type="text/javascript">
    <!--
    function SwapImage()
    {
    var doc=document, args=arguments;
    doc.$imgSwaps = new Array();
    for(var i=2; i<args.length; i+=2)
    {
    var elem=FindObject(args[i]);
    if(elem)
    {
    doc.$imgSwaps[doc.$imgSwaps.length]=elem;
    elem.$src=elem.src;
    elem.src=args[i+1];
    }
    }
    }
    // -->
    </script>
    <script type="text/javascript">
    <!--
    function FindObject(id, doc)
    {
    var child, elem;
    if(!doc)
    doc=document;
    if(doc.getElementById)
    elem=doc.getElementById(id);
    else
    if(doc.layers)
    child=doc.layers;
    else
    if(doc.all)
    elem=doc.all[id];
    if(elem)
    return elem;
    if(doc.id==id || doc.name==id)
    return doc;
    if(doc.childNodes)
    child=doc.childNodes;
    if(child)
    {
    for(var i=0; i<child.length; i++)
    {
    elem=FindObject(id,child[i]);
    if(elem)
    return elem;
    }
    }
    var frm=doc.forms;
    if(frm)
    {
    for(var i=0; i<frm.length; i++)
    {
    var elems=frm[i].elements;
    for(var j=0; j<elems.length; j++)
    {
    elem=FindObject(id,elems[i]);
    if(elem) return elem;
    }
    }
    }
    return null;
    }
    // -->
    </script>
    </head>
    <body bgcolor="#FFFFFF" text="#000000" alink="#0000FF">
    <div id="container">
    <img src="web page sure deal_02_02_01.jpg" id="Image1" alt="" align="top" border="0" width="960" height="648" style="position:absolute;left:0px;top:0px;width:96 0px;height:648px;z-index:0">
    <div id="bv_" style="position:absolute;left:48px;top:216px;width :118px;height:176px;z-index:1" align="center">
    <table border="0" cellpadding="0" cellspacing="0" id="NavigationBar1">
    <tr>
    <td align="left" valign="top" width="118" height="29"><a href="http://www.aaasuredealinternational.net/"><img id="bv01092" src="bv01092.gif" alt="Home Page" title="Home Page" align="top" border="0" width="118" height="29" onmouseover="SwapImage(1,0,'bv01092','bv01092_over .gif')" onmouseout="SwapImage(0,0,'bv01092','bv01092.gif') "></a></td>
    </tr>
    <tr><td height="20"></td></tr><tr>
    <td align="left" valign="top" width="118" height="29"><a href="http://www.aaasuredealinternational.net/contact.html"><img id="bv01093" src="bv01093.gif" alt="Contact Sure Deal International" title="Contact Sure Deal International" align="top" border="0" width="118" height="29" onmouseover="SwapImage(1,0,'bv01093','bv01093_over .gif')" onmouseout="SwapImage(0,0,'bv01093','bv01093.gif') "></a></td>
    </tr>
    <tr><td height="20"></td></tr><tr>
    <td align="left" valign="top" width="118" height="29"><a href="http://www.aaasuredealinternational.net/member.html"><img id="bv01094" src="bv01094.gif" alt="Member of Sure Deal International" title="Member of Sure Deal International" align="top" border="0" width="118" height="29" onmouseover="SwapImage(1,0,'bv01094','bv01094_over .gif')" onmouseout="SwapImage(0,0,'bv01094','bv01094.gif') "></a></td>
    </tr>
    <tr><td height="20"></td></tr><tr>
    <td align="left" valign="top" width="118" height="29"><a href="http://www.aaasuredealinternational.net/guest.html"><img id="bv01095" src="bv01095.gif" alt="Geust book of Sure Deal International" title="Geust book of Sure Deal International" align="top" border="0" width="118" height="29" onmouseover="SwapImage(1,0,'bv01095','bv01095_over .gif')" onmouseout="SwapImage(0,0,'bv01095','bv01095.gif') "></a></td>
    </tr>
    </table>
    </div>
    <img src="bv01096.gif" id="Text2" width="288" height="33" align="top" alt="" border="0" style="position:absolute;left:360px;top:168px;widt h:288px;height:33px;z-index:2">
    <div id="bv_" style="position:absolute;left:264px;top:576px;widt h:636px;height:17px;z-index:3" align="center">
    <font style="font-size:12px;" color="#000000" face="Arial">
    [<a href="http://www.aaasuredealinternational.net/">Home</a>]&nbsp;[<a href="http://www.aaasuredealinternational.net/contact.html">Contact us</a>]&nbsp;[<a href="http://www.aaasuredealinternational.net/member.html">Member</a>]&nbsp;[<a href="http://www.aaasuredealinternational.net/guest.html">Guest Book</a>]&nbsp;[<a href="http://www.aaasuredealinternational.net/reports.html">Reports</a>]</font></div>
    <div id="bv_" style="position:absolute;left:48px;top:408px;width :123px;height:28px;z-index:4" align="center">
    <table border="0" cellpadding="0" cellspacing="0" id="NavigationBar3">
    <tr>
    <td align="left" valign="top" width="123" height="28"><a href="http://www.aaasuredealinternational.net/reports.html"><img id="bv01097" src="bv01097.gif" alt="http://www.aaasuredealinternational.net/reports.html" align="top" border="0" width="123" height="28" onmouseover="SwapImage(1,0,'bv01097','bv01097_over .gif')" onmouseout="SwapImage(0,0,'bv01097','bv01097.gif') "></a></td>
    </tr>
    </table>
    </div>
    <div id="bv_" style="position:absolute;left:48px;top:456px;width :144px;height:130px;z-index:5" align="left">
    <meta name="verify-v1" content="wUUKn+kfWiCBo9f+PBkoZk4P5BlvzYkDPzYOe2WXG Rk=" /></div>
    <div id="bv_" style="position:absolute;left:120px;top:600px;widt h:840px;height:15px;z-index:6" align="left">
    <font style="font-size:13px" color="#000000" face="Times New Roman"><b> © 2008 Sure Deal International All rights Reserved. Privacy Policy.&nbsp; • Report abuse at&nbsp; <a href="mailto:webmaster@aaasuredealinternational.ne t?subject=I want to report abuse on your web page !">Administrator</a> • Email: <a href="mailto:suredeal@aaasuredealinternational.net ?subject=About your web page">Sure Deal International</a></b></font></div>
    <div id="bv_" style="position:absolute;left:336px;top:312px;widt h:552px;height:88px;z-index:7" align="left">
    <font style="font-size:37px" color="#A52A00" face="Vivaldi"><b>We appreciate and value your email <br>
    &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; and will reply to it shortly</b></font></div>
    </div>
    </body>
    </html>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49