Web Hosting Vodahost    

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

Notices

BlueVoda - General Issues All BlueVoda support issues that are not covered in the below forums.

Reply
 
LinkBack Thread Tools
  #1  
Old 09-27-2005, 03:35 PM
Patti Johnson's Avatar
Sergeant Major
 
Join Date: Jul 2005
Posts: 95
Question Can someone please test my form?

I've been working diligently on the completion of my "tell a friend" button and could not have done it without the help of Simon (aka Maddog). Thank you Simon. An error appears when I hit the submit button when I test the form on my computer, but for Simon, it works fine. I would like someone on this forum to test it as well. Please go to www.lifeatfifty.com and click on the "tell a friend" button on the left side of the index page and complete the form (send it to yourself). BTW, the operation of the form works fine... i.e. the thank you emails are sent. Just getting this error when I hit submit:

Warning: Cannot modify header information - headers already sent by (output started at /home2/blahbla/public_html/lifeatfifty/friend.php:1) in /home2/blahbla/public_html/lifeatfifty/friend.php on line 115
Any ideas on how to fix?
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 09-27-2005, 05:25 PM
racefan20's Avatar
Major General
 
Join Date: Jul 2005
Location: Concord, NC
Posts: 2,339
Default

Quote:
Originally Posted by Patti Johnson
I've been working diligently on the completion of my "tell a friend" button and could not have done it without the help of Simon (aka Maddog). Thank you Simon. An error appears when I hit the submit button when I test the form on my computer, but for Simon, it works fine. I would like someone on this forum to test it as well. Please go to www.lifeatfifty.com and click on the "tell a friend" button on the left side of the index page and complete the form (send it to yourself). BTW, the operation of the form works fine... i.e. the thank you emails are sent. Just getting this error when I hit submit:

Warning: Cannot modify header information - headers already sent by (output started at /home2/blahbla/public_html/lifeatfifty/friend.php:1) in /home2/blahbla/public_html/lifeatfifty/friend.php on line 115
Any ideas on how to fix?

I got the error message as well, Patti.
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 09-27-2005, 05:41 PM
christobal's Avatar
First Sergeant
 
Join Date: Jun 2005
Location: Israel
Posts: 73
Send a message via Skype™ to christobal
Default need source of php file

Quote:
Originally Posted by racefan20
I got the error message as well, Patti.
need to see the php file to be able to help
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 09-27-2005, 06:21 PM
Master Learner
 
Join Date: May 2005
Location: NWArkansas
Posts: 37
Send a message via Yahoo to CGPhotoMom
Default

Quote:
Originally Posted by Patti Johnson
I've been working diligently on the completion of my "tell a friend" button and could not have done it without the help of Simon (aka Maddog). Thank you Simon. An error appears when I hit the submit button when I test the form on my computer, but for Simon, it works fine. I would like someone on this forum to test it as well. Please go to www.lifeatfifty.com and click on the "tell a friend" button on the left side of the index page and complete the form (send it to yourself). BTW, the operation of the form works fine... i.e. the thank you emails are sent. Just getting this error when I hit submit:

Warning: Cannot modify header information - headers already sent by (output started at /home2/blahbla/public_html/lifeatfifty/friend.php:1) in /home2/blahbla/public_html/lifeatfifty/friend.php on line 115
Any ideas on how to fix?
Thats what I got. Sorry.
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 09-27-2005, 07:13 PM
Patti Johnson's Avatar
Sergeant Major
 
Join Date: Jul 2005
Posts: 95
Default Tell a Friend Form Test

This is the sendsite.php file and the friend.php file follows below:

<HTML>
<HEAD>
<TITLE>Send Site to a Friend</TITLE>
<META NAME="Generator" CONTENT="Created by BlueVoda">
<META http-equiv="Page-Enter" content="blendTrans(Duration=1)">
</HEAD>
<BODY bgcolor="#D5D5A8" text="#000000" alink="#0000FF">
<DIV style="position:absolute; left:153px; top:187px; width:200px; height:19px; z-index:14" align="left" valign="top">
<FONT style="FONT-SIZE: 10pt" face="Arial" color="#000000"><B>Your friends' email addresses:</B></FONT>
</DIV>
<IMG src="bv01115.gif" align="top" border="0" width="544" height="449" style="position:absolute;left:148px;top:32px;width :544px;height:449px;z-index:15">
<DIV style="position:absolute; left:345px; top:455px; width:124px; height:19px; z-index:16" align="left" valign="top">
<FONT style="FONT-SIZE: 7pt" face="Arial" color="#000000">Life at Fifty... and Beyond!</FONT>
</DIV>
<DIV style="position:absolute; left:269px; top:41px; width:305px; height:29px; z-index:17" align="left" valign="top">
<FONT style="FONT-SIZE: 18pt" face="Arial" color="#000000"><B>Send this Site to a Friend</B></FONT>
</DIV>
<DIV style="position:absolute; left:170px; top:73px; width:486px; height:381px; z-index:18" align="left" valign="top">
<FORM name=friend method=GET action="friend.php">
<INPUT type="submit" name="Submit" value="Send" style="position:absolute;left:296px;top:298px;z-index:0">
<DIV style="position:absolute; left:5px; top:329px; width:476px; height:47px; z-index:1" align="left" valign="top">
<FONT style="FONT-SIZE: 8pt" face="Arial" color="#000000">The names and email addresses provided by you will be used solely for sending emails.&nbsp; We assure you, that we will not save or use the email addresses for any other purposes, nor will we give it to third parties.</FONT>
</DIV>
<DIV style="position:absolute; left:189px; top:101px; width:12px; height:83px; z-index:2" align="left" valign="top">
<FONT style="FONT-SIZE: 10pt" face="Arial" color="#000000"><B>1</B><BR><BR><B>2</B><BR><BR><B>3</B></FONT>
</DIV>
<INPUT type="text" style="position:absolute;left:208px;top:163px;widt h:245px;z-index:3" size="35" name="femail3" value="">
<INPUT type="text" style="position:absolute;left:208px;top:132px;widt h:245px;z-index:4" size="35" name="femail2" value="">
<INPUT type="text" style="position:absolute;left:209px;top:35px;width :245px;z-index:5" size="35" name="lastname" value="">
<DIV style="position:absolute; left:42px; top:33px; width:110px; height:19px; z-index:6" align="left" valign="top">
<FONT style="FONT-SIZE: 10pt" face="Arial" color="#000000"><B>Your Last Name</B></FONT>
</DIV>
<INPUT type="text" style="position:absolute;left:208px;top:99px;width :245px;z-index:7" size="35" name="femail1" value="">
<INPUT type="text" style="position:absolute;left:208px;top:67px;width :245px;z-index:8" size="35" name="youremail" value="">
<DIV style="position:absolute; left:13px; top:224px; width:170px; height:19px; z-index:9" align="left" valign="top">
<FONT style="FONT-SIZE: 10pt" face="Arial" color="#000000"><B>Message to your Friend(s):</B></FONT>
</DIV>
<TEXTAREA name="message" style="position:absolute;left:208px;top:190px;widt h:246px;height:94px;z-index:10" rows=5 cols=28></TEXTAREA>
<DIV style="position:absolute; left:44px; top:67px; width:79px; height:19px; z-index:11" align="left" valign="top">
<FONT style="FONT-SIZE: 10pt" face="Arial" color="#000000"><B>Your Email</B></FONT>
</DIV>
<DIV style="position:absolute; left:42px; top:6px; width:107px; height:19px; z-index:12" align="left" valign="top">
<FONT style="FONT-SIZE: 10pt" face="Arial" color="#000000"><B>Your First Name</B></FONT>
</DIV>
<INPUT type="text" style="position:absolute;left:209px;top:5px;width: 245px;z-index:13" size="35" name="firstname" value="">
</FORM>

</DIV>
</BODY>
</HTML>

and this is my friend.php file

<?PHP

error_reporting(7);
#----------
# Validate: Email
function check_email($email, $optional)
{
if ( (strlen($email) == 0) && ($optional === true) ) {
return true;
} elseif ( eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$", $email) ) {
return true;
} else {
return false;
}
}
# RegisterGlobals OFF
$FTGfirstname = $_POST['firstname'];
$FTGmessage = $_POST['message'];
$FTGyouremail = $_POST['youremail'];
$FTGfemail1 = $_POST['femail1'];
$FTGlastname = $_POST['lastname'];
$FTGfemail2 = $_POST['femail2'];
$FTGfemail3 = $_POST['femail3'];
$FTGSubmit = $_POST['Submit'];
# Fields Validations
$validationFailed = false;
if ( (! check_email($FTGyouremail, true))) {
$validationFailed = true;
}
# Redirect user to the error page
if ($validationFailed == true) {
header("Location: http://www.lifeatfifty.com/errorfriendsent.html");
exit;
}
# Email to Form Owner
$emailTo = $FTGfemail1; $FTGfemail3; $FTGfemail3;
$emailSubject = "Recommend site www.lifeatfifty.com";
$emailBody = "" . date('d/m/Y') . "\n"
. "\n"
. "Hello, $FTGfirstname $FTGlastname has just been to http://www.lifeatfifty.com and recommends that you visit the site. \n"
. " \n"
. "message: $FTGmessage\n"
. "\n"
. "www.lifeatfifty.com has been created for those 50 years of age and beyond, offering inspiring ideas. Don't forget to visit the forum. I hope you enjoy the site.\n"
. "\n"
. "Best Regards,\n"
. "\n"
. "\n"
. "Life at Fifty\n"
. "\n"
. "\n"
. "http://www.lifeatfifty.com\n"
. "\n"
. "Copyright © 2005. All rights reserved\n"
. "\n"
. "This email was sent through the www.lifeatfifty.com website by someone who knows you and/or your email address. The sender may have added an individual message to this email over which www.lifeatfifty.com has no control. www.lifeatfifty.com is not the author of any such message and does not necessarily share the opinions expressed.\n"
. "\n"
. "";
$emailHeader = "From: $FTGyouremail\n"
. "Reply-To: $FTGyouremail\n"
. "MIME-Version: 1.0\n"
. "Content-type: text/plain; charset=\"ISO-8859-1\"\n"
. "Content-transfer-encoding: quoted-printable\n";
mail($emailTo, $emailSubject, $emailBody, $emailHeader);
# Confirmation Email to User
$confEmailTo = $FTGyouremail;
$confEmailSubject = "Recommend site www.lifeatfifty.com";
$confEmailBody = "" . date('m/d/y') . "\n"
. "\n"
. "Thank you\n"
. "\n"
. "Hello, $FTGfirstname $FTGlastname, and thank you for recommending www.lifeatfifty.com to your friend(s). \n"
. "\n"
. "lifeatfifty.com has been created for those 50 years of age and beyond offering inspiring ideas. I hope you enjoy the site. Please visit often.\n"
. "\n"
. "Best Regards,\n"
. "\n"
. "Life at Fifty\n"
. "\n"
. "http://www.lifeatfifty.com\n"
. "\n"
. "Copyright © 2005. All rights reserved\n"
. "";
$confEmailHeader = "From: contact@lifeatfifty.com\n"
. "Reply-To: contact@lifeatfifty.com\n"
. "MIME-Version: 1.0\n"
. "Content-type: text/plain; charset=\"ISO-8859-1\"\n"
. "Content-transfer-encoding: quoted-printable\n";
mail($confEmailTo, $confEmailSubject, $confEmailBody, $confEmailHeader);
# Redirect user to success page
header("Location: http://www.lifeatfifty.com/emailrequestsent.html");
exit;
# End of PHP script
?>

Any help would be greatly appreciated.

Quote:
Originally Posted by christobal
need to see the php file to be able to help
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 09-29-2005, 12:57 PM
Maddog's Avatar
Lieutenant Colonel
 
Join Date: May 2005
Location: UK
Posts: 515
Send a message via MSN to Maddog Send a message via Skype™ to Maddog
Default

Hi all this is whats is meant to happen

http://www.easttilburyinfantschool.c...st2/patti.html

I would dearly like to know the answer!
__________________
www.bluevodaexchangelink.com
BluevodaExchangeLink Help Center
Bluevodaexchangelink Forum

The only place for bluevoda site to be linked with!
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 09-30-2005, 01:06 PM
Glenn's Avatar
Members
 
Join Date: May 2005
Location: Sydney
Posts: 32
Default

Quote:
Originally Posted by Patti Johnson
I've been working diligently on the completion of my "tell a friend" button and could not have done it without the help of Simon (aka Maddog). Thank you Simon. An error appears when I hit the submit button when I test the form on my computer, but for Simon, it works fine. I would like someone on this forum to test it as well. Please go to www.lifeatfifty.com and click on the "tell a friend" button on the left side of the index page and complete the form (send it to yourself). BTW, the operation of the form works fine... i.e. the thank you emails are sent. Just getting this error when I hit submit:

Warning: Cannot modify header information - headers already sent by (output started at /home2/blahbla/public_html/lifeatfifty/friend.php:1) in /home2/blahbla/public_html/lifeatfifty/friend.php on line 115
Any ideas on how to fix?
Sorry Patti got the same thing.
__________________
curley
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 10-06-2005, 06:20 AM
reelezcharters's Avatar
Sergeant
 
Join Date: Oct 2005
Location: Bay De Noc area U.P. Michigan
Posts: 37
Send a message via Yahoo to reelezcharters
Arrow worked for me

Hi I just tested this for you and it worked. While filling the form it did'nt let me tab correctly thru it. When checking my email I had an email from the tell a friend button and also one from you???
Looks like this is an old issue which you've probably already solved...but thought I'd give it a whirl anyhow.
Incidentially...40's not to bad so 50 should be better...
Angel
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Order Form and Paypal Help Please Gramma Anna General Support Issues 3 05-07-2006 04:27 AM
E-mail form problems prosper Email Problems (POP, SMTP & Webmail) 3 10-07-2005 10:49 PM
Trouble With Form Rilstone Productions General Support Issues 2 09-28-2005 11:30 PM
HTML code for Contact Form Patti Johnson BlueVoda - General Issues 2 09-22-2005 06:56 PM
Form mail....yikes... maximillian The Voda Lounge (Chit Chat) 4 09-21-2005 07:32 PM


All times are GMT +1. The time now is 09:27 AM.


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