Web Design and Development Forums

cpanel problem

This is a discussion on "cpanel problem" within the File Based Storage and Others section. This forum, and the thread "cpanel problem are both part of the Databases category.

Old Jun 28th, 2006, 18:00   #1 (permalink)
Lead Administrator
 
saltedm8's Avatar
 
Join Date: Nov 2005
Location: Always About
Age: 27
Posts: 1,058
Blog Entries: 1
Send a message via MSN to saltedm8
cpanel problem

would someone be able to explain to me what is going on please,

i have made 4 email forms 2 out of php and 2 out of cgi, but the problem is that the forms tell me that the messages have been sent when i test it, but i dont recieve anything - i have tryed 3 different addresses

also i have had these scripts looked at by a professional website designer and he says there is nothing wrong with them,

so, i contacted my host and he said there was no problems with my email,

now i am totally stuck where to go next ??

can someone help please, thank you
__________________
recipebite.co.uk - its a working progress...
saltedm8 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Jun 28th, 2006, 23:47   #2 (permalink)
Up'n'Coming Member
 
Join Date: Feb 2006
Location: London
Age: 25
Posts: 99
Re: cpanel problem

Could you post the php code you were using?

I'll test it on my server.
jimz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Jun 29th, 2006, 10:36   #3 (permalink)
Lead Administrator
 
saltedm8's Avatar
 
Join Date: Nov 2005
Location: Always About
Age: 27
Posts: 1,058
Blog Entries: 1
Send a message via MSN to saltedm8
Re: cpanel problem

save as contact.php

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<TITLE>Luv-2-Cook.Com - Online Recipes, Cooking & Forums, Free Recipes</TITLE>
  <meta name="MSSmartTagsPreventParsing" content="true">
  <meta name="description" content="The best site to learn all about food and cooking, with forums, recipes and lots more.  Click here to find the latest and greatest recipes">
  <meta name="Keywords" content="low calorie and vegetarian recipes, world food and wine, a chefs help, chocolate and dessert recipes, italian food, recipes whole foods, free recipes, chocolate chip cookies, vegetarian recipes, chicken, dessert recipes, cooking light cooking recipes, italian cooking, food, italian cookery, chocolate desserts, desserts, italian cuisine, 
cooking, chef, culinary arts, beef, vegetarian, tip, culinary, tips, cookery books, cuisine" />
  <meta name="resource-type" content="document">
  <meta name="generator" content="www.e-HQ.co.uk">
  <meta http-equiv="pragma" content="no-cache">
  <meta name="revisit-after" content="15 days">
  <meta name="classification" content="Food and Beverage">
  <meta name="robots" content="ALL">
  <meta name="distribution" content="Global">
  <meta name="rating" content="Safe For Kids">
  <meta name="copyright" content="Glynn Alexander">
  <meta name="author" content="Glynn Alexander">
  <meta http-equiv="reply-to" content="Glynn Alexander">
  <meta name="language" content="english">
  <meta name="doc-type" content="Public">
  <meta name="doc-class" content="Completed,">
  <meta name="doc-rights" content="Copywritten Work,">
<style type="text/css">
<!--
body {
 background-image: url(background.gif);
}
a:link {
 color: #FFCC99;
}
a:visited {
 color: #FFCC99;
}
a:active {
 color: #FFCC99;
}
-->
</style>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div align="center">
  <table width="771" height="97" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <th width="790" bgcolor="#FFFFFF" scope="col"><div align="left">
        <table width="770" height="214" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <th width="475" rowspan="8" bgcolor="#FFFFFF" scope="col"><table width="473" height="211" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <th width="19" height="226" rowspan="2" scope="col">&nbsp;</th>
                  <th width="454" height="193" scope="col"><img src="logo.gif" width="452" height="179" align="left" /></th>
                </tr>
                <tr>
                  <th height="19" scope="col">&nbsp;</th>
                </tr>
            </table>
              <div align="right"></div>
              <div align="right"></div></th>
            <th width="151" bgcolor="#FFFFFF" scope="col"><div align="left"><a href="index.html"><img src="home.jpg" width="103" height="33" border="0" /></a></div></th>
            <th width="144" bgcolor="#FFFFFF" scope="col">&nbsp;</th>
          </tr>
          <tr>
            <th bgcolor="#FFFFFF" scope="col"><div align="left"><a href="recipes.html"><img src="free recipes.jpg" width="103" height="28" border="0" /></a></div></th>
            <th bgcolor="#FFFFFF" scope="col">&nbsp;</th>
          </tr>
          <tr>
            <th bgcolor="#FFFFFF" scope="col"><div align="left"><a href="/Forums"><img src="forums.jpg" width="103" height="27" border="0" /></a></div></th>
            <th bgcolor="#FFFFFF" scope="col">&nbsp;</th>
          </tr>
          <tr>
            <th bgcolor="#FFFFFF" scope="col"><div align="left"><a href="learning.html"><img src="learning.jpg" width="102" height="27" border="0" /></a></div></th>
            <th bgcolor="#FFFFFF" scope="col">&nbsp;</th>
          </tr>
          <tr>
            <th bgcolor="#FFFFFF" scope="col"><div align="left"><a href="video.html"><img src="video.jpg" width="102" height="27" border="0" /></a></div></th>
            <th bgcolor="#FFFFFF" scope="col">&nbsp;</th>
          </tr>
          <tr>
            <th bgcolor="#FFFFFF" scope="col"><div align="left"><a href="shop.html"><img src="shop.jpg" width="103" height="27" border="0" /></a></div></th>
            <th bgcolor="#FFFFFF" scope="col">&nbsp;</th>
          </tr>
          <tr>
            <th bgcolor="#FFFFFF" scope="col"><div align="left"><a href="events.html"><img src="events.jpg" width="103" height="27" border="0" /></a></div></th>
            <th bgcolor="#FFFFFF" scope="col">&nbsp;</th>
          </tr>
          <tr>
            <th bgcolor="#FFFFFF" scope="col"><div align="left"><a href="links.html"><img src="links.jpg" width="103" height="22" border="0" /></a></div></th>
            <th bgcolor="#FFFFFF" scope="col">&nbsp;</th>
          </tr>
        </table>
      </div>
        <table width="704" height="33" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <th width="704" scope="col">&nbsp;</th>
          </tr>
        </table>
        <table width="730" height="25" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <th width="238" height="25" bgcolor="#FFCC99" scope="col">&nbsp;</th>
            <th width="238" bgcolor="#FFCC99" scope="col">&nbsp;</th>
            <th width="254" bgcolor="#FFCC99" scope="col"><form action="search.php?mode=results" method="post">
              <div align="left">
                <input name="search_keywords" type="text" class="post" onfocus="this.value=''" value="Search..." size="25" />
                <input class="button" name="Submit" type="submit" value="Go" />
              </div>
            </form></th>
          </tr>
        </table>
        <table width="754" height="207" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <th width="598" height="31" scope="col">&nbsp;</th>
            <th width="156" scope="col">&nbsp;</th>
          </tr>
          <tr>
            <th height="129" scope="col"><table width="591" height="600" border="1" cellpadding="1" cellspacing="0">
              <tr>
                <th width="585" height="544" bordercolor="#FFCC99" scope="col"><table width="400" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td><form name="form1" method="post" action="send_contact.php">
  <div align="left">
    <table width="110%" border="0" cellspacing="1" cellpadding="3">
      <tr>
        <td width="16%">Subject</td>
    <td width="2%">:</td>
    <td width="82%"><input name="subject" type="text" id="subject" size="50"></td>
    </tr>
      <tr>
        <td>Message</td>
    <td>:</td>
    <td><textarea name="detail" cols="51" rows="15" id="detail"></textarea></td>
    </tr>
      <tr>
        <td>Name</td>
    <td>:</td>
    <td><input name="name" type="text" id="name" size="50"></td>
    </tr>
      <tr>
        <td>Email</td>
    <td>:</td>
    <td><input name="customer_mail" type="text" id="customer_mail" size="50"></td>
    </tr>
      <tr>
        <td height="54">&nbsp;</td>
    <td>&nbsp;</td>
    <td><input type="submit" name="Submit" value="Submit"> <input type="reset" name="Submit2" value="Reset"></td>
    </tr>
    </table>
  </div>
</form>
</td>
</tr>
</table>&nbsp;</th>
              </tr>
            </table></th>
            <th width="156" scope="col"><script type="text/javascript"><!--
google_ad_client = "pub-2317449203528081";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "FED5AF";
google_color_bg = "FFFFFF";
google_color_link = "FED5AF";
google_color_url = "FED5AF";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>&nbsp;</th>
          </tr>
          <tr>
            <th height="19" scope="col">&nbsp;</th>
            <th width="156" scope="col">&nbsp;</th>
          </tr>
        </table>
        <table width="679" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <th width="81" height="23" bgcolor="#FFCC99" scope="col"><div align="left"><a href="copyright.html"><img src="copyright.jpg" width="80" height="23" border="0" align="right" /></a></div></th>
            <th width="214" bgcolor="#FFCC99" scope="col">&nbsp;</th>
            <th width="264" bgcolor="#FFCC99" scope="col"><a href="<A href="mailto:admin@luv-2-cook.com"><img">mailto:admin@luv-2-cook.com"><img src="contact.jpg" width="48" height="24" border="0" align="left" /></a></th>
            <th width="120" bgcolor="#FFCC99" scope="col"><div align="right"><a href="terms.html"><img src="terms of use.jpg" width="103" height="23" border="0" /></a></div></th>
          </tr>
        </table>
        <p>&nbsp;</p></th>
    </tr>
  </table>
</div>
</body>
</html>
this one save as send_contact.php

Code: Select all
<?php
// Contact subject
$subject ="$subject"; 
// Details
$message="$detail"; 
// Mail of sender
$mail_from="$customer_mail"; 
// From 
$header="from: $name <$mail_from>"; 
// Enter your email address
$to ='glynn.alexander@blueyonder.co.uk'; 
$send_contact=mail($to,$subject,$message,$header);
// Check, if message sent to your email 
// display message "We've recived your information"
if($send_contact){
echo "Thank you for your email, I will read it as soon as i can";
}
else {
echo "ERROR";
}
?>
thank you
__________________
recipebite.co.uk - its a working progress...
saltedm8 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Jun 29th, 2006, 12:19   #4 (permalink)
Up'n'Coming Member
 
Join Date: Feb 2006
Location: London
Age: 25
Posts: 99
Re: cpanel problem

Yeah, the script works fine...

I'd contact your host again... It's 100% a host/server problem (as long as you've got the right address...)

Sorry I can't help more
jimz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Jun 29th, 2006, 13:11   #5 (permalink)
Lead Administrator
 
saltedm8's Avatar
 
Join Date: Nov 2005
Location: Always About
Age: 27
Posts: 1,058
Blog Entries: 1
Send a message via MSN to saltedm8
Re: cpanel problem

ok, thanks anyway mate
__________________
recipebite.co.uk - its a working progress...
saltedm8 is offline  
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

Tags
cpanel, problem

Thread Tools
Rate This Thread
Rate This Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
php5 with cpanel alexgeek Hosting & Domains 3 Oct 3rd, 2007 17:37



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 05:10.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


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