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: 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, 07: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, 06: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, 07: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, 08: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, 09: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, 10: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, 06: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, 08: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, 06: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
Repair or replace the...
lxarth
12-17-2014 05:07 PM
Today 12:02 PM
by SuperiorPower
11 350
Stander Vs. Zt
totalscape
12-20-2014 07:57 PM
Today 05:42 AM
by Billy Goat
6 161
Facebook
element009
03-23-2011 09:36 AM
Yesterday 04:33 PM
by stevef1201
38 9,936
Ideas on a large bid
Knaubone
Yesterday 11:57 AM
Yesterday 11:57 AM
by Knaubone
0 65
what do you "love" to...
calebmoss
07-06-2011 10:05 PM
Yesterday 12:52 AM
by rmccutchan
31 9,090
I'm BACK!
SuperiorPower
12-16-2014 11:08 PM
12-20-2014 11:33 PM
by SuperiorPower
7 281
These are the days on...
ExtremeLawncareServices
03-22-2014 10:12 AM
12-19-2014 09:45 PM
by ExtremeLawncareServices
189 16,825
Georgia Boys!
Chilehead
12-18-2014 10:23 PM
12-19-2014 09:36 PM
by Chilehead
2 140
Employee job training...
brookline
12-15-2014 08:15 PM
12-19-2014 07:48 PM
by SuperiorPower
9 392
Hello from Md
homey
12-17-2014 06:55 PM
12-19-2014 06:00 PM
by homey
5 229
Has Obamacare helped or...
Steve
12-18-2014 04:37 PM
12-19-2014 05:43 PM
by stevef1201
3 164
What Fertilizer to Use?
acrajchel
04-07-2014 02:56 PM
12-17-2014 01:11 PM
by Steve
23 3,042
Grass hopper mower
ExtremeLawncareServices
12-05-2013 09:51 AM
12-17-2014 09:40 AM
by SuperiorPower
34 6,198
Peco Bagger
AGPS
11-18-2014 02:20 PM
12-17-2014 09:13 AM
by SuperiorPower
15 1,409
New to Gopher Haul-from...
323k13l
12-12-2014 10:34 PM
12-15-2014 02:58 PM
by Steve
3 353
hi
creteland
12-12-2014 09:06 AM
12-15-2014 01:45 PM
by Steve
5 344
New addition to my small...
googus
12-12-2014 07:36 PM
12-15-2014 07:47 AM
by googus
4 420
Ferris IS700Z
rmccutchan
12-14-2014 01:10 AM
12-14-2014 11:41 PM
by rmccutchan
4 318
Charge what the market...
Billy Goat
12-09-2014 12:39 PM
12-14-2014 06:39 PM
by biglee
20 870
Hi from IL
steveinil
11-25-2014 02:07 PM
12-12-2014 07:18 AM
by steveinil
4 864
Utility Company Right of...
eastsidelandcare
12-11-2014 04:54 PM
12-11-2014 04:54 PM
by eastsidelandcare
0 331
leaf removal
Double J LLC
10-03-2014 05:24 PM
12-11-2014 04:50 PM
by eastsidelandcare
33 4,175
suggestions on full lawn...
Brian3137
12-10-2014 07:18 PM
12-11-2014 03:41 PM
by Steve
6 446
new to me box truck
jrayb39667
03-06-2014 11:20 PM
12-11-2014 09:43 AM
by Sprinkler Buddy
18 3,457
Hello from SW FL!!
5StarLawnscaping
12-05-2014 02:35 PM
12-10-2014 02:45 PM
by WesleySnips
7 690
Echo pb200 blower fuel...
googus
12-06-2014 09:03 PM
12-09-2014 06:35 PM
by Steve
3 545
Are you prepared for the...
Steve
12-02-2014 04:13 PM
12-09-2014 06:22 PM
by Steve
7 960
Email Address Name
Just Cuts
12-07-2014 09:49 PM
12-08-2014 03:15 PM
by Steve
3 489
Inspection form
stevef1201
12-07-2014 10:38 AM
12-08-2014 03:10 PM
by Steve
1 479
Truck, Trailer,...
hawthornelawncare
12-23-2011 01:01 AM
12-08-2014 12:37 PM
by jrs.landscaping
108 34,322
Back Pack Blower
Ian Lovejoy
11-09-2014 08:41 AM
12-07-2014 06:35 PM
by stevef1201
24 1,794
Innovation by mandate
bayoubandit
11-29-2014 01:33 PM
12-06-2014 03:27 PM
by SGL1
12 1,036
Trying something new,...
ExtremeLawncareServices
09-21-2014 10:07 PM
12-05-2014 11:06 AM
by Steve
9 2,324
Good help is hard to find
Hanks Lawn Care Services
11-19-2014 03:27 PM
12-04-2014 01:32 PM
by stevef1201
15 1,513
How many hours is too...
Just Cuts
12-04-2014 09:00 AM
12-04-2014 01:02 PM
by Just for Cuts
6 676
Does this sound like a...
googus
12-03-2014 07:47 AM
12-04-2014 12:37 PM
by Steve
5 749
New website
Chilehead
11-20-2014 04:39 PM
12-04-2014 12:27 PM
by Steve
14 1,288
New website
SGL1
12-02-2014 10:55 PM
12-03-2014 11:17 PM
by BLC7
19 919
Websites, how long...
Dan Tanner
03-09-2014 08:29 AM
12-03-2014 11:12 PM
by SGL1
21 3,311
I Want to buy old...
ExtremeLawncareServices
10-10-2014 11:04 PM
12-03-2014 10:36 PM
by ExtremeLawncareServices
8 1,925
GPS trackers for...
Billy Goat
12-02-2014 06:09 PM
12-03-2014 07:17 PM
by Steve
8 776
My site is on fronts page
tbtigers03
11-14-2014 05:58 PM
12-03-2014 06:31 PM
by SGL1
17 1,519
Hiring Subs over Temps
Billy Goat
12-02-2014 06:26 AM
12-03-2014 01:24 PM
by Steve
3 689
Thanksgiving cards
Steve
11-10-2008 11:57 AM
12-02-2014 11:11 PM
by SGL1
11 9,580
New parking area
ExtremeLawncareServices
11-07-2014 09:47 PM
12-02-2014 02:17 PM
by jrs.landscaping
12 1,547
Pressure Washing...
WesleySnips
07-31-2014 07:13 PM
12-02-2014 08:47 AM
by SGL1
6 1,565
old contracts
bayoubandit
11-29-2014 11:10 AM
12-01-2014 11:20 AM
by Steve
3 757
Hi to you NOTHERNERS
stevef1201
11-11-2014 05:56 PM
12-01-2014 10:54 AM
by Steve
9 1,335
Lawn care truck
Steve
10-10-2009 03:40 AM
12-01-2014 10:45 AM
by Steve
32 15,251
Intuit Quickbooks...
CDLAWNCARE
11-30-2014 10:19 AM
11-30-2014 10:19 AM
by CDLAWNCARE
0 659
» Popular Tags
4wd aerocore apartment bid apartment lawn care estimate applying auger bid bob villa bush christmas commercial decorating deliquentaccounts demonstration ditches employee problems ferris first truck georgia gopherhaul grass hardscapes hiring how much to charge how to hydraulic installation introduction john deere quik trac landscape services lawn lawn care 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 seo lawn care website lawn care website seo managing a lawn care business marketing mowing mulch mulch price new business ordinance patio install per hour charge podcast profit on employee reo scag v-ride shell snow plowing starting a business starting a lawn care business start up lawn care business steep lawns steve sulky theft toro tractor auger trailer mate pro tree turfgrass consulting walk behind wright stander rh
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:40 PM.


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

All times are GMT -5. The time now is 06:40 PM.

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