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
snowplowing
jshak40
Today 07:20 AM
Today 07:20 AM
by jshak40
0 12
Brake job!
kslawn
08-30-2014 07:49 AM
Yesterday 06:07 PM
by 04bluesilverado
3 105
Mowing 7 acres
avetslawncare
Yesterday 04:24 PM
Yesterday 05:55 PM
by stevef1201
3 67
Help pricing cut down 7...
Bradcook21
08-26-2014 11:17 PM
Yesterday 04:48 PM
by avetslawncare
6 199
New to the industry-...
Lsmain
Yesterday 10:53 AM
Yesterday 10:53 AM
by Lsmain
0 55
Sod
RosalesLawnCare
08-27-2014 03:47 PM
08-30-2014 07:00 PM
by RosalesLawnCare
2 144
Lawn Route Templates
Landscaper1165
08-30-2014 01:52 PM
08-30-2014 05:04 PM
by stevef1201
1 87
Exmark Lazer Z S-Series...
BLC7
08-22-2014 10:18 AM
08-30-2014 09:49 AM
by BLC7
10 377
Hello! New here and...
CaliforniaFriendly
08-29-2014 11:30 AM
08-29-2014 05:39 PM
by jrs.landscaping
1 111
Stihl engine isn't...
Marcintosh
08-12-2014 08:30 PM
08-28-2014 09:28 PM
by Marcintosh
12 514
Hello
jawnebgoode
08-28-2014 08:37 PM
08-28-2014 08:37 PM
by jawnebgoode
0 54
Hello from Ohio
kurtwin
08-28-2014 05:06 PM
08-28-2014 05:06 PM
by kurtwin
0 74
Softball field
kslawn
08-15-2014 09:28 AM
08-28-2014 12:01 PM
by Steve
16 604
Lawn needs top soil What...
jymie
08-26-2014 11:01 AM
08-28-2014 11:58 AM
by Steve
5 205
Walk Behinds and Texas...
SGL1
08-26-2014 03:53 PM
08-27-2014 10:38 PM
by SGL1
5 194
Say Hello !!!
Steve
03-19-2007 11:18 AM
08-27-2014 08:33 PM
by kurtwin
1,187 331,236
These are the days on...
ExtremeLawncareServices
03-22-2014 09:12 AM
08-26-2014 04:21 PM
by ExtremeLawncareServices
110 6,625
How do I approach...
Bradcook21
08-21-2014 01:48 AM
08-26-2014 05:08 AM
by Billy Goat
12 502
Tender Process
M2Dave
08-24-2014 12:31 PM
08-25-2014 04:14 PM
by Steve
2 183
Grass hopper mower
ExtremeLawncareServices
12-05-2013 08:51 AM
08-25-2014 04:02 PM
by Steve
26 3,841
Need help pricing basic...
Bradcook21
08-22-2014 01:21 AM
08-22-2014 01:05 PM
by Steve
2 275
Yearly contract Pricing
jrob0691
08-21-2014 08:57 AM
08-22-2014 01:01 PM
by Steve
6 349
yearly contract help...
jrob0691
08-21-2014 04:09 PM
08-22-2014 12:48 PM
by Steve
1 222
Pampas bushes
Bradcook21
08-22-2014 01:30 AM
08-22-2014 07:17 AM
by grassdoctore
1 197
2014 Gie-expo
ExtremeLawncareServices
08-19-2014 11:22 PM
08-21-2014 08:50 PM
by phlawncare
2 235
Fuel Can Spouts
Shark1611
08-16-2014 09:09 AM
08-21-2014 08:23 PM
by SGL1
11 478
Have you ever had to...
SouthernRootsLawnCare
07-26-2014 02:41 PM
08-21-2014 05:03 PM
by stevef1201
6 744
Hello
M2Dave
08-21-2014 12:32 AM
08-21-2014 01:38 PM
by Steve
1 200
New Landscaping Business
rekon32
08-16-2014 02:26 PM
08-21-2014 12:33 PM
by SouthallMowing
8 535
Downed Tree Chop Bid
WesleySnips
08-16-2014 03:47 PM
08-20-2014 01:44 PM
by SGL1
10 509
60 inch honda/bunton...
pblawncare
08-17-2014 11:30 AM
08-18-2014 03:19 PM
by Steve
2 254
Replacement Parts -...
nicholas-KC
08-16-2014 08:40 AM
08-18-2014 03:16 PM
by Steve
4 363
Preparing the soil
Billy Goat
08-16-2014 06:18 PM
08-18-2014 03:01 PM
by Steve
1 276
What to pay help
phlawncare
08-04-2014 08:33 PM
08-18-2014 10:33 AM
by jrs.landscaping
29 1,101
Hello
Jeff1
08-07-2014 11:18 PM
08-15-2014 11:53 PM
by Jeff1
11 564
Lie #2 RESIDENTIAL...
ExtremeLawncareServices
01-06-2014 05:02 AM
08-15-2014 01:46 PM
by mattthelawnguy
54 6,678
Need help 30 HP koler...
Shady Grady
08-01-2014 03:31 PM
08-15-2014 08:46 AM
by kslawn
18 741
New Boomless Sprayer!
BlackRain75
01-03-2014 01:01 PM
08-14-2014 02:37 AM
by BlackRain75
12 1,935
first year update
cmdlawncare
08-12-2014 05:41 PM
08-13-2014 03:29 PM
by Steve
1 368
Hello from Jacksonville,...
JM Lawn Care
08-10-2014 07:15 AM
08-13-2014 07:04 AM
by Sprinkler Buddy
9 482
Hello everyone new to...
maddyandrays
08-11-2014 04:51 PM
08-12-2014 08:58 PM
by Shark1611
2 319
Walk behinds
hpruitcei
08-07-2014 06:28 PM
08-12-2014 02:35 PM
by mattthelawnguy
7 586
New name help
stevef1201
08-10-2014 04:27 PM
08-12-2014 12:03 PM
by Steve
6 471
my little green dilemmas
Lawn Techie
08-03-2014 11:47 AM
08-11-2014 01:20 PM
by Steve
7 567
what the best...
CleanCutsLLC
08-02-2014 01:02 AM
08-11-2014 01:16 PM
by Steve
6 624
Texas lawn care company...
Livingston Lawn Care
07-25-2014 11:29 AM
08-11-2014 01:19 AM
by ExtremeLawncareServices
13 878
Covering all the bases
janslawncare
08-08-2014 10:11 AM
08-08-2014 01:41 PM
by Steve
1 411
New from Florida
ADE
08-06-2014 08:40 PM
08-08-2014 01:32 PM
by Steve
4 479
JOB - Landscape Install...
janslawncare
08-08-2014 10:06 AM
08-08-2014 10:06 AM
by janslawncare
0 371
Battery power tools or...
Steve
08-07-2014 12:24 PM
08-07-2014 05:18 PM
by mattthelawnguy
2 380
» Popular Tags
4wd 34'' ads apartment bid apartment lawn care estimate birdscaping charge christmas craigslist customers estimate exmark fall ferris financing franchise gopherhaul grass gravely hardscapes hills holiday how much to charge introduction invoice labor cost landscape services late lawn lawn care lawn care business lawn care business seo lawn care business show lawn care business website lawn care business website seo lawn care website leaf cleanup lesco lighting managing a lawn care business marketing mechanic mowing new and restored landscapes new buisness new business new mower patio install podcast promotion push versus ride reo riding mower scag scripts search engine optimization seo starting a business starting a lawn care business steve stihl theft theft of services tips top dresser toro tractor auger tree care walker wright stander rh
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:14 AM.


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

All times are GMT -5. The time now is 08:14 AM.

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