Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Web Hosting Support > mySQL & PHP

Notices

mySQL & PHP Discussions, information and help with mySQL and PHP.

Reply
 
LinkBack Thread Tools
  #1  
Old 05-13-2007, 06:19 PM
Private
 
Join Date: Apr 2007
Posts: 3
Red face need help on script to paste to "Between Head Tag "

We are making our "Thank You Page and I think We copied the wrong script on the HTML Page and pasted it.Can we undo this error??? I am not sure what we must copy and paste to the "Between Head Tag " We do not see the PHP script .Can anyone PLEASE help us?????
Thanks for any help
Luda S
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 05-13-2007, 06:52 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,033
Default Re: need help on script to paste to "Between Head Tag "

Yes, go in the same window (Page HTML) where you pasted it, and simply delete it.
If you don't see it, either you did not paste it at all, or you have pasted it in some other tag (try Inside body, Start of page etc).
To find the correct script, look at the Forms Tutorial Part I
__________________
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!

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 05-13-2007, 09:28 PM
Private
 
Join Date: Apr 2007
Posts: 3
Default Re: need help on script to paste to "Between Head Tag "

Thank You Navaldesign for your help it worked. NOW we do not know what lines to copy and paste to html page .Should it have PHP ?? in this script?? thank you again
<!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>Thenk you for your email !</title>
<meta http-equiv="Page-Enter" content="revealTrans(Duration=1,Transition=4)">
<meta name="GENERATOR" content="Created by BlueVoda">
<style type="text/css">
div#container
{
width: 929px;
position: relative;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
text-align: left;
}
body
{
text-align: center;
margin: 0;
}
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div id="container">
<div id="bv_" style="position:absolute;left:58px;top:58px;width: 699px;height:150px;z-index:0" align="left">
<a href="file://www.likenuboatcleaning.com/page2 .html" target="_blank"><img src="bv01100.gif" id="Shape1" alt="Thank you for your Email" border="0" width="699" height="150"></a></div>
<div id="bv_" style="position:absolute;left:137px;top:118px;widt h:745px;height:31px;z-index:1" align="left">
<font style="font-size:27px" color="#0000FF" face="Bitstream Vera Serif"><b><i>Thank you for your Email !</i></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!
Reply With Quote
  #4  
Old 05-13-2007, 09:45 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,033
Default Re: need help on script to paste to "Between Head Tag "

The script is this:

Quote:
<?PHP
$mailto ="exampleemail@example.com";
$email = $HTTP_POST_VARS[email];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "Type your mail subject here";
$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);
?>
However, everything is step by step explained in
http://www.vodahost.com/vodatalk/for...-part-1-a.html

Please read the text UNDER the multimedia presentation.

The page must be published as php.
__________________
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!

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 12:33 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2007 VodaHost.com - 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