Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Talk & News > Customer Website Reviews - Your Testing Ground

Notices

Customer Website Reviews - Your Testing Ground Are you ready to show your website to the world? Are your hyperlinks working?, Do you have any spelling mistakes or grammatical errors? How does it look? How can it be improved? Have your website reviewed and critiqued by other VodaHost Community Forum Members. DO NOT BE SHY!!! We want to see it , we are here to help each other. This is your testing ground.

Closed Thread
 
Thread Tools
  #1  
Old 03-30-2008, 10:29 PM
kadm's Avatar
Sergeant
 
Join Date: Mar 2008
Location: Vryheid South Africa
Posts: 23
Send a message via Skype™ to kadm
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/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #2  
Old 03-30-2008, 10:38 PM
Marincky's Avatar
20206.co.uk
 
Join Date: Apr 2006
Location: Worcester, UK
Posts: 4,331
Send a message via MSN to Marincky
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old 03-30-2008, 11:09 PM
kadm's Avatar
Sergeant
 
Join Date: Mar 2008
Location: Vryheid South Africa
Posts: 23
Send a message via Skype™ to kadm
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");
?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old 03-30-2008, 11:11 PM
kadm's Avatar
Sergeant
 
Join Date: Mar 2008
Location: Vryheid South Africa
Posts: 23
Send a message via Skype™ to kadm
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>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread


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 Off



All times are GMT +1. The time now is 03:11 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, 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 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203