Page 1 2 

Moderators: Derry, Goldie, Harpo
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Working Mechanic
Posted
CAN SOME BODY IN THIS PLACE FIND THIS AND HELP PLEASE.

I USING SITE SPINNER PRO, AND I WANT A FORM ON THERE FOR EMAIL TO BE SENT TO MY ADDRESS.
I COULD NOT UNDERSTAND THE FORM ON THE SITE SPINNER PRO, SO I GOT THE FORM "CODE" OF VODAHOST AND PUT ON MY PAGE, BUT THEN I GO AND PREVIEW IT, IT WILL NOT ALLOOW ME TO FELL OUT THE DETAIL BOXS. I AM ALL NEW TO THIS SO CAN SOMEBODU HELP PLEASE
 
Posts: 11 | Registered: September 14, 2009Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
Please be a little patient. This is not a monitored board with someone watching it 24/7. People help others here when they get a chance to visit the forum. Posting multiple times in various topic areas is not going to get anyone to help you any faster. I can understand your panic, but that is no reason for improper behavior.

It would help us if you posted a link to the page with your form. Looking at the page will help someone figure out what is wrong. If you have not published the page yet, use the SiteSpinner publishing option to publish a temporary test page to iHostVM. Post the link they give you for your page.
 
Posts: 5138 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Picture of Kirk
Posted Hide Post
One thing you'll find after you've been here a while is that there are always folks that are willing to tackle any problems you may have with either SiteSpinner (in the WebDwarf, SiteSpinner, SiteSpinner Pro 'How do I...' board) or just about any other thing related to web site design and development (in the Web General Discussion board). However, as Larry says, you need to have just a bit of patience. If you don't get a reply right away, check back every so often and sooner or later, generally sooner, you'll have a reply. So don't get upset if you don't get an instant response and please don't yell.
 
Posts: 223 | Registered: July 22, 2007Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Posted Hide Post
There is one thing that you gure's have forgotton over time, and that is the new person that looks at all of the things that are on your page, please explain to me how any new person to the internet in explose to understand where to "POST" anything. You guy's know this site in side out. I can tell you this, then a new person comes to your site "as me" we are lost straight away. there is no plan english to fellow. Yes you guys understand all that is going on with the pages, but then a new person come on , i can say that it takes about an 1hr to work anything out. The reason why i posted so many time, Gods know if you got it. there is no yes your massage is posted or even if i am in the right place. You guys are the ones that have to step back for a sec and understand where the new person is coimg from.I can say this for fact, you would have lost a lot of new customs over time and not even know. They would have look at this like me and said f##K me, where do i go. Sorry for the launge. But this is true. This site is more for people that understand the web building a lot better then then the new person. With all of what you have just said to me about posting this in God know where, i still dont understand what i have to do......It would help us if you posted a link to the page with your form. Looking at the page will help someone figure out what is wrong. If you have not published the page yet, use the SiteSpinner publishing option to publish a temporary test page to iHostVM. Post the link they give you for your page...... This part....Post what link who gave me, what link what test page. Is the test page the one that i am working on my "web page" How do i post a link to this. I know this might **** you of, us newbes , can you please give me info like 1....2....3....4.... and so no. Tks for trying to understand. John
 
Posts: 11 | Registered: September 14, 2009Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
Please understand that the help you get here comes mostly from other users. Virtual Mechanics people get rarely involved; normally only when bugs have been found with the programs.

Also please understand that we have no idea what your background is, nor how much web knowledge you have. Yes, responses are geared toward someone we assume has had some web experience and has read the tutorials. Not doing so, we run the risk of insulting your intelligence. So we are in a damned if we do and damned if we don't position.

Back to your original problem. We have no idea what it is. In order to see the problem, we need to see the page you are having trouble with. The best way to do this is to publish your page to your site. You can find instructions on publishing in the Help Topics, Publishing Projects section. Once you have published your page, you will need to give us the URL address so we can browse to your site and see it.

Without seeing the published page, we can only guess what the problem may be. You say you got the form code from another source. How did you put this code into your project? You should have used a code object since you trying to insert code, so maybe you used a text object by mistake - this would cause it to fail. Or maybe the code you pasted was incomplete somehow. Form code requires a particular structure to work correctly, so if some piece of the code is missing, it will not work.
 
Posts: 5138 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Picture of mccifa
Posted Hide Post
Wey hey, John! Please...just calm down and take it easy. Just like you, I found it a bit tricky understanding many of the replies I got on this board.

When responses came to my questions, I then had to work out what the heck they actually meant, LOL!! Where on earth did I find certain things in SS that they mentioned? 'Do this, do that' ....yes, but HOW?!! Give me basics!!

The thing is that the responders to your problems have no idea how knowledgable you are. So, tell them in advance! I'm a dunce at many things....and just get put off when people get too technical and use 'computer jargon'.

My brother was in the Air Force (Air Sea Rescue) and I didn't have a flipping clue what he was talking about when I met him when he was on leave...all 'jargon' to me, but to him it was his natural, aquired language.

It's the same on many websites.....I'm lost cos they straight-away talk in 'techno-language'. Sorry, I know some Latin, pretty good at French and a bit of Spanish....but PC-langue? Non!!

But, if you bear with them, and ask for everything to be explained in more basic terms, you will probably get the answers you want. There are many incredibly helpful people on this board.

But please bear in mind....the responders don't have a clue when you post your message as to how PC-savvy you are. So, just take it easy and all will become clearer.

mccifa
 
Posts: 567 | Location: UK | Registered: May 28, 2007Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
As Larry said, the usual way of adding third-party Form code is as a Code Object. There is a tutorial under Help > Tutorials that goes into all the details. Also another on Form Mail that might help.

If don't want to publish a sample page at this stage, it would help if you post a link to the Vodahost code you are using -- we can translate that into "official SiteSpinner".
 
Posts: 9256 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Posted Hide Post
Hi,
Sorry for yelling.
http://trialsites.ihostvm.com/...lsite255933/website/ .........this is where my web page is. How do i post a link back to BlueVoda for the form email. The code is at the bottom, there are a couple of think that i want to change on the web page do you know how to do that. I must sound like a real dick all the time SORRY.

<form name="I would like to know more, Dubli" method="POST" action="<? echo($_SERVER['PHP_SELF']);?>" id="Form1">
<input type="text" id="Editbox1" style="position:absolute;left:101px;top:44px;width:200px;font-family:Courier New;font-size:16px;z-index:0" size="20" name="name" value="">
<div id="bv_Text5" style="position:absolute;left:14px;top:78px;width:85px;height:23px;z-index:1" align="left">
<font style="font-size:16px" color="#FF0000" face="Arial Black">Address:</font></div>
<input type="text" id="Editbox2" style="position:absolute;left:102px;top:73px;width:200px;font-family:Courier New;font-size:16px;z-index:2" size="20" name="address" value="">
<div id="bv_Text6" style="position:absolute;left:13px;top:106px;width:82px;height:23px;z-index:3" align="left">
<font style="font-size:16px" color="#FF0000" face="Arial Black">City:</font></div>
<input type="text" id="Editbox3" style="position:absolute;left:102px;top:102px;width:200px;font-family:Courier New;font-size:16px;z-index:4" size="20" name="city" value="">
<div id="bv_Text7" style="position:absolute;left:10px;top:131px;width:82px;height:23px;z-index:5" align="left">
<font style="font-size:16px" color="#FF0000" face="Arial Black">State:</font></div>
<input type="text" id="Editbox4" style="position:absolute;left:102px;top:131px;width:200px;font-family:Courier New;font-size:16px;z-index:6" size="20" name="state" value="">
<div id="bv_Text8" style="position:absolute;left:14px;top:165px;width:82px;height:23px;z-index:7" align="left">
<font style="font-size:16px" color="#FF0000" face="Arial Black">P/Code:</font></div>
<input type="text" id="Editbox5" style="position:absolute;left:102px;top:160px;width:200px;font-family:Courier New;font-size:16px;z-index:8" size="20" name="code" value="">
<div id="bv_Text9" style="position:absolute;left:14px;top:194px;width:82px;height:23px;z-index:9" align="left">
<font style="font-size:16px" color="#FF0000" face="Arial Black">Moblie:</font></div>
<input type="text" id="Editbox6" style="position:absolute;left:102px;top:189px;width:200px;font-family:Courier New;font-size:16px;z-index:10" size="20" name="phone" value="">
<div id="bv_Text10" style="position:absolute;left:14px;top:223px;width:82px;height:23px;z-index:11" align="left">
<font style="font-size:16px" color="#FF0000" face="Arial Black">Email:</font></div>
<input type="text" id="Editbox7" style="position:absolute;left:102px;top:218px;width:200px;font-family:Courier New;font-size:16px;z-index:12" size="20" name="email" value="">
<div id="bv_Text11" style="position:absolute;left:14px;top:252px;width:82px;height:23px;z-index:13" align="left">
<font style="font-size:16px" color="#004080" face="Arial Black">Country:</font></div>
<select name="country" size="1" id="Combobox1" style="position:absolute;left:102px;top:247px;width:200px;font-family:Courier New;font-size:16px;z-index:14">
<option selected value="Select">Select your country</option>
<option value="Afghanistan">Afghanistan</option>
<option value="Aland Islands">Aland Islands</option>
<option value="Albania">Albania</option>
<option value="Algeria">Algeria</option>
<option value="American Samoa">American Samoa</option>
<option value="Andorra">Andorra</option>
<option value="Angola">Angola</option>
<option value="Anguilla">Anguilla</option>
<option value="Antarctica">Antarctica</option>
<option value="Antigua and Barbuda">Antigua and Barbuda</option>
<option value="Argentina">Argentina</option>
<option value="Armenia">Armenia</option>
<option value="Aruba">Aruba</option>
<option value="Australia">Australia</option>
<option value="Austria">Austria</option>
<option value="Azerbaijan">Azerbaijan</option>
<option value="Bahamas">Bahamas</option>
<option value="Bahrain">Bahrain</option>
<option value="Bangladesh">Bangladesh</option>
<option value="Barbados">Barbados</option>
<option value="Belarus">Belarus</option>
<option value="Belgium">Belgium</option>
<option value="Belize">Belize</option>
<option value="Benin">Benin</option>
<option value="Bermuda">Bermuda</option>
<option value="Bhutan">Bhutan</option>
<option value="Bolivia">Bolivia</option>
<option value="Bosnia and Herzegovina">Bosnia and Herzegovina</option>
<option value="Botswana">Botswana</option>
<option value="Bouvet Island">Bouvet Island</option>
<option value="Brazil">Brazil</option>
<option value="British Indian Ocean Territory">British Indian Ocean Territory</option>
<option value="Brunei Darussalam">Brunei Darussalam</option>
<option value="Bulgaria">Bulgaria</option>
<option value="Burkina Faso">Burkina Faso</option>
<option value="Burundi">Burundi</option>
<option value="Cambodia">Cambodia</option>
<option value="Cameroon">Cameroon</option>
<option value="Canada">Canada</option>
<option value="Cape Verde">Cape Verde</option>
<option value="Cayman Islands">Cayman Islands</option>
<option value="Central African Republic">Central African Republic</option>
<option value="Chad">Chad</option>
<option value="Chile">Chile</option>
<option value="China">China</option>
<option value="Christmas Island">Christmas Island</option>
<option value="Cocos (Keeling) Islands">Cocos (Keeling) Islands</option>
<option value="Colombia">Colombia</option>
<option value="Comoros">Comoros</option>
<option value="Congo">Congo</option>
<option value="Cook Islands">Cook Islands</option>
<option value="Costa Rica">Costa Rica</option>
<option value="Cote D'Ivoire">Cote D'Ivoire</option>
<option value="Croatia">Croatia</option>
<option value="Cuba">Cuba</option>
<option value="Cyprus">Cyprus</option>
<option value="Czech Republic">Czech Republic</option>
<option value="Denmark">Denmark</option>
<option value="Djibouti">Djibouti</option>
<option value="Dominica">Dominica</option>
<option value="Dominican Republic">Dominican Republic</option>
<option value="Ecuador">Ecuador</option>
<option value="Egypt">Egypt</option>
<option value="El Salvador">El Salvador</option>
<option value="Equatorial Guinea">Equatorial Guinea</option>
<option value="Eritrea">Eritrea</option>
<option value="Estonia">Estonia</option>
<option value="Ethiopia">Ethiopia</option>
<option value="Falkland Islands">Falkland Islands</option>
<option value="Faroe Islands">Faroe Islands</option>
<option value="Fiji">Fiji</option>
<option value="Finland">Finland</option>
<option value="France">France</option>
<option value="French Guiana">French Guiana</option>
<option value="French Polynesia">French Polynesia</option>
<option value="French Southern Territories">French Southern Territories</option>
<option value="Gabon">Gabon</option>
<option value="Gambia">Gambia</option>
<option value="Georgia">Georgia</option>
<option value="Germany">Germany</option>
<option value="Ghana">Ghana</option>
<option value="Gibraltar">Gibraltar</option>
<option value="Greece">Greece</option>
<option value="Greenland">Greenland</option>
<option value="Grenada">Grenada</option>
<option value="Guadeloupe">Guadeloupe</option>
<option value="Guam">Guam</option>
<option value="Guatemala">Guatemala</option>
<option value="Guinea">Guinea</option>
<option value="Guinea-Bissau">Guinea-Bissau</option>
<option value="Guyana">Guyana</option>
<option value="Haiti">Haiti</option>
<option value="Heard Island and Mcdonald Islands">Heard Island and Mcdonald Islands</option>
<option value="Vatican City">Vatican City</option>
<option value="Honduras">Honduras</option>
<option value="Hong Kong">Hong Kong</option>
<option value="Hungary">Hungary</option>
<option value="Iceland">Iceland</option>
<option value="India">India</option>
<option value="Indonesia">Indonesia</option>
<option value="Iran">Iran</option>
<option value="Iraq">Iraq</option>
<option value="Ireland">Ireland</option>
<option value="Israel">Israel</option>
<option value="Italy">Italy</option>
<option value="Jamaica">Jamaica</option>
<option value="Japan">Japan</option>
<option value="Jordan">Jordan</option>
<option value="Kazakhstan">Kazakhstan</option>
<option value="Kenya">Kenya</option>
<option value="Kiribati">Kiribati</option>
<option value="South Korea">South Korea</option>
<option value="North Korea">North Korea</option>
<option value="Kuwait">Kuwait</option>
<option value="Kyrgyzstan">Kyrgyzstan</option>
<option value="Laos">Laos</option>
<option value="Latvia">Latvia</option>
<option value="Lebanon">Lebanon</option>
<option value="Lesotho">Lesotho</option>
<option value="Liberia">Liberia</option>
<option value="Libya">Libya</option>
<option value="Liechtenstein">Liechtenstein</option>
<option value="Lithuania">Lithuania</option>
<option value="Luxembourg">Luxembourg</option>
<option value="Macao">Macao</option>
<option value="Macedonia">Macedonia</option>
<option value="Madagascar">Madagascar</option>
<option value="Malawi">Malawi</option>
<option value="Malaysia">Malaysia</option>
<option value="Maldives">Maldives</option>
<option value="Mali">Mali</option>
<option value="Malta">Malta</option>
<option value="Marshall Islands">Marshall Islands</option>
<option value="Martinique">Martinique</option>
<option value="Mauritania">Mauritania</option>
<option value="Mauritius">Mauritius</option>
<option value="Mayotte">Mayotte</option>
<option value="Mexico">Mexico</option>
<option value="Micronesia">Micronesia</option>
<option value="Moldova">Moldova</option>
<option value="Monaco">Monaco</option>
<option value="Mongolia">Mongolia</option>
<option value="Montserrat">Montserrat</option>
<option value="Morocco">Morocco</option>
<option value="Mozambique">Mozambique</option>
<option value="Myanmar">Myanmar</option>
<option value="Namibia">Namibia</option>
<option value="Nauru">Nauru</option>
<option value="Nepal">Nepal</option>
<option value="Netherlands">Netherlands</option>
<option value="Netherlands Antilles">Netherlands Antilles</option>
<option value="New Caledonia">New Caledonia</option>
<option value="New Zealand">New Zealand</option>
<option value="Nicaragua">Nicaragua</option>
<option value="Niger">Niger</option>
<option value="Nigeria">Nigeria</option>
<option value="Niue">Niue</option>
<option value="Norfolk Island">Norfolk Island</option>
<option value="Northern Mariana Islands">Northern Mariana Islands</option>
<option value="Norway">Norway</option>
<option value="Oman">Oman</option>
<option value="Pakistan">Pakistan</option>
<option value="Palau">Palau</option>
<option value="Palestinian Territory">Palestinian Territory</option>
<option value="Panama">Panama</option>
<option value="Papua New Guinea">Papua New Guinea</option>
<option value="Paraguay">Paraguay</option>
<option value="Peru">Peru</option>
<option value="Philippines">Philippines</option>
<option value="Pitcairn">Pitcairn</option>
<option value="Poland">Poland</option>
<option value="Portugal">Portugal</option>
<option value="Puerto Rico">Puerto Rico</option>
<option value="Qatar">Qatar</option>
<option value="Reunion">Reunion</option>
<option value="Romania">Romania</option>
<option value="Russian Federation">Russian Federation</option>
<option value="Rwanda">Rwanda</option>
<option value="Saint Helena">Saint Helena</option>
<option value="Saint Kitts And Nevis">Saint Kitts And Nevis</option>
<option value="Saint Lucia">Saint Lucia</option>
<option value="Saint Pierre and Miquelon">Saint Pierre and Miquelon</option>
<option value="Saint Vincent and The Grenadines">Saint Vincent and The Grenadines</option>
<option value="Samoa">Samoa</option>
<option value="San Marino">San Marino</option>
<option value="Sao Tome and Principe">Sao Tome and Principe</option>
<option value="Saudi Arabia">Saudi Arabia</option>
<option value="Senegal">Senegal</option>
<option value="Serbia and Montenegro">Serbia and Montenegro</option>
<option value="Seychelles">Seychelles</option>
<option value="Sierra Leone">Sierra Leone</option>
<option value="Singapore">Singapore</option>
<option value="Slovakia">Slovakia</option>
<option value="Slovenia">Slovenia</option>
<option value="Solomon Islands">Solomon Islands</option>
<option value="Somalia">Somalia</option>
<option value="South Africa">South Africa</option>
<option value="Spain">Spain</option>
<option value="Sri Lanka">Sri Lanka</option>
<option value="Sudan">Sudan</option>
<option value="Suriname">Suriname</option>
<option value="Svalbard and Jan Mayen">Svalbard and Jan Mayen</option>
<option value="Swaziland">Swaziland</option>
<option value="Sweden">Sweden</option>
<option value="Switzerland">Switzerland</option>
<option value="Syrian Arab Republic">Syrian Arab Republic</option>
<option value="Taiwan">Taiwan</option>
<option value="Tajikistan">Tajikistan</option>
<option value="Tanzania">Tanzania</option>
<option value="Thailand">Thailand</option>
<option value="Timor-Leste">Timor-Leste</option>
<option value="Togo">Togo</option>
<option value="Tokelau">Tokelau</option>
<option value="Tonga">Tonga</option>
<option value="Trinidad and Tobago">Trinidad and Tobago</option>
<option value="Tunisia">Tunisia</option>
<option value="Turkey">Turkey</option>
<option value="Turkmenistan">Turkmenistan</option>
<option value="Turks and Caicos Islands">Turks and Caicos Islands</option>
<option value="Tuvalu">Tuvalu</option>
<option value="Uganda">Uganda</option>
<option value="Ukraine">Ukraine</option>
<option value="United Arab Emirates">United Arab Emirates</option>
<option value="United Kingdom">United Kingdom</option>
<option value="United States">United States</option>
<option value="Uruguay">Uruguay</option>
<option value="Uzbekistan">Uzbekistan</option>
<option value="Vanuatu">Vanuatu</option>
<option value="Venezuela">Venezuela</option>
<option value="Vietnam">Vietnam</option>
<option value="Virgin Islands">Virgin Islands</option>
<option value="Wallis and Futuna">Wallis and Futuna</option>
<option value="Western Sahara">Western Sahara</option>
<option value="Yemen">Yemen</option>
<option value="Zambia">Zambia</option>
<option value="Zimbabwe">Zimbabwe</option>
</select>
<input type="submit" id="Button1"" name="Dubli In Australia" value="Send" style="position:absolute;left:102px;top:276px;width:96px;height:25px;z-index:15">
<input type="reset" id="Button2"" name="Button2" value="Reset" style="position:absolute;left:102px;top:306px;width:96px;height:25px;z-index:16">
<div id="bv_Text2" style="position:absolute;left:16px;top:56px;width:82px;height:23px;z-index:17" align="left">
<font style="font-size:16px" color="#FF0000" face="Arial Black">Name</font><font style="font-size:16px" color="#FF0000" face="Arial Black">:</font></div>
<div id="bv_Image27" style="overflow:hidden;position:absolute;left:92px;top:273px;z-index:18" align="left">
<a href="australiandubli@gmail"><img src="225_schwarz_eng.jpg" id="Image27" alt="" align="top" border="0" style="width:116px;height:30px;"></a></div>

</form>
 
Posts: 11 | Registered: September 14, 2009Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
I'm not completely sure about this but this line of your code:
action="<? echo($_SERVER['PHP_SELF']);?>"
seems like it is relying on a PHP script already located on your VodaHost server. This script may be missing from your IHost trial site, so I wouldn't expect that part to work.

Also it seems to me your index page should have the name "index.php" -- this would allow the PHP pre-processor to fill out the actual action address (URL) of the script file that will look after the email functions.

So with that change, and running your form page on your VodaHost server, there is a better prospect of it working.

I'm no expert on PHP, but Larry is -- and may have some other (better!) ideas.
quote:
there are a couple of think that i want to change on the web page do you know how to do that
Can you point out which think you want to change? Wink
 
Posts: 9256 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
quote:
action="<? echo($_SERVER['PHP_SELF']);?>"
This part of your form code is trying to execute a PHP script that needs to be contained on your page. Since this part is missing, you will be unable to receive e-mail from your form.

I'm not sure what BlueVoda furnishes for this, but the following PHP code can be used.
<?php

$sendto = "me@myemailcom";
$email = $_REQUEST['email'];
$name = "Name: ".$_REQUEST['name'];
$address = "Address: ".$_REQUEST['address'];
$city = "City: ".$_REQUEST['city'];
$state = "State: ".$_REQUEST['state'];
$code = "Postal Code: ".$_REQUEST['code'];
$phone = "Phone: ".$_REQUEST['name'];
$country = "Country: ".$_REQUEST['country'];

$body = "$name\n\r$address\n\r$city\n\r$state\n\r$code\n\r$phone\n\r$country";
mail($sendto, "Competition Entry", $body, "From: $email");
header("Location: thanks.html");

?>
Copy and paste it into a plain text editor. Change the me@myemailcom in the code to your actual email address. The line
quote:
header("Location: thanks.html");
is used to redirect your visitor to a page named thanks.html, so make sure you create and publish a page name "thanks".

After making the above change to the code, copy it as a file named sendmail.php and upload it to your site. Then change the action line in your form code to execute the script when the form's Send button is clicked. It should look like:
quote:
action="sendmail.php"
 
Posts: 5138 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Posted Hide Post
Hi Bruce,

Thaks for the help, sorry for beening such a dick.

ok, i have to eplain this so you know what i have done,

1: The Email form is from Blue Voda, all that i did was get the code and put into Sitespinner....will this still work.
I have not paid them any money for being my sever yet

i have gone to Page Editor, and in page title it now says....index.php....is this right?

With this "Part of a code" do i put this in. if so how.

2: When it comes to the changes that i want on the web page there are some pictuters that are coving up words. And there are some sentences that i would like to change a bit.

3: Quote:
So with that change, and running your form page on your VodaHost server, there is a better prospect of it working.

So does this mean that i have to have Vodahost is Blue Voda hosting this web site. The web builder is SiteSpinner , but the form is from BlueVoda. And the Trail Site is ihost.com I could not work out how to put the Email form from Sitespinner onto the web page, so i got BlueVodas. will this still work this way?

I hope that i have not lost you in saying all of this.
 
Posts: 11 | Registered: September 14, 2009Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
Larry has given you better advice so ignore what I said. If you follow his advice, there will be no need to change your index.html to index.php.

To change the image positions and wording, just re-open your project as you have been doing and make the changes. When you republish the page, the mechanics are the same as your last publish.
 
Posts: 9256 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Posted Hide Post
Hi Larryd, Thanks for your help

1: header("Location: thanks.html"); I make a page up , but what do call it is it just what you have"thanks.html and will it get there or is it like ? My freetail is with www.ihost.com/trailsite255933 or then i buy the web address do i put it under www.australiandubli.com.au/thanks.html

++ how do i upload all this again. it took me 3 hr last time to work it out.



2: Is this the way that you are talking about with the action?
<form name="I would like to know more, Dubli" method="POST" action="sendmail.php" echo($_SERVER['PHP_SELF']);?>" id="Form1">
<input type="text" id="Editbox1" style="position:absolute;left:101px;top:44px;width:200px;font-family:Courier New;font-size:16px;z-index:0" size="20" name="name" value="">
<div id="bv_Text5" style="position:absolute;left:10px;top:73px;width:85px;height:23px;z-index:1" align="left">
<font style="font-size:16px" color="#FF0000" face="Arial Black">Address:</font></div>
<input type="text" id="Editbox2" style
 
Posts: 11 | Registered: September 14, 2009Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Posted Hide Post
Hi Guys, Thanks for the help.

Can you please start over for what i have to do.

That has put my head into a spin having the two ways i have changed things and i dont know what i have changed now.

Can i start over as in putting a new email form onto the page. i have trued to upload the way that you said but it says that i have to save it in another place. but then i go there you cant do it the way that the pc is saying.

I have made 1 page that is sendmail.php that saved not a problem. It is just when i go and save the thanks.html the pc is saying that i can not save this.

So can we start all over again, take the site down put the codes in change thing on the page a little bit and up-load then all in one hit...This will be easer on my Brain "lol" i think,,,,,,but if you have a better way that is easy for me GREAT please let me know.

Thanks
John
 
Posts: 11 | Registered: September 14, 2009Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
Following Larry's suggestion, change this section of the original code:
Original:
<form name="I would like to know more, Dubli" method="POST"
action="<? echo($_SERVER['PHP_SELF']);?>" id="Form1">
Modified:
<form name="I would like to know more, Dubli" method="POST"
action="sendmail.php" id="Form1">

The sendmail.php part is case-sensitive, so make sure the name of the separate file is exactly the same. Also, I suggest you add it to your form page with the "Embed a File or Media" tool on the left toolbar, and set a Format of Publish File -- top entry of the drop-down format list. This will force SS, when you publish, to upload it to the correct place of your site.

You don't need to put a new form on your page -- just open the Code Editor and make the above small change.

The thanks.html page is just another page in your project. Name it thanks in the drop-down page list.

When using an IHost Trial site, you can publish only once. So if you are changing anything, as you are here, you will need to publish your whole project to a new Trial site.
 
Posts: 9256 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Posted Hide Post
Hi, sorry back again

This is the url can you ahve a look down at where you fill out the form and , what have i done this time.

Thanks John

http://trialsites.ihostvm.com/...lsite256040/website/
 
Posts: 11 | Registered: September 14, 2009Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Posted Hide Post
Hi ,

These are the two that i am using are the right

Thanks John



<?php

$sendto = "australiandubli@gmailcom";
$email = $_REQUEST['email'];
$name = "Name: ".$_REQUEST['name'];
$address = "Address: ".$_REQUEST['address'];
$city = "City: ".$_REQUEST['city'];
$state = "State: ".$_REQUEST['state'];
$code = "Postal Code: ".$_REQUEST['code'];
$phone = "Phone: ".$_REQUEST['name'];
$country = "Country: ".$_REQUEST['country'];

$body = "$name\n\r$address\n\r$city\n\r$state\n\r$code\n\r$phone\n\r$country";
mail($sendto, "Competition Entry", $body, "From: $email");
header("Location: thanks.html");

?>



<form name="I would like to know more, Dubli" method="POST"
action="sendmail.php" id="Form1">input type="text" id="Editbox1" style="position:absolute;left:101px;top:44px;width:200px;font-family:Courier New;font-size:16px;z-index:19" size="20" name="name" value="">
<div id="bv_Text5" style="position:absolute;left:14px;top:78px;width:85px;height:23px;z-index:20" align="left">
<font style="font-size:16px" color="#FF0000" face="Arial Black">Address:</font></div>
<input type="text" id="Editbox2" style="position:absolute;left:102px;top:73px;width:200px;font-family:Courier New;font-size:16px;z-index:21" size="20" name="address" value="">
<div id="bv_Text6" style="position:absolute;left:13px;top:106px;width:82px;height:23px;z-index:22" align="left">
<font style="font-size:16px" color="#FF0000" face="Arial Black">City:</font></div>
<input type="text" id="Editbox3" style="position:absolute;left:102px;top:102px;width:200px;font-family:Courier New;font-size:16px;z-index:23" size="20" name="city" value="">
<div id="bv_Text7" style="position:absolute;left:10px;top:131px;width:82px;height:23px;z-index:24" align="left">
<font style="font-size:16px" color="#FF0000" face="Arial Black">State:</font></div>
<input type="text" id="Editbox4" style="position:absolute;left:102px;top:131px;width:200px;font-family:Courier New;font-size:16px;z-index:25" size="20" name="state" value="">
<div id="bv_Text8" style="position:absolute;left:14px;top:165px;width:82px;height:23px;z-index:26" align="left">
<font style="font-size:16px" color="#FF0000" face="Arial Black">P/Code:</font></div>
<input type="text" id="Editbox5" style="position:absolute;left:102px;top:160px;width:200px;font-family:Courier New;font-size:16px;z-index:27" size="20" name="code" value="">
<div id="bv_Text9" style="position:absolute;left:14px;top:194px;width:82px;height:23px;z-index:28" align="left">
<font style="font-size:16px" color="#FF0000" face="Arial Black">Moblie:</font></div>
<input type="text" id="Editbox6" style="position:absolute;left:102px;top:189px;width:200px;font-family:Courier New;font-size:16px;z-index:29" size="20" name="phone" value="">
<div id="bv_Text10" style="position:absolute;left:14px;top:223px;width:82px;height:23px;z-index:30" align="left">
<font style="font-size:16px" color="#FF0000" face="Arial Black">Email:</font></div>
<input type="text" id="Editbox7" style="position:absolute;left:102px;top:218px;width:200px;font-family:Courier New;font-size:16px;z-index:31" size="20" name="email" value="">
<div id="bv_Text11" style="position:absolute;left:14px;top:252px;width:82px;height:23px;z-index:32" align="left">
<font style="font-size:16px" color="#004080" face="Arial Black">Country:</font></div>
<select name="country" size="1" id="Combobox1" style="position:absolute;left:102px;top:247px;width:200px;font-family:Courier New;font-size:16px;z-index:33">
<option selected value="Select">Select your country</option>
<option value="Afghanistan">Afghanistan</option>
<option value="Aland Islands">Aland Islands</option>
<option value="Albania">Albania</option>
<option value="Algeria">Algeria</option>
<option value="American Samoa">American Samoa</option>
<option value="Andorra">Andorra</option>
<option value="Angola">Angola</option>
<option value="Anguilla">Anguilla</option>
<option value="Antarctica">Antarctica</option>
<option value="Antigua and Barbuda">Antigua and Barbuda</option>
<option value="Argentina">Argentina</option>
<option value="Armenia">Armenia</option>
<option value="Aruba">Aruba</option>
<option value="Australia">Australia</option>
<option value="Austria">Austria</option>
<option value="Azerbaijan">Azerbaijan</option>
<option value="Bahamas">Bahamas</option>
<option value="Bahrain">Bahrain</option>
<option value="Bangladesh">Bangladesh</option>
<option value="Barbados">Barbados</option>
<option value="Belarus">Belarus</option>
<option value="Belgium">Belgium</option>
<option value="Belize">Belize</option>
<option value="Benin">Benin</option>
<option value="Bermuda">Bermuda</option>
<option value="Bhutan">Bhutan</option>
<option value="Bolivia">Bolivia</option>
<option value="Bosnia and Herzegovina">Bosnia and Herzegovina</option>
<option value="Botswana">Botswana</option>
<option value="Bouvet Island">Bouvet Island</option>
<option value="Brazil">Brazil</option>
<option value="British Indian Ocean Territory">British Indian Ocean Territory</option>
<option value="Brunei Darussalam">Brunei Darussalam</option>
<option value="Bulgaria">Bulgaria</option>
<option value="Burkina Faso">Burkina Faso</option>
<option value="Burundi">Burundi</option>
<option value="Cambodia">Cambodia</option>
<option value="Cameroon">Cameroon</option>
<option value="Canada">Canada</option>
<option value="Cape Verde">Cape Verde</option>
<option value="Cayman Islands">Cayman Islands</option>
<option value="Central African Republic">Central African Republic</option>
<option value="Chad">Chad</option>
<option value="Chile">Chile</option>
<option value="China">China</option>
<option value="Christmas Island">Christmas Island</option>
<option value="Cocos (Keeling) Islands">Cocos (Keeling) Islands</option>
<option value="Colombia">Colombia</option>
<option value="Comoros">Comoros</option>
<option value="Congo">Congo</option>
<option value="Cook Islands">Cook Islands</option>
<option value="Costa Rica">Costa Rica</option>
<option value="Cote D'Ivoire">Cote D'Ivoire</option>
<option value="Croatia">Croatia</option>
<option value="Cuba">Cuba</option>
<option value="Cyprus">Cyprus</option>
<option value="Czech Republic">Czech Republic</option>
<option value="Denmark">Denmark</option>
<option value="Djibouti">Djibouti</option>
<option value="Dominica">Dominica</option>
<option value="Dominican Republic">Dominican Republic</option>
<option value="Ecuador">Ecuador</option>
<option value="Egypt">Egypt</option>
<option value="El Salvador">El Salvador</option>
<option value="Equatorial Guinea">Equatorial Guinea</option>
<option value="Eritrea">Eritrea</option>
<option value="Estonia">Estonia</option>
<option value="Ethiopia">Ethiopia</option>
<option value="Falkland Islands">Falkland Islands</option>
<option value="Faroe Islands">Faroe Islands</option>
<option value="Fiji">Fiji</option>
<option value="Finland">Finland</option>
<option value="France">France</option>
<option value="French Guiana">French Guiana</option>
<option value="French Polynesia">French Polynesia</option>
<option value="French Southern Territories">French Southern Territories</option>
<option value="Gabon">Gabon</option>
<option value="Gambia">Gambia</option>
<option value="Georgia">Georgia</option>
<option value="Germany">Germany</option>
<option value="Ghana">Ghana</option>
<option value="Gibraltar">Gibraltar</option>
<option value="Greece">Greece</option>
<option value="Greenland">Greenland</option>
<option value="Grenada">Grenada</option>
<option value="Guadeloupe">Guadeloupe</option>
<option value="Guam">Guam</option>
<option value="Guatemala">Guatemala</option>
<option value="Guinea">Guinea</option>
<option value="Guinea-Bissau">Guinea-Bissau</option>
<option value="Guyana">Guyana</option>
<option value="Haiti">Haiti</option>
<option value="Heard Island and Mcdonald Islands">Heard Island and Mcdonald Islands</option>
<option value="Vatican City">Vatican City</option>
<option value="Honduras">Honduras</option>
<option value="Hong Kong">Hong Kong</option>
<option value="Hungary">Hungary</option>
<option value="Iceland">Iceland</option>
<option value="India">India</option>
<option value="Indonesia">Indonesia</option>
<option value="Iran">Iran</option>
<option value="Iraq">Iraq</option>
<option value="Ireland">Ireland</option>
<option value="Israel">Israel</option>
<option value="Italy">Italy</option>
<option value="Jamaica">Jamaica</option>
<option value="Japan">Japan</option>
<option value="Jordan">Jordan</option>
<option value="Kazakhstan">Kazakhstan</option>
<option value="Kenya">Kenya</option>
<option value="Kiribati">Kiribati</option>
<option value="South Korea">South Korea</option>
<option value="North Korea">North Korea</option>
<option value="Kuwait">Kuwait</option>
<option value="Kyrgyzstan">Kyrgyzstan</option>
<option value="Laos">Laos</option>
<option value="Latvia">Latvia</option>
<option value="Lebanon">Lebanon</option>
<option value="Lesotho">Lesotho</option>
<option value="Liberia">Liberia</option>
<option value="Libya">Libya</option>
<option value="Liechtenstein">Liechtenstein</option>
<option value="Lithuania">Lithuania</option>
<option value="Luxembourg">Luxembourg</option>
<option value="Macao">Macao</option>
<option value="Macedonia">Macedonia</option>
<option value="Madagascar">Madagascar</option>
<option value="Malawi">Malawi</option>
<option value="Malaysia">Malaysia</option>
<option value="Maldives">Maldives</option>
<option value="Mali">Mali</option>
<option value="Malta">Malta</option>
<option value="Marshall Islands">Marshall Islands</option>
<option value="Martinique">Martinique</option>
<option value="Mauritania">Mauritania</option>
<option value="Mauritius">Mauritius</option>
<option value="Mayotte">Mayotte</option>
<option value="Mexico">Mexico</option>
<option value="Micronesia">Micronesia</option>
<option value="Moldova">Moldova</option>
<option value="Monaco">Monaco</option>
<option value="Mongolia">Mongolia</option>
<option value="Montserrat">Montserrat</option>
<option value="Morocco">Morocco</option>
<option value="Mozambique">Mozambique</option>
<option value="Myanmar">Myanmar</option>
<option value="Namibia">Namibia</option>
<option value="Nauru">Nauru</option>
<option value="Nepal">Nepal</option>
<option value="Netherlands">Netherlands</option>
<option value="Netherlands Antilles">Netherlands Antilles</option>
<option value="New Caledonia">New Caledonia</option>
<option value="New Zealand">New Zealand</option>
<option value="Nicaragua">Nicaragua</option>
<option value="Niger">Niger</option>
<option value="Nigeria">Nigeria</option>
<option value="Niue">Niue</option>
<option value="Norfolk Island">Norfolk Island</option>
<option value="Northern Mariana Islands">Northern Mariana Islands</option>
<option value="Norway">Norway</option>
<option value="Oman">Oman</option>
<option value="Pakistan">Pakistan</option>
<option value="Palau">Palau</option>
<option value="Palestinian Territory">Palestinian Territory</option>
<option value="Panama">Panama</option>
<option value="Papua New Guinea">Papua New Guinea</option>
<option value="Paraguay">Paraguay</option>
<option value="Peru">Peru</option>
<option value="Philippines">Philippines</option>
<option value="Pitcairn">Pitcairn</option>
<option value="Poland">Poland</option>
<option value="Portugal">Portugal</option>
<option value="Puerto Rico">Puerto Rico</option>
<option value="Qatar">Qatar</option>
<option value="Reunion">Reunion</option>
<option value="Romania">Romania</option>
<option value="Russian Federation">Russian Federation</option>
<option value="Rwanda">Rwanda</option>
<option value="Saint Helena">Saint Helena</option>
<option value="Saint Kitts And Nevis">Saint Kitts And Nevis</option>
<option value="Saint Lucia">Saint Lucia</option>
<option value="Saint Pierre and Miquelon">Saint Pierre and Miquelon</option>
<option value="Saint Vincent and The Grenadines">Saint Vincent and The Grenadines</option>
<option value="Samoa">Samoa</option>
<option value="San Marino">San Marino</option>
<option value="Sao Tome and Principe">Sao Tome and Principe</option>
<option value="Saudi Arabia">Saudi Arabia</option>
<option value="Senegal">Senegal</option>
<option value="Serbia and Montenegro">Serbia and Montenegro</option>
<option value="Seychelles">Seychelles</option>
<option value="Sierra Leone">Sierra Leone</option>
<option value="Singapore">Singapore</option>
<option value="Slovakia">Slovakia</option>
<option value="Slovenia">Slovenia</option>
<option value="Solomon Islands">Solomon Islands</option>
<option value="Somalia">Somalia</option>
<option value="South Africa">South Africa</option>
<option value="Spain">Spain</option>
<option value="Sri Lanka">Sri Lanka</option>
<option value="Sudan">Sudan</option>
<option value="Suriname">Suriname</option>
<option value="Svalbard and Jan Mayen">Svalbard and Jan Mayen</option>
<option value="Swaziland">Swaziland</option>
<option value="Sweden">Sweden</option>
<option value="Switzerland">Switzerland</option>
<option value="Syrian Arab Republic">Syrian Arab Republic</option>
<option value="Taiwan">Taiwan</option>
<option value="Tajikistan">Tajikistan</option>
<option value="Tanzania">Tanzania</option>
<option value="Thailand">Thailand</option>
<option value="Timor-Leste">Timor-Leste</option>
<option value="Togo">Togo</option>
<option value="Tokelau">Tokelau</option>
<option value="Tonga">Tonga</option>
<option value="Trinidad and Tobago">Trinidad and Tobago</option>
<option value="Tunisia">Tunisia</option>
<option value="Turkey">Turkey</option>
<option value="Turkmenistan">Turkmenistan</option>
<option value="Turks and Caicos Islands">Turks and Caicos Islands</option>
<option value="Tuvalu">Tuvalu</option>
<option value="Uganda">Uganda</option>
<option value="Ukraine">Ukraine</option>
<option value="United Arab Emirates">United Arab Emirates</option>
<option value="United Kingdom">United Kingdom</option>
<option value="United States">United States</option>
<option value="Uruguay">Uruguay</option>
<option value="Uzbekistan">Uzbekistan</option>
<option value="Vanuatu">Vanuatu</option>
<option value="Venezuela">Venezuela</option>
<option value="Vietnam">Vietnam</option>
<option value="Virgin Islands">Virgin Islands</option>
<option value="Wallis and Futuna">Wallis and Futuna</option>
<option value="Western Sahara">Western Sahara</option>
<option value="Yemen">Yemen</option>
<option value="Zambia">Zambia</option>
<option value="Zimbabwe">Zimbabwe</option>
</select>
<input type="submit" id="Button1"" name="Dubli In Australia" value="Send" style="position:absolute;left:102px;top:276px;width:96px;height:25px;z-index:34">
<input type="reset" id="Button2"" name="Button2" value="Reset" style="position:absolute;left:102px;top:306px;width:96px;height:25px;z-index:35">
<div id="bv_Text2" style="position:absolute;left:16px;top:56px;width:82px;height:23px;z-index:36" align="left">
<font style="font-size:16px" color="#FF0000" face="Arial Black">Name</font><font style="font-size:16px" color="#FF0000" face="Arial Black">:</font></div>
<div id="bv_Image27" style="overflow:hidden;position:absolute;left:92px;top:273px;z-index:37" align="left">
<a href="australiandubli@gmail"><img src="225_schwarz_eng.jpg" id="Image27" alt="" align="top" border="0" style="width:116px;height:30px;"></a></div>

</form>
 
Posts: 11 | Registered: September 14, 2009Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
John,

Your form code looks OK; no problem that I can see without testing it.

The PHP code you have added to your page needs to be put into a separate and external file all by itself. PHP code is server-side code, meaning it must reside on the server to execute. HTML (and form code) and javascript are known as client-side code, meaning it must reside on you visitor's computer (and in the browser) to execute.

Remember to use a plain test editor for the PHP code, such as Notepad. Do not use a word processing program like Word since these types of programs insert special characters into the file to control formating. Also, remember to name the file exactly the same as what you used in the "action" part of your form.

Use Bruce's instruction to upload the PHP file to your site (or the test site). The Publish Type is the way to tell SS how to handle an external file.
 
Posts: 5138 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Posted Hide Post
Hi

So let me get this right, i will have 3 up load to the sever.

1: "Web Page" this is a .html

2: thanks.thml

3: sendmail.php

please say i am right.

John
 
Posts: 11 | Registered: September 14, 2009Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Picture of Kirk
Posted Hide Post
You appear to have a problem in your form code right up front for entering Name. Take a look at this:

<form name="I would like to know more, Dubli" method="POST"
action="sendmail.php" id="Form1">input type="text" id="Editbox1" style="position:absolute;left:101px;top:44px;width:200px;font-family:Courier New;font-size:16px;z-index:19" size="20" name="name" value="">

Make sure your sendmail.php is in the root directory along with the form html page. (You'll have to FTP the sendmail.php file).

You might want to consider adding an Address2 line since many people have a 2nd part to their addresses.

Publish what you have and do some on-line testing and see how it works.
 
Posts: 223 | Registered: July 22, 2007Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community Page 1 2  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.