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, 05: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, 06:33 PM
turfsurfer turfsurfer is offline
Members
 
Join Date: Dec 2003
Posts: 47
Rep Power: 12
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, 05: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, 06:32 AM
turfsurfer turfsurfer is offline
Members
 
Join Date: Dec 2003
Posts: 47
Rep Power: 12
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, 07: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, 08: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, 09:03 PM
turfsurfer turfsurfer is offline
Members
 
Join Date: Dec 2003
Posts: 47
Rep Power: 12
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, 05: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, 07:08 PM
turfsurfer turfsurfer is offline
Members
 
Join Date: Dec 2003
Posts: 47
Rep Power: 12
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, 05: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
Share your stolen...
SGL1
05-27-2015 09:05 PM
Today 12:35 AM
by Steve
13 175
Hello
designr69
Yesterday 02:47 PM
Today 12:29 AM
by Steve
1 28
Hello All
HappyGrass
05-27-2015 10:10 PM
Today 12:27 AM
by Steve
4 88
big job for me....need...
holymoly
05-28-2015 06:15 AM
Today 12:26 AM
by Steve
5 111
What a JERK!
Chilehead
05-06-2015 08:13 AM
05-28-2015 03:13 PM
by HappyGrass
16 829
5 things you would...
Steve
09-11-2008 08:53 AM
05-28-2015 03:02 PM
by HappyGrass
5 2,162
how to make customers...
Bradcook21
05-27-2015 05:04 PM
05-28-2015 12:31 PM
by Steve
5 128
Equipment dealers
mattthelawnguy
05-21-2015 04:33 PM
05-28-2015 12:20 PM
by Steve
6 221
Things your lawn care...
Steve
05-27-2015 11:48 AM
05-27-2015 11:48 AM
by Steve
0 67
I can't believe people...
ExtremeLawncareServices
05-25-2015 10:29 AM
05-27-2015 11:45 AM
by jrs.landscaping
9 272
Show us your stripes
Just for Cuts
05-21-2015 03:07 PM
05-27-2015 11:35 AM
by Steve
5 197
Pissed off customers
stonegatedesigns
05-26-2015 05:29 PM
05-27-2015 11:26 AM
by Steve
3 141
Great start to the season
jcurr33
05-25-2015 08:49 PM
05-26-2015 01:50 PM
by Steve
2 103
uploading video on here?
holymoly
05-24-2015 08:13 AM
05-26-2015 01:37 PM
by Steve
2 102
new here ! need help
pgrace
05-23-2015 11:29 PM
05-26-2015 01:35 PM
by Steve
1 121
What's your next...
Steve
05-15-2015 11:54 AM
05-26-2015 01:25 PM
by Steve
14 413
problems with a customer
LawnCareMan280
05-19-2015 06:28 PM
05-26-2015 01:22 PM
by Steve
5 238
More Rain or Less?
Steve
05-20-2015 12:06 PM
05-24-2015 04:37 PM
by SGL1
12 305
Irrigation
pboy8634
02-21-2010 12:46 PM
05-22-2015 10:05 PM
by biglee
25 8,487
Beginner Mistakes:...
Steve
01-31-2007 11:45 AM
05-22-2015 09:58 PM
by biglee
37 9,243
Peace garden ideas
SGL1
05-13-2015 03:15 PM
05-21-2015 07:51 PM
by avetslawncare
16 552
These are the days on...
ExtremeLawncareServices
01-11-2015 10:41 AM
05-20-2015 09:18 PM
by ExtremeLawncareServices
84 6,909
Total yard rehab
SGL1
04-23-2015 03:59 PM
05-19-2015 08:22 PM
by SGL1
15 849
Say Hello !!!
Steve
03-19-2007 11:18 AM
05-19-2015 04:12 PM
by NinaMarie86
1,223 390,494
New Lawn Service
carmelitaslawnservice
05-19-2015 10:02 AM
05-19-2015 02:51 PM
by Steve
1 148
Landscaper Jailed After...
SGL1
05-18-2015 08:15 AM
05-19-2015 02:37 PM
by Steve
5 251
Pictures of commercial...
avetslawncare
04-01-2015 09:47 PM
05-19-2015 02:29 PM
by Steve
38 2,061
feeling like im being...
Bradcook21
05-17-2015 07:33 AM
05-19-2015 02:11 PM
by Steve
6 258
good news yesterday
Bradcook21
05-17-2015 07:08 AM
05-19-2015 06:16 AM
by Bradcook21
3 186
ignition coil
jasonw
05-12-2015 05:31 PM
05-18-2015 12:07 PM
by Steve
3 300
Anyone need help? I have...
biglee
05-06-2015 12:22 PM
05-18-2015 12:06 PM
by Steve
13 739
Big (to me) mulch job
tl757
04-23-2015 05:32 PM
05-15-2015 08:46 PM
by biglee
22 1,552
big dog mowers?
Bradcook21
05-13-2015 04:03 PM
05-14-2015 10:55 AM
by Steve
4 329
Small HOA Bid
lxarth
05-06-2015 10:37 PM
05-13-2015 11:55 AM
by Steve
9 560
New company in Michigan
SEM
04-24-2015 09:27 PM
05-13-2015 11:51 AM
by Steve
11 681
Fired for refusing to...
Mr. Mow
05-09-2015 06:15 AM
05-12-2015 01:36 PM
by Steve
6 550
I have ZERO confidence...
Just for Cuts
05-01-2015 04:24 PM
05-12-2015 03:53 AM
by jrs.landscaping
31 1,155
landscape insurance
clarkslawn
03-30-2015 10:14 PM
05-11-2015 01:15 PM
by Steve
6 1,073
String trim BEFORE mow...
Mr. Mow
04-12-2015 08:13 AM
05-10-2015 07:50 PM
by ExtremeLawncareServices
9 1,100
Bought my first STIHL...
Mr. Mow
05-09-2015 06:29 AM
05-10-2015 08:36 AM
by Mr. Mow
9 456
advice wanted please and...
CHenricks
05-07-2015 08:40 PM
05-08-2015 04:20 PM
by CHenricks
7 473
Hello
SallyBorowicz
05-06-2015 11:14 AM
05-08-2015 02:21 PM
by Steve
3 378
Mower Advice
tl757
05-06-2015 02:31 PM
05-08-2015 01:45 PM
by Steve
6 511
Home today...Still...
biglee
05-06-2015 11:59 AM
05-07-2015 12:06 PM
by biglee
2 380
I'm Back With The Best...
aduttonater
02-21-2015 12:41 AM
05-07-2015 11:17 AM
by Steve
79 4,074
color fliers?
holymoly
04-18-2015 02:32 PM
05-07-2015 10:57 AM
by Steve
16 1,081
Looking good
mrsmichigan
05-06-2015 09:47 AM
05-07-2015 10:53 AM
by Steve
1 318
What are your biggest...
Steve
05-05-2015 01:24 PM
05-07-2015 10:52 AM
by Steve
2 374
is craiglist good to...
JBENI
04-16-2015 11:11 AM
05-06-2015 07:15 PM
by TheYardGuy
12 1,164
Go daddy web site and...
jcurr33
05-04-2015 06:00 PM
05-05-2015 11:57 AM
by Steve
2 403
» Popular Tags
aerocore apartment bid apartment lawn care estimate applying auger billy goat brushcutter blades blowout bush commercial curb appeal services deliquentaccounts demonstration ditches door hangers employee problems equipment rental estimate facebook foreman free advertising google growing a lawn care business how to husqvarna jobs john deere quik trac landscape landscape services landscaping training lawn lawn care lawn care busines plan managing a lawn care business marketing more customers business mr dave mulch new business patio install per hour service pricing pto scag secrets to landscaping sell the vision shell shreaded small engine repair snow plowing sq ft square foot starting a lawn care business steep lawns swzt theft toro toro grand stand tractor auger trailer trailer mate pro tree trimmer rack up sell employee web design website website design winterization wood wright stander rh
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:47 AM.


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

All times are GMT -5. The time now is 12:47 AM.

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