Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > BlueVoda Website Builder Forums > Forms

Notices

Forms Discussion and help related to designing and implementing forms in the BlueVoda Website Builder.

Reply
 
LinkBack Thread Tools
  #1  
Old 11-11-2007, 12:48 AM
Private
 
Join Date: Nov 2007
Posts: 3
Default please help me , i can't find php code in my thank you page

how are you man ! really i have problem bother me a lot , i couldn't fix it , i hope you help me out please . problem is : thank you page , i don't find php code in my thank you page , i will give you the code to find out, and the clinent reservation page does't go through to my email please,please,please,please help me. the code is <!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>Thank you.php</title>
<meta name="KEYWORDS" content="Reservation">
<meta name="GENERATOR" content="Created by BlueVoda">
<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>
<style type="text/css">
a.style1:link {color: #0000FF;}
a.style1:visited {color: #800080;text-decoration: underline;}
a.style1:active {color: #0000FF;font-weight: bold;text-decoration: underline;}
a.style1:hover {color: #0000FF;text-decoration: underline;}
</style>
<style type="text/css">
img { behavior: url("pngfix.***"); }
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div id="bv_" style="position:absolute;left:195px;top:409px;widt h:391px;height:64px;z-index:0" align="left">
<font style="font-size:27px" color="#0000FF" face="Arial"><b>Thank you for Reservation&nbsp; we will back to you shortly</b></font></div>
<img src="bv01401.png" align="top" alt="" border="0" width="801" height="67" style="position:absolute;left:0px;top:0px;width:80 1px;height:67px;z-index:1">
<a href="<A href="http://www.ccs-boston.com/service"><img">http://www.ccs-boston.com/service"><img src="bv01065.png" id="Image1" alt="" align="top" border="0" width="800" height="135" style="position:absolute;left:0px;top:64px;width:8 00px;height:135px;z-index:2"></a>
<a href="<A href="http://www.ccs-boston.com/index.html"><img">http://www.ccs-boston.com/index.html"><img src="CCS-BOSTON LOGO.bmp" id="Image2" alt="" align="top" border="0" width="798" height="150" style="position:absolute;left:0px;top:198px;width: 798px;height:150px;z-index:3"></a>
<div id="bv_" style="position:absolute;left:0px;top:346px;width: 804px;height:22px;z-index:4" align="center">
<table border="0" cellpadding="0" cellspacing="0" id="NavigationBar1">
<tr>
<td align="left" valign="top" width="134" height="22"><a href="<A href="http://www.ccs-boston.com/Home.html"><img">http://www.ccs-boston.com/Home.html"><img id="bv01402" src="bv01402.gif" alt="http://www.ccs-boston.com/Home.html" align="top" border="0" width="134" height="22" onmouseover="SwapImage(1,0,'bv01402','bv01402_over .gif')" onmouseout="SwapImage(0,0,'bv01402','bv01402.gif') "></a></td>
<td align="left" valign="top" width="134" height="22"><a href="<A href="http://www.ccs-boston.com/Service.html"><img">http://www.ccs-boston.com/Service.html"><img id="bv01403" src="bv01403.gif" alt="http://www.ccs-boston.com/Service.html" align="top" border="0" width="134" height="22" onmouseover="SwapImage(1,0,'bv01403','bv01403_over .gif')" onmouseout="SwapImage(0,0,'bv01403','bv01403.gif') "></a></td>
<td align="left" valign="top" width="134" height="22"><a href="<A href="http://www.ccs-boston.com/Rate.html"><img">http://www.ccs-boston.com/Rate.html"><img id="bv01404" src="bv01404.gif" alt="http://www.ccs-boston.com/Rate.html" align="top" border="0" width="134" height="22" onmouseover="SwapImage(1,0,'bv01404','bv01404_over .gif')" onmouseout="SwapImage(0,0,'bv01404','bv01404.gif') "></a></td>
<td align="left" valign="top" width="134" height="22"><a href="<A href="http://www.ccs-boston.com/Reservation.html"><img">http://www.ccs-boston.com/Reservation.html"><img id="bv01405" src="bv01405.gif" alt="http://www.ccs-boston.com/Reservation.html" align="top" border="0" width="134" height="22" onmouseover="SwapImage(1,0,'bv01405','bv01405_over .gif')" onmouseout="SwapImage(0,0,'bv01405','bv01405.gif') "></a></td>
<td align="left" valign="top" width="134" height="22"><a href="<A href="http://www.ccs-boston.com/contact_us.html"><img">http://www.ccs-boston.com/contact_us.html"><img id="bv01406" src="bv01406.gif" alt="http://www.ccs-boston.com/contact_us.html" align="top" border="0" width="134" height="22" onmouseover="SwapImage(1,0,'bv01406','bv01406_over .gif')" onmouseout="SwapImage(0,0,'bv01406','bv01406.gif') "></a></td>
<td align="left" valign="top" width="134" height="22"><a href="<A href="http://www.ccs-boston.com/Feedback.html"><img">http://www.ccs-boston.com/Feedback.html"><img id="bv01407" src="bv01407.gif" alt="http://www.ccs-boston.com/Feedback.html" align="top" border="0" width="134" height="22" onmouseover="SwapImage(1,0,'bv01407','bv01407_over .gif')" onmouseout="SwapImage(0,0,'bv01407','bv01407.gif') "></a></td>
</tr>
</table>
</div>
<div id="bv_" style="position:absolute;left:0px;top:572px;width: 966px;height:47px;z-index:5" align="left">
<font style="font-size:13px" color="#000000" face="Arial"><b>All content and page Copyright @ 2003 by casabellacarservice,inc - Tel:(617) 401-5521 or (617) 307-8247-&nbsp; <br>
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; </b>&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; </font></div>
<div id="bv_" style="position:absolute;left:657px;top:568px;widt h:153px;height:38px;z-index:6" align="center">
<font style="font-size:16px;" color="#000000" face="Arial">
<a href="mailto:info@ccs-boston.com" target="_blank">info@ccs-boston.com</a></font></div>
<img src="band.bmp" id="Image3" alt="" align="top" border="0" width="800" height="2" style="position:absolute;left:0px;top:563px;width: 800px;height:2px;z-index:7">
</body>
</html>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 11-11-2007, 01:42 AM
mwalsh62's Avatar
Major
 
Join Date: Jul 2007
Location: U.S.A
Posts: 426
Default Re: please help me , i can't find php code in my thank you page

Hi,

I am very new at forms, but it is my understanding that a "Thank You" page is HTML only. PHP is in submission form.

Don't get stressed, someone wiser will be along eventually, it will all be good!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 11-11-2007, 02:26 AM
Second Lieutenant
 
Join Date: Sep 2007
Posts: 104
Default Re: please help me , i can't find php code in my thank you page

Hi,

Here is the code I used for my Thankyou page. It worked for me:

<?PHP
$mailto = "email@yoursite.com";
$email = $HTTP_POST_VARS['email'];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "Reservation request";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from our Reservation Form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
if ($key!="submit")
{
$mailbody .= "$key : $val\n";
}
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>

Change the parts in Blue to suit your needs.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 11-11-2007, 03:28 AM
Andy128's Avatar
Major General
 
Join Date: Dec 2005
Location: Michigan
Posts: 2,282
Default Re: please help me , i can't find php code in my thank you page

Casablanca-

Ok- lets try to explain this a little. A form needs instruction on how and what to do with the information that is entered into it. That instruction is held in the "action" of the form. In this case, the action is action.php

So when the user hits submit, the form is directed to the action.php page which does two things.

First- it has a hidden php script in it that takes all the data from the form and processes it and sends it to your e-mail address. Secondly, it thanks the visitor for comming to the site and filling out the form. That is why it is called the thank you page - but in reality it is NAMED action.php.

So when we are making a page to say thank you - we name that page action.php and place the php script (that lemmondr has shown) in that page.

I know it gets confusing - but that is the simple layout of the way it works. So, go back and make sure you named the page -action.php and it has the php script in it and has a thank you message.

Andy
__________________
My diamond in the rough - www.123gpp.com

* Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 11-11-2007, 01:23 PM
Private
 
Join Date: Nov 2007
Posts: 3
Default Re: please help me , i can't find php code in my thank you page

thank you for show me this information. i did rename page to action.php but still i can find php in the html page , this the code. if you help me more please.
<!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.php</title>
<meta name="KEYWORDS" content="Reservation">
<meta name="GENERATOR" content="Created by BlueVoda">
<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>
<style type="text/css">
a.style1:link {color: #0000FF;}
a.style1:visited {color: #800080;text-decoration: underline;}
a.style1:active {color: #0000FF;font-weight: bold;text-decoration: underline;}
a.style1:hover {color: #0000FF;text-decoration: underline;}
</style>
<style type="text/css">
img { behavior: url("pngfix.***"); }
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div id="bv_" style="position:absolute;left:184px;top:450px;widt h:391px;height:64px;z-index:0" align="left">
<font style="font-size:27px" color="#0000FF" face="Arial"><b>Thank you for Reservation&nbsp; we will back to you shortly</b></font></div>
<img src="bv01408.png" align="top" alt="" border="0" width="801" height="67" style="position:absolute;left:0px;top:0px;width:80 1px;height:67px;z-index:1">
<a href="http://www.ccs-boston.com/service"><img src="bv01065.png" id="Image1" alt="" align="top" border="0" width="800" height="135" style="position:absolute;left:0px;top:64px;width:8 00px;height:135px;z-index:2"></a>
<a href="http://www.ccs-boston.com/index.html"><img src="CCS-BOSTON LOGO.bmp" id="Image2" alt="" align="top" border="0" width="798" height="150" style="position:absolute;left:0px;top:198px;width: 798px;height:150px;z-index:3"></a>
<div id="bv_" style="position:absolute;left:0px;top:346px;width: 804px;height:22px;z-index:4" align="center">
<table border="0" cellpadding="0" cellspacing="0" id="NavigationBar1">
<tr>
<td align="left" valign="top" width="134" height="22"><a href="http://www.ccs-boston.com/Home.html"><img id="bv01409" src="bv01409.gif" alt="http://www.ccs-boston.com/Home.html" align="top" border="0" width="134" height="22" onmouseover="SwapImage(1,0,'bv01409','bv01409_over .gif')" onmouseout="SwapImage(0,0,'bv01409','bv01409.gif') "></a></td>
<td align="left" valign="top" width="134" height="22"><a href="http://www.ccs-boston.com/Service.html"><img id="bv01410" src="bv01410.gif" alt="http://www.ccs-boston.com/Service.html" align="top" border="0" width="134" height="22" onmouseover="SwapImage(1,0,'bv01410','bv01410_over .gif')" onmouseout="SwapImage(0,0,'bv01410','bv01410.gif') "></a></td>
<td align="left" valign="top" width="134" height="22"><a href="http://www.ccs-boston.com/Rate.html"><img id="bv01411" src="bv01411.gif" alt="http://www.ccs-boston.com/Rate.html" align="top" border="0" width="134" height="22" onmouseover="SwapImage(1,0,'bv01411','bv01411_over .gif')" onmouseout="SwapImage(0,0,'bv01411','bv01411.gif') "></a></td>
<td align="left" valign="top" width="134" height="22"><a href="http://www.ccs-boston.com/Reservation.html"><img id="bv01412" src="bv01412.gif" alt="http://www.ccs-boston.com/Reservation.html" align="top" border="0" width="134" height="22" onmouseover="SwapImage(1,0,'bv01412','bv01412_over .gif')" onmouseout="SwapImage(0,0,'bv01412','bv01412.gif') "></a></td>
<td align="left" valign="top" width="134" height="22"><a href="http://www.ccs-boston.com/contact_us.html"><img id="bv01413" src="bv01413.gif" alt="http://www.ccs-boston.com/contact_us.html" align="top" border="0" width="134" height="22" onmouseover="SwapImage(1,0,'bv01413','bv01413_over .gif')" onmouseout="SwapImage(0,0,'bv01413','bv01413.gif') "></a></td>
<td align="left" valign="top" width="134" height="22"><a href="http://www.ccs-boston.com/Feedback.html"><img id="bv01414" src="bv01414.gif" alt="http://www.ccs-boston.com/Feedback.html" align="top" border="0" width="134" height="22" onmouseover="SwapImage(1,0,'bv01414','bv01414_over .gif')" onmouseout="SwapImage(0,0,'bv01414','bv01414.gif') "></a></td>
</tr>
</table>
</div>
<div id="bv_" style="position:absolute;left:0px;top:681px;width: 966px;height:47px;z-index:5" align="left">
<font style="font-size:13px" color="#000000" face="Arial"><b>All content and page Copyright @ 2003 by casabellacarservice,inc - Tel:(617) 401-5521 or (617) 307-8247-&nbsp; <br>
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; </b>&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; </font></div>
<div id="bv_" style="position:absolute;left:661px;top:682px;widt h:153px;height:38px;z-index:6" align="center">
<font style="font-size:16px;" color="#000000" face="Arial">
<a href="mailto:info@ccs-boston.com" target="_blank">info@ccs-boston.com</a></font></div>
<img src="band.bmp" id="Image3" alt="" align="top" border="0" width="800" height="2" style="position:absolute;left:0px;top:675px;width: 800px;height:2px;z-index:7">
</body>
</html> big thanks too you

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 11-11-2007, 03:26 PM
Private
 
Join Date: Nov 2007
Posts: 3
Default Re: please help me , i can't find php code in my thank you page

Thank you very much guys , i fix the problem . thanks again
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 11-11-2007, 10:36 PM
Second Lieutenant
 
Join Date: Sep 2007
Posts: 104
Smile Re: please help me , i can't find php code in my thank you page

not a problem...when I was a "private" it took a while to
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 11:40 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

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 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176