Announcement

Collapse
No announcement yet.

help with links and forms

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Re: help with links and forms

    Hi Navaldesign!


    Only if ypu publish here your php script we will be able to help.



    Well I've had another look at this & I've no idea what to do! Line 92 is around the start of the blue script but I can't see an extra @ which is supposed to be the error. Have pasted the script below.
    What's the best thing to do now?
    Thanks for your time!
    Crouquet
    www.lescrouquets.net


    <!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>
    <META name="KEYWORDS" content="holiday,france,dordogne,cottage,southwest ,rustic,rural,
    farmland,gites,selfcatering,Perigord, peaceful,tranquil,swimming pool,villa,children">
    <META name="DESCRIPTION" content="booking your cottage is easy">
    <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];
    }
    }
    }
    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="#F0DAAA" text="#000000" <?PHP
    $email = $HTTP_POST_VARS[email];
    $mailto = "lecielestbleu2103@wanadoo.fr";
    $mailsubj = "enquiry";
    $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";
    }
    }
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    ?>
    >
    <DIV id="container">
    <HR noshade size="2" width="759" color="#265C05" style="position:absolute;left:31px;top:72px;width: 759px;height:2px;z-index:0">
    <DIV style="position:absolute;left:30px;top:17px;width: 761px;height:53px;z-index:1" align="center">
    <BUTTON type="button" style="width:761px;height:53px;border:2px #265C05 solid;background-color:#FFFFF0"><P>&nbsp;</P></BUTTON>
    </DIV>
    <DIV style="position:absolute;left:533px;top:34px;width :253px;height:30px;z-index:2" align="left">
    <FONT style="font-size:24px" color="#265C05" face="Bradley Hand ITC"><B>... another world away</B></FONT>
    </DIV>
    <HR noshade size="2" width="761" color="#265C05" style="position:absolute;left:30px;top:169px;width :761px;height:2px;z-index:3">
    <DIV style="position:absolute;left:46px;top:22px;width: 274px;height:46px;z-index:4" align="left">
    <FONT style="font-size:37px" color="#265C05" face="Bradley Hand ITC"><B>Les Crouquets...</B></FONT>
    </DIV>
    <DIV style="position:absolute;left:29px;top:175px;width :760px;height:359px;z-index:5" align="center">
    <BUTTON type="button" style="width:760px;height:359px;border:2px #265C05 solid;background-color:#FFFFF0"><P>&nbsp;</P></BUTTON>
    </DIV>
    <DIV style="position:absolute;left:34px;top:193px;width :155px;height:308px;z-index:6" align="center">
    <TABLE border="0" cellpadding="0" cellspacing="0">
    <TR>
    <TD align="left" valign="top" width="155" height="22"><A href="http://www.lescrouquets.net"><IMG id="bv01262" src="bv01262.gif" alt="http://www.lescrouquets.net" align="top" border="0" width="155" height="22" onmouseover="SwapImage(1,0,'bv01262','bv01262_over .gif')" onmouseout="SwapImage(0,0,'bv01262','bv01262.gif') "></A></TD>
    </TR>
    <TR><TD height="4"></TD></TR><TR>
    <TD align="left" valign="top" width="155" height="22"><A href="http://www.lescrouquets.net/les_crouquets.html"><IMG id="bv01263" src="bv01263.gif" alt="http://www.lescrouquets.net/les_crouquets.html" align="top" border="0" width="155" height="22" onmouseover="SwapImage(1,0,'bv01263','bv01263_over .gif')" onmouseout="SwapImage(0,0,'bv01263','bv01263.gif') "></A></TD>
    </TR>
    <TR><TD height="4"></TD></TR><TR>
    <TD align="left" valign="top" width="155" height="22"><A href="http://www.lescrouquets.net/the_cottages.html"><IMG id="bv01264" src="bv01264.gif" alt="http://www.lescrouquets.net/the_cottages.html" align="top" border="0" width="155" height="22" onmouseover="SwapImage(1,0,'bv01264','bv01264_over .gif')" onmouseout="SwapImage(0,0,'bv01264','bv01264.gif') "></A></TD>
    </TR>
    <TR><TD height="4"></TD></TR><TR>
    <TD align="left" valign="top" width="155" height="22"><A href="http://www.lescrouquets.net/facilities.html"><IMG id="bv01265" src="bv01265.gif" alt="http://www.lescrouquets.net/facilities.html" align="top" border="0" width="155" height="22" onmouseover="SwapImage(1,0,'bv01265','bv01265_over .gif')" onmouseout="SwapImage(0,0,'bv01265','bv01265.gif') "></A></TD>
    </TR>
    <TR><TD height="4"></TD></TR><TR>
    <TD align="left" valign="top" width="155" height="22"><A href="http://www.lescrouquets.net/children.html"><IMG id="bv01266" src="bv01266.gif" alt="http://www.lescrouquets.net/children.html" align="top" border="0" width="155" height="22" onmouseover="SwapImage(1,0,'bv01266','bv01266_over .gif')" onmouseout="SwapImage(0,0,'bv01266','bv01266.gif') "></A></TD>
    </TR>
    <TR><TD height="4"></TD></TR><TR>
    <TD align="left" valign="top" width="155" height="22"><A href="http://www.lescrouquets.net/what_to_do.html"><IMG id="bv01267" src="bv01267.gif" alt="http://www.lescrouquets.net/what_to_do.html" align="top" border="0" width="155" height="22" onmouseover="SwapImage(1,0,'bv01267','bv01267_over .gif')" onmouseout="SwapImage(0,0,'bv01267','bv01267.gif') "></A></TD>
    </TR>
    <TR><TD height="4"></TD></TR><TR>
    <TD align="left" valign="top" width="155" height="22"><A href="http://www.lescrouquets.net/about_us.html"><IMG id="bv01268" src="bv01268.gif" alt="http://www.lescrouquets.net/about_us.html" align="top" border="0" width="155" height="22" onmouseover="SwapImage(1,0,'bv01268','bv01268_over .gif')" onmouseout="SwapImage(0,0,'bv01268','bv01268.gif') "></A></TD>
    </TR>
    <TR><TD height="4"></TD></TR><TR>
    <TD align="left" valign="top" width="155" height="22"><A href="http://www.lescrouquets.net/how_to_get_here.html"><IMG id="bv01269" src="bv01269.gif" alt="http://www.lescrouquets.net/how_to_get_here.html" align="top" border="0" width="155" height="22" onmouseover="SwapImage(1,0,'bv01269','bv01269_over .gif')" onmouseout="SwapImage(0,0,'bv01269','bv01269.gif') "></A></TD>
    </TR>
    <TR><TD height="4"></TD></TR><TR>
    <TD align="left" valign="top" width="155" height="22"><A href="http://www.lescrouquets.net/tariffs.html"><IMG id="bv01270" src="bv01270.gif" alt="http://www.lescrouquets.net/tariffs.html" align="top" border="0" width="155" height="22" onmouseover="SwapImage(1,0,'bv01270','bv01270_over .gif')" onmouseout="SwapImage(0,0,'bv01270','bv01270.gif') "></A></TD>
    </TR>
    <TR><TD height="4"></TD></TR><TR>
    <TD align="left" valign="top" width="155" height="22"><A href="http://www.lescrouquets.net/booking.html"><IMG id="bv01271" src="bv01271.gif" alt="http://www.lescrouquets.net/booking.html" align="top" border="0" width="155" height="22" onmouseover="SwapImage(1,0,'bv01271','bv01271_over .gif')" onmouseout="SwapImage(0,0,'bv01271','bv01271.gif') "></A></TD>
    </TR>
    <TR><TD height="4"></TD></TR><TR>
    <TD align="left" valign="top" width="155" height="22"><A href="http://www.lescrouquets.net/contact_us.html"><IMG id="bv01272" src="bv01272.gif" alt="http://www.lescrouquets.net/contact_us.html" align="top" border="0" width="155" height="22" onmouseover="SwapImage(1,0,'bv01272','bv01272_over .gif')" onmouseout="SwapImage(0,0,'bv01272','bv01272.gif') "></A></TD>
    </TR>
    <TR><TD height="4"></TD></TR><TR>
    <TD align="left" valign="top" width="155" height="22"><A href="http://www.lescrouquets.net/links.html"><IMG id="bv01273" src="bv01273.gif" alt="http://www.lescrouquets.net/links.html" align="top" border="0" width="155" height="22" onmouseover="SwapImage(1,0,'bv01273','bv01273_over .gif')" onmouseout="SwapImage(0,0,'bv01273','bv01273.gif') "></A></TD>
    </TR>
    </TABLE>
    </DIV>
    <DIV style="position:absolute;left:213px;top:390px;widt h:512px;height:104px;z-index:7" align="left">
    <TABLE width="100%" height="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#265C05">
    <TR>
    <TD align="center" valign="top" width="508" height="100"><FONT style="font-size:15px" color="#000000" face="Verdana"> We aim to answer all e-mails as quickly as possible. Technology&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; does however sometimes go wrong. In the event that we haven't replied within 24 hrs, your e-mail may have gone missing - please try again or alternatively use another means of contacting us.</FONT></TD>
    </TR>
    </TABLE>
    </DIV>
    <DIV style="position:absolute;left:207px;top:213px;widt h:396px;height:140px;z-index:8" align="center">
    <BUTTON type="button" style="width:396px;height:140px;border:2px #C60063 solid;background-color:#F0DAAA"><P><FONT style="font-size:27px" color="#265C05" face="Bradley Hand ITC"><B>Thank you for your enquiry<BR>
    <BR>
    We will get back to you <BR>
    as soon as possible</B></FONT></P></BUTTON>
    </DIV>
    <IMG src="IMG_1640.jpg" alt="" align="top" border="1" width="136" height="88" style="position:absolute;left:652px;top:77px;width :136px;height:88px;border-color:#265C05;z-index:9">
    <IMG src="pool.jpg" alt="" align="top" border="1" width="162" height="87" style="position:absolute;left:199px;top:77px;width :162px;height:87px;border-color:#265C05;z-index:10">
    <IMG src="sunny tree.jpg" alt="" align="top" border="1" width="162" height="87" style="position:absolute;left:30px;top:77px;width: 162px;height:87px;border-color:#26663F;z-index:11">
    <IMG src="IMG_1644.jpg" alt="" align="top" border="2" width="145" height="85" style="position:absolute;left:368px;top:77px;width :145px;height:85px;border-color:#265C05;z-index:12">
    <IMG src="IMG_1877.jpg" alt="" align="top" border="1" width="125" height="87" style="position:absolute;left:521px;top:77px;width :125px;height:87px;border-color:#265C05;z-index:13">
    <IMG src="IMG_1080.jpg" alt="" align="top" border="3" width="150" height="174" style="position:absolute;left:616px;top:190px;widt h:150px;height:174px;border-color:#F0DAAA;z-index:14">
    </DIV>
    </BODY>
    </HTML>

    Comment


    • #17
      Re: help with links and forms

      Hi, your problem is at the line i have turned in red color. You have missed the " at the start and end of your email address, as well as the " ; "
      Navaldesign
      Logger Lite: Low Cost, Customizable, multifeatured Login script
      Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
      DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
      Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

      Comment


      • #18
        Re: help with links and forms

        Hi Navaldesign!
        Thanks a million! Followed your instructions and got a different error but worked out that the word enquiry didn't have " either and now it all works just fine!!!
        Thanks again
        Crouquet
        www.lescrouquets.net

        Comment


        • #19
          Re: help with links and forms

          You are welcome. However, this is the basic php script that you are using: no security, no attachments, no required fields, no validation. Have a look at the Advanced Blue Voda Form Processor.
          Navaldesign
          Logger Lite: Low Cost, Customizable, multifeatured Login script
          Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
          DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
          Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

          Comment

          Working...
          X