Lawn Care Business Forum Lawn Care Business Book Lawn Care Business Blog Lawn Care Software
Home Forum Contract & Flyer Templates Blog Software Videos Podcast Calculators / Estimators Store Mower Review Design It Yourself Lawn Business School

Go Back   GopherHaul Landscaping & Lawn Care Business Marketing Forum > Graphic And Web Design Support Forums > Search Engine Optimization and Website Design Discussions.

Search Engine Optimization and Website Design Discussions. Need a lawn care business website built? Talk about search engine optimization. Or ask your lawn care and landscaping business web building related questions here. Show us your landscaping business web site for review.

Web Template help


Search Engine Optimization and Website Design Discussions.

Need a lawn care business website built? Talk about search engine optimization. Or ask your lawn care and landscaping business web building related questions here. Show us your landscaping business web site for review.
Reply
 
Thread Tools Search this Thread
  #21  
Old 01-02-2005, 06:44 PM
lightning lightning is offline
Members
 
Join Date: Feb 2004
Posts: 20
Rep Power: 12
lightning
Default

Right Ok.... a few changes to my script page just to make sure it works as i've just tested it on my webhost

The change is in the emailscript.php file.... just moving the header section to the top of the page, so now you need this at the top of the php file....

Code Sample
<?php header("Location: contact.html"); ?>
<html>
<head>
<title>Send Email</title>
<meta http-equiv="Conten...........
....
....
[/quote]

and then delete these lines from a little further down...

Code Sample

// redrect back to the contact page after running script...

header("Location: contact.html");
[/quote]

Right

Regarding your goDaddy account if you have the Economy package from this link,...

https://www.godaddy.com/gdshop....&ci=260

then you will be fine to use the emailscript.php files and you dont need to worry about changing the php.ini file as it will have been set up for you!! -The email address you use on the script does not matter...

All good news so far then!!

**********

Right... for your option box.... the code will be exactly the same...

On your site you currently have the name for the multiple selection bit as name=Servicesneeded

Simply use

$service=($_POST["Servicesneeded"]);

And this will put the Item selected into the email (as long as you put it in the email body aswell!!!)

********-

Now for the checkboxes....

These send true or false data to the script... so you need to add the following code....

Code Sample


// get data from form
$byemail=($_POST["Contact by Email"]);

//make a choice using data
if($byemail==true) {
$emailcontactpreference="By Email = Yes";
} else {
$emailcontactpreference="By Email = No";
}

$byphone=($_POST["Contact by Phone"]);

if($byphone==true) {
$phonecontactpreference="By Phone = Yes";
} else {
$phonecontactpreference="By Phone = No";
}

[/quote]

Then in the email body include the $emailcontactpreference and $phonecontactpreference data

**************

So.. in summary...

- Any email account will work
- The economy or higher GoDaddy webhosting will work (or any host with php available)
- A slight code change needed (in my script)
- Use above code to take info from checkboxes and option box

I think that answers most of your questions!!!

Hope you get it sorted!!

/lightning
Reply With Quote

Stop guess-timating. Learn how to estimate and make money! $$$
Mow Time Estimator Lawn Care Price Estimator Mulch and Topsoil Calculator Snow Plow Estimate Calculator


  #22  
Old 01-02-2005, 07:33 PM
turfsurfer turfsurfer is offline
Members
 
Join Date: Dec 2003
Posts: 47
Rep Power: 13
turfsurfer
Default

Lawn care business tipsLawn Care Business Book
Lightning, fantastic, I'll try to get the code changed tonight (once again, in between everything else going on.) I do have the economy webhosting account for now so it should work. I actually thought the problem with accepting the script was with the e-mail account not the hosting account. Good news all around. BTW, are you a regular forum poster or do you work for Gopher? If not, they should give you a job and pay you alot. Thanks again.
Reply With Quote
  #23  
Old 01-03-2005, 06:39 AM
lightning lightning is offline
Members
 
Join Date: Feb 2004
Posts: 20
Rep Power: 12
lightning
Default

Hey!!

Yeh im a regular poster now because i do most of the web design stuff for Gopher.... (they pass it to me and i work with the client and get paid from the client) - Finding web design work is always hard!!

/lightning
Reply With Quote
  #24  
Old 01-03-2005, 07:32 AM
turfsurfer turfsurfer is offline
Members
 
Join Date: Dec 2003
Posts: 47
Rep Power: 13
turfsurfer
Default

Lightning,
Well, I don't exactly know where I went wrong, but the script is not working or looking right on my page. I was able to upload what I have to the server so maybe you can see what happened. All the emailscript.php script seems to just be displayed in the body of my web page instead of executing the form. When editing, the Copffeecup software did tell me I had excess body tags and would not let me switch to visual editting to see what it looked like. It directed my cursor to the body tag you had me insert. When I remove your body tags the result was the whole page disappeared (don't know what would cause that).
Anyway the result is there for you to see. I did not change any of my existing code except for the form action sentence. Then I just inserted the php script. You'll probably see where I goofed right away. I'm sure I messed up a tag or something.
Reply With Quote
  #25  
Old 01-03-2005, 08:37 AM
lightning lightning is offline
Members
 
Join Date: Feb 2004
Posts: 20
Rep Power: 12
lightning
Default

Hey again... i see where you are going wrong...

Basically you have put the php code into the contact.html file when it should be in a seperate file called emailscript.php

When the button is clicked on the contact.html the web server runs the php file then goes back to the contact page....

I uploaded both pages to my webhost and edited them (there were some missing quotation marks and some character errors) and the email form now works.... however it is only sending half of the data....

I will take a look at your files now and make them work

I have attatched the current half working files so you can see what i have changed so far...

/lightning
Reply With Quote
  #26  
Old 01-03-2005, 09:06 AM
lightning lightning is offline
Members
 
Join Date: Feb 2004
Posts: 20
Rep Power: 12
lightning
Default

Right... all done...

I had to recode the form ad you had missed the " " around each name tag and when it was sent to the emailscript.php file only four values were being sent...

I also changed some bits in the emailscript.php so that they would be sent correctly...

The new contact.html and emailscript.php are attctched.. simply upload these to your webhost !!

/lightning
Reply With Quote
  #27  
Old 01-03-2005, 10:03 PM
turfsurfer turfsurfer is offline
Members
 
Join Date: Dec 2003
Posts: 47
Rep Power: 13
turfsurfer
Default

Lightning did I miss something? I opened your download and it only contains dozens of different image files and buttons opening with ACDsee. Looks like a jumble of Gopher, Lawmsite, Godaddy and my own image files. I saw no php file included. I opened both your post downloads and they were both the same kid of thing.
Reply With Quote
  #28  
Old 01-04-2005, 06:18 AM
lightning lightning is offline
Members
 
Join Date: Feb 2004
Posts: 20
Rep Power: 12
lightning
Default

Erm.... did you open it with winRaR??

It definately contains two files ..... contact.html and emailscript.php .. but if you open it in something other than winrar then yes it will expand into all of the component parts of the file....

if not you can grab the files from

This Link

/lightning
Reply With Quote
  #29  
Old 01-04-2005, 08:08 PM
turfsurfer turfsurfer is offline
Members
 
Join Date: Dec 2003
Posts: 47
Rep Power: 13
turfsurfer
Default

Hey , I was able to get the files from the link you supplied, and they look good. I don't know what was up with the others but it opened up in ACDsee and had all kinds of images not associated with my site. I'll be trying the new stuff later tonight or tomorrow and let you know how it works. Thanks again.
Reply With Quote
  #30  
Old 01-05-2005, 06:51 AM
lightning lightning is offline
Members
 
Join Date: Feb 2004
Posts: 20
Rep Power: 12
lightning
Default

Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
Forum Jump

» Recent Threads
  RatingTitle, Username, & Date Last Post Replies Views
Lawn Care Book Ranked #1
Steve
Today 12:36 AM
Today 12:36 AM
by Steve
0 12
hello all
romanlandscape
01-29-2016 03:46 PM
Today 12:27 AM
by Steve
5 121
back surgery
Bradcook21
01-28-2016 08:51 PM
Today 12:25 AM
by Steve
10 201
Hi
Sellers Lawn Care
02-02-2016 01:48 PM
Yesterday 08:03 AM
by Sellers Lawn Care
4 94
Collecting payments from...
Niagara Mowing
02-03-2016 05:21 PM
Yesterday 08:00 AM
by Niagara Mowing
7 142
SMS assist? The good,...
jcurr33
01-27-2016 10:24 PM
02-04-2016 11:53 PM
by Steve
5 174
I need some help...
Anise
02-04-2016 01:39 PM
02-04-2016 11:51 PM
by Steve
3 70
Customers dodging the...
Rocky
11-06-2015 06:22 AM
02-04-2016 03:41 AM
by C&DPropertyManagement
7 1,426
Offering a "Trial"...
wybut076
02-01-2016 06:27 PM
02-03-2016 08:26 PM
by Just for Cuts
7 171
Iowa Caucus Predictions?
Steve
02-01-2016 06:31 PM
02-03-2016 12:40 AM
by Steve
1 54
Laying White River Rock
DiamondLawnCare
02-01-2016 08:27 PM
02-03-2016 12:17 AM
by Steve
1 66
Networking for a...
jcurr33
01-30-2016 09:26 PM
02-01-2016 06:27 PM
by Steve
4 138
Customer giving a 1099?
apmAkron
01-27-2016 07:22 PM
01-31-2016 08:55 PM
by Chilehead
6 193
happy to be here
redrobin
01-29-2016 10:45 AM
01-31-2016 08:44 PM
by Steve
1 89
Thought's on an "E-Z...
jcurr33
01-27-2016 10:48 PM
01-31-2016 08:38 PM
by Steve
4 166
Changes
Knaubone
01-30-2016 10:56 PM
01-31-2016 08:31 PM
by Steve
1 79
Thoughts on this Exmark...
googus
01-28-2016 04:24 PM
01-28-2016 08:09 PM
by Chilehead
1 107
1st year in
jcurr33
10-18-2015 05:07 PM
01-28-2016 07:49 PM
by Chilehead
6 4,085
Need opinion on zero...
Mr. Mow
01-24-2016 05:42 PM
01-28-2016 07:41 PM
by Chilehead
10 293
Opinion on liquid vs...
Bradcook21
01-25-2016 02:03 PM
01-28-2016 07:38 PM
by Chilehead
9 251
Finding property size
Gageslawncare
01-25-2016 11:08 AM
01-28-2016 12:05 PM
by Gageslawncare
10 251
Tiger TG 2661 Commercial...
lawnman1959
01-25-2016 08:12 PM
01-27-2016 07:57 PM
by Just for Cuts
5 190
Spouse as a dependent?
Steve
01-26-2016 01:51 AM
01-27-2016 10:44 AM
by Chilehead
3 160
Hello All
C&DPropertyManagement
01-23-2016 12:21 PM
01-26-2016 01:24 AM
by Steve
1 141
Credit Cards - What's in...
Shark1611
06-16-2015 04:04 PM
01-23-2016 03:43 PM
by C&DPropertyManagement
17 7,608
Start My Own Business?
mowandblow1980
01-12-2016 08:43 PM
01-19-2016 07:00 PM
by Steve
12 561
State of the nation 2016.
Steve
01-12-2016 12:05 AM
01-19-2016 06:57 PM
by Steve
6 330
little help? first big...
Brian3137
12-31-2015 12:39 PM
01-19-2016 06:54 PM
by Steve
23 1,003
Hi everybody...
Greg_TopYardServices
01-14-2016 08:10 AM
01-19-2016 02:47 PM
by SC93
12 403
What's your next...
Steve
05-15-2015 12:54 PM
01-17-2016 08:48 PM
by Homeland unlimited
25 7,863
Plow controller problems
scaypa
01-12-2016 05:49 PM
01-16-2016 10:46 AM
by scaypa
4 251
Say Hello !!!
Steve
03-19-2007 12:18 PM
01-15-2016 07:23 PM
by tannerduncan
1,244 427,827
Pricing issue
Mr. Mow
07-07-2015 07:15 AM
01-15-2016 11:20 AM
by djlandscaping06
23 5,345
New College Course
Dr. D
01-14-2016 01:45 PM
01-14-2016 05:35 PM
by Steve
1 178
Yelp
Shark1611
01-13-2016 10:00 AM
01-14-2016 05:32 PM
by Steve
4 237
New to the forum from...
Doug Green
01-12-2016 12:23 PM
01-14-2016 08:34 AM
by Doug Green
2 212
Facebook advertising
Just for Cuts
12-13-2015 08:49 AM
01-13-2016 10:20 PM
by Just for Cuts
12 860
Choosing local business
Doug Green
01-12-2016 12:29 PM
01-13-2016 06:12 PM
by Steve
2 371
4 Seasons Landscaping LLC
Doug Green
01-12-2016 12:56 PM
01-12-2016 12:59 PM
by Doug Green
1 235
2016 business goals
OxfordOS
01-09-2016 04:19 PM
01-12-2016 08:36 AM
by mowandblow1980
15 513
Hi to you NOTHERNERS
stevef1201
11-11-2014 05:56 PM
01-08-2016 09:30 PM
by jeramicox76
10 2,738
Amazon services
thom
12-22-2015 08:40 AM
01-07-2016 11:53 AM
by Steve
17 822
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:49 AM.


(C) 2011 Riggs Publications - Terms of use & Privacy Policy

All times are GMT -5. The time now is 05:49 AM.

(C) 2011 Riggs Publications - Terms of use & Privacy Policy