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: 11
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: 11
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: 11
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: 11
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: 11
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: 11
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: 11
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: 11
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: 11
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: 11
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
This sucks...
Matther777
Yesterday 04:56 PM
Today 11:53 AM
by Steve
2 87
snowplowing
jshak40
09-01-2014 07:20 AM
Today 11:49 AM
by Steve
23 1,282
Looking for feed back on...
ExtremeLawncareServices
09-17-2014 08:38 AM
Today 08:17 AM
by ExtremeLawncareServices
9 247
Lowballers scrubs &...
Darksteel
01-13-2014 07:35 AM
Yesterday 06:32 PM
by Northwoods Outdoors
58 6,689
Hello from upstate NY!
A&MLawn&Snow
Yesterday 11:19 AM
Yesterday 04:10 PM
by Sprinkler Buddy
2 107
Price to apply fertilizer
SS.Lawncare
09-15-2014 11:10 AM
Yesterday 01:16 PM
by Steve
9 358
Trailer tires
J.A.S.LawnService
09-01-2014 10:17 AM
09-17-2014 09:57 PM
by curts lawn care
4 869
new to the forum
SGlawncare
09-16-2014 11:20 PM
09-17-2014 08:29 PM
by curts lawn care
3 191
Help With Snow Blowing...
Robertf31
09-13-2014 10:55 PM
09-17-2014 12:34 PM
by Steve
11 543
Non-Stop Summer?
SouthallMowing
09-14-2014 10:51 PM
09-17-2014 10:48 AM
by stevef1201
6 341
Tribulations of working...
stevef1201
09-13-2014 08:37 AM
09-16-2014 10:43 PM
by SGL1
6 384
Poll - net income
Dan5082
11-15-2010 08:08 PM
09-16-2014 04:44 PM
by jrs.landscaping
12 3,158
Getting lowballed!
PineHillLawn
06-27-2012 07:23 AM
09-16-2014 01:25 PM
by jrs.landscaping
24 4,818
Compare this summer to...
Steve
09-03-2014 12:52 PM
09-16-2014 11:20 AM
by Hanks Lawn Care Services
15 1,045
thinking about throwing...
veteranslawncaresystems
09-09-2014 10:31 PM
09-15-2014 03:41 PM
by Steve
12 737
Hello
Robertf31
09-12-2014 10:34 PM
09-15-2014 03:17 PM
by Steve
2 343
Newbie......Again
Jibber
09-13-2014 12:17 PM
09-15-2014 02:54 PM
by Sprinkler Buddy
2 372
Replacing a Shindi T-27
Dan Tanner
09-13-2014 12:59 PM
09-15-2014 02:31 PM
by Steve
1 339
need help with starter...
GoGreenerKS
09-12-2014 04:23 PM
09-15-2014 02:25 PM
by Steve
3 359
Brake job!
kslawn
08-30-2014 07:49 AM
09-15-2014 02:16 PM
by Steve
12 1,055
Hello
jawnebgoode
08-28-2014 08:37 PM
09-15-2014 02:15 PM
by Steve
3 829
Employee uniforms
Gerardo_Landscape
01-21-2014 11:11 PM
09-15-2014 02:12 PM
by Steve
5 957
Greetings from the north
Northwoods Outdoors
09-13-2014 08:55 AM
09-15-2014 02:07 PM
by Steve
1 328
darleneh
darleneh
09-15-2014 12:33 PM
09-15-2014 02:07 PM
by Sprinkler Buddy
1 213
My 1st bid
WesleySnips
06-11-2014 03:13 PM
09-15-2014 02:05 PM
by Steve
29 1,745
New Aerator
Chaz
09-09-2014 11:43 PM
09-15-2014 01:50 PM
by Steve
9 571
Yearly contract Pricing
jrob0691
08-21-2014 08:57 AM
09-15-2014 01:23 PM
by stevef1201
8 1,220
Scag turf tiger hydrolic...
ExtremeLawncareServices
09-04-2014 10:55 PM
09-14-2014 03:06 PM
by ExtremeLawncareServices
8 737
These are the days on...
ExtremeLawncareServices
03-22-2014 09:12 AM
09-13-2014 09:14 PM
by ExtremeLawncareServices
116 7,999
getting ready to start
calebmoss
05-23-2011 09:35 PM
09-11-2014 12:21 PM
by Steve
34 11,233
Stihl pull cord replace
SGL1
09-03-2014 09:22 PM
09-10-2014 12:25 PM
by Steve
9 754
Softball field
kslawn
08-15-2014 09:28 AM
09-10-2014 12:16 PM
by Steve
18 1,484
Lawn Route Templates
Landscaper1165
08-30-2014 01:52 PM
09-09-2014 08:05 PM
by Landscaper1165
4 971
New truck and trailer...
Johnny Rocket
05-14-2012 03:41 PM
09-09-2014 07:23 PM
by Matther777
18 6,568
What gets you bad press?
Steve
09-09-2014 11:48 AM
09-09-2014 07:21 PM
by Matther777
2 454
Signs on your snow plow?
Steve
01-15-2007 01:07 AM
09-09-2014 11:42 AM
by Steve
19 6,201
Exmark Lazer Z S-Series...
BLC7
08-22-2014 10:18 AM
09-08-2014 08:08 PM
by avetslawncare
12 1,265
New to the business
flamingyouth87
09-05-2014 11:52 AM
09-08-2014 11:55 AM
by Steve
3 661
Hello from Ohio
kurtwin
08-28-2014 05:06 PM
09-08-2014 11:51 AM
by Steve
7 943
Facebook
element009
03-23-2011 08:36 AM
09-07-2014 07:35 AM
by avetslawncare
24 7,739
Help pricing cut down 7...
Bradcook21
08-26-2014 11:17 PM
09-06-2014 02:09 PM
by Bradcook21
8 1,035
billing matters
sbuchanan8154
09-05-2014 09:56 AM
09-05-2014 03:00 PM
by Steve
3 637
Thoughts
googus
09-05-2014 07:28 AM
09-05-2014 02:23 PM
by Steve
2 588
Backflow Tester
flowcheckllc.2014
09-03-2014 04:37 PM
09-05-2014 02:15 PM
by Steve
3 683
Collections & collection...
jscarolina
09-03-2014 04:39 PM
09-04-2014 03:14 PM
by Steve
2 694
Sod
RosalesLawnCare
08-27-2014 03:47 PM
09-04-2014 02:42 PM
by RosalesLawnCare
4 948
Lawn needs top soil What...
jymie
08-26-2014 11:01 AM
09-03-2014 12:07 PM
by Steve
7 1,018
Hello! New here and...
CaliforniaFriendly
08-29-2014 11:30 AM
09-03-2014 11:15 AM
by Steve
4 925
Mowing 7 acres
avetslawncare
08-31-2014 04:24 PM
09-02-2014 03:11 PM
by Steve
5 922
New to the industry-...
Lsmain
08-31-2014 10:53 AM
09-02-2014 02:58 PM
by Steve
1 841
» Popular Tags
2wd 4x4 apartment lawn care estimate article marketing bid care charge collections subcontractor commercial credit card ecosymbiosis employee problems exmark fall ferris financing four wheel drive franchise gopherhaul grass gravely hardscapes health honda how much to charge hydraulic installation landscape services lawn lawn care busines plan lawn care business lawn care business seo lawn care business show lawn care business website lawn care business website seo lawn care website leaf managing a lawn care business marketing mechanic monthly mow mulch mulch price native plants new buisness new business outdoor environments patio install podcast push versus ride scag scag v-ride schedule search engine optimization seo snow plowing starting a business steep lawns stihl sulky theft of services toro tractor auger trailer mate pro truck new used landscape walk behind walker won't return wright stander rh
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:32 PM.


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

All times are GMT -5. The time now is 02:32 PM.

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