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
These are the days on...
ExtremeLawncareServices
03-22-2014 09:12 AM
Today 09:26 AM
by ExtremeLawncareServices
84 4,816
trimming back shrubs
WesleySnips
Today 06:14 AM
Today 08:04 AM
by SGL1
1 30
Mow and leaf cleanup bid
SGL1
07-29-2014 07:28 PM
Today 06:04 AM
by SGL1
17 230
Late charge
Simon Abousaada
Yesterday 07:23 PM
Today 05:20 AM
by kslawn
1 51
Need input on a bid
phlawncare
07-28-2014 08:51 PM
Today 05:08 AM
by kslawn
7 201
Building credit
Matther777
07-27-2014 05:20 PM
Yesterday 05:50 PM
by Matther777
11 256
New from Texas
Livingston Lawn Care
07-25-2014 11:17 AM
Yesterday 01:03 PM
by Steve
5 212
Single tree, mow customer
WesleySnips
06-27-2014 10:12 AM
Yesterday 12:31 PM
by Steve
17 741
Formulas Used
BaileynSamsMum
07-29-2014 06:40 AM
Yesterday 12:19 PM
by Steve
3 140
Spreading Weeds?
WesleySnips
07-27-2014 09:46 PM
Yesterday 06:29 AM
by kslawn
5 182
Will summer ever come
ExtremeLawncareServices
07-29-2014 08:27 AM
07-29-2014 08:29 PM
by SGL1
5 137
From Concord NC
SouthernRootsLawnCare
07-26-2014 02:34 PM
07-29-2014 02:28 PM
by Steve
3 139
Have you ever had to...
SouthernRootsLawnCare
07-26-2014 02:41 PM
07-29-2014 02:28 PM
by Steve
4 194
Echo Edger 'Neutral'
WesleySnips
07-25-2014 05:28 PM
07-29-2014 02:25 PM
by Steve
4 198
Left handed edging with...
SGL1
07-23-2014 08:59 PM
07-28-2014 07:39 AM
by SGL1
15 381
Echo PE 266 edger
stevef1201
07-01-2014 01:28 PM
07-27-2014 10:14 PM
by WesleySnips
5 389
Texas lawn care company...
Livingston Lawn Care
07-25-2014 11:29 AM
07-27-2014 08:16 AM
by Just for Cuts
7 230
need some help geting...
dalvan0
07-13-2014 09:28 PM
07-26-2014 04:39 PM
by BLC7
7 378
new trailer help
mattthelawnguy
07-11-2014 08:21 PM
07-25-2014 06:31 PM
by mattthelawnguy
13 573
You know it;s gonna be a...
stevef1201
07-25-2014 08:50 AM
07-25-2014 01:34 PM
by Steve
1 140
Customer letters
kslawn
07-23-2014 06:17 AM
07-25-2014 01:20 PM
by Steve
5 268
Got my first lawn job...
SGL1
06-11-2014 09:19 PM
07-24-2014 07:09 PM
by SGL1
29 1,348
Need help determining...
Jbss861
07-20-2014 02:33 PM
07-24-2014 01:11 PM
by Steve
13 453
Should I ?
googus
07-22-2014 04:06 PM
07-24-2014 12:10 PM
by Steve
4 291
My First Apartment...
SSLCtn
05-26-2014 10:17 PM
07-24-2014 06:46 AM
by kslawn
15 971
Crop Rotation Techniques...
eastsidelandcare
07-17-2014 03:47 PM
07-24-2014 06:38 AM
by kslawn
3 269
Selling lawns like...
eastsidelandcare
07-17-2014 03:51 PM
07-24-2014 06:28 AM
by kslawn
3 327
Scag new "Eliminator"......
ExtremeLawncareServices
07-20-2014 10:45 AM
07-23-2014 05:37 PM
by Just for Cuts
9 385
need professional advice...
Fiddlers_green
07-20-2014 07:21 PM
07-23-2014 12:42 PM
by Steve
3 270
new to me box truck
jrayb39667
03-06-2014 10:20 PM
07-23-2014 12:40 PM
by Steve
15 1,496
Lawn Service back in...
LawnCareMan280
07-18-2014 09:00 PM
07-23-2014 11:48 AM
by Steve
4 297
Overspray?
stevef1201
07-21-2014 04:20 PM
07-23-2014 11:39 AM
by Steve
3 208
Hello Everyone! Newbie...
SLKlawn
07-17-2014 06:22 PM
07-22-2014 01:53 PM
by Steve
6 350
Proper height for lawn
rob lederhilger
05-26-2014 08:01 AM
07-21-2014 02:53 PM
by LawnDoctor
9 719
Blade sharpener
Just for Cuts
07-04-2014 12:31 PM
07-21-2014 01:48 PM
by Steve
9 579
What's my business worth?
Chaz
07-16-2014 01:35 PM
07-21-2014 01:45 PM
by Steve
4 363
1.5 Acre Jungle
WesleySnips
07-15-2014 05:57 PM
07-20-2014 11:31 AM
by ExtremeLawncareServices
21 707
Gopher schedule software
Ray
07-18-2014 04:13 PM
07-18-2014 04:13 PM
by Ray
0 257
2006 Chevy fuel pump...
KevinsLawns
07-17-2014 08:39 PM
07-18-2014 11:51 AM
by Steve
1 249
Halfway point of year!
Steve
07-01-2014 12:08 PM
07-18-2014 11:38 AM
by Steve
14 812
I got told to leave and...
gwilson98
06-16-2014 02:07 PM
07-17-2014 11:43 AM
by Steve
16 1,130
Hey guys this is the...
prmenter@gmail.com
07-07-2014 08:23 PM
07-16-2014 08:10 PM
by ExtremeLawncareServices
28 865
Mowing the hills
prmenter@gmail.com
07-08-2014 12:22 PM
07-16-2014 05:00 PM
by Just for Cuts
18 788
Say Hello !!!
Steve
03-19-2007 11:18 AM
07-15-2014 05:38 PM
by icon2000
1,184 321,731
Classified Ad Template...
bcfb
06-05-2013 02:40 AM
07-15-2014 11:16 AM
by Steve
15 3,811
Husqvarna pz 60
CDLAWNCARE
07-06-2014 06:50 PM
07-15-2014 08:53 AM
by kslawn
10 530
Lowballers
Chaz
07-11-2014 03:55 PM
07-14-2014 12:27 PM
by Steve
5 430
My new side job
Sprinkler Buddy
05-10-2014 05:23 AM
07-14-2014 12:15 PM
by Steve
10 884
Illegal spraying
GoGreenerKS
07-04-2014 09:11 AM
07-13-2014 10:36 PM
by GoGreenerKS
10 625
New Mower and Trailer
Chaz
06-25-2014 12:04 PM
07-13-2014 06:25 PM
by SGL1
7 653
» Popular Tags
2wd 4x4 ads birdscaping care charge collections subcontractor commercial craigslist customers ecosymbiosis employee problems exmark fall ferris four wheel drive franchise gopherhaul grass gravely holiday honda how much to charge how to bid hydraulic installation invoice kawasaki labor cost late lawn lawn care business seo lawn care business show lawn care business website lawn care business website seo lawn care website lawn service leaf cleanup lesco marketing mowing mulch estimate native plants new buisness office management online classifieds podcast promotion rotating scag scag v-ride season seo sprayer starting a business steep lawns stihl sulky theft of services tips toro tractor auger trailer mate pro truck new used landscape upsell walk behind walker winter money making ideas won't return wright stander rh
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:19 PM.


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

All times are GMT -5. The time now is 12:19 PM.

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