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
bidding a cemetery....
NPM_LLC
Today 10:56 AM
Today 12:43 PM
by jrs.landscaping
3 37
First big mower decision?
SGL1
Today 08:58 AM
Today 08:58 AM
by SGL1
0 24
Employee job training...
brookline
12-15-2014 07:15 PM
Today 08:43 AM
by biglee
28 2,372
Mower vs lot size advice
jcurr33
03-25-2015 09:29 PM
Today 08:37 AM
by Dan Tanner
5 165
Billing methods
jcurr33
03-26-2015 01:33 PM
Today 08:29 AM
by biglee
5 138
Finally got a warehouse
avetslawncare
03-12-2015 07:52 PM
Today 08:25 AM
by SGL1
11 514
Trepidation about...
michellemarvin
03-23-2015 07:46 PM
Today 05:35 AM
by Dan Tanner
2 146
How do you get...
ESREVER
03-25-2015 01:30 PM
Today 12:18 AM
by lxarth
7 184
Bid for large home...
lxarth
03-22-2015 11:06 AM
Yesterday 11:56 PM
by lxarth
8 290
I lost a long term...
Sprinkler Buddy
09-04-2011 02:24 PM
Yesterday 11:42 PM
by lxarth
15 3,420
hoa bid need help
bigdaveha12
03-24-2015 08:29 PM
Yesterday 11:17 PM
by lxarth
6 214
introducing myself
chris2500hd
03-24-2015 11:16 AM
Yesterday 02:02 PM
by Steve
8 216
Commercial Jobs
CurbAppeal1
03-25-2015 04:22 PM
Yesterday 12:29 PM
by biglee
5 179
Flag or no flag
Matther777
03-24-2015 02:41 PM
Yesterday 12:25 PM
by biglee
10 331
Office Administration...
Girlfriend
03-26-2015 05:40 PM
03-26-2015 05:40 PM
by Girlfriend
0 69
Is this tree beyond help?
SGL1
03-22-2015 05:35 PM
03-25-2015 08:55 PM
by SGL1
14 481
Opinions on truck wrap
Trupro
02-28-2015 03:21 PM
03-25-2015 07:54 PM
by Trupro
33 1,547
The New Wave!!!! Read...
Jamesw86
03-22-2015 08:33 PM
03-25-2015 02:50 PM
by Steve
10 305
grass in the gas tank
robkattankate
03-23-2015 04:37 PM
03-25-2015 02:36 PM
by Steve
5 183
Helping others
hansenslawncare
09-15-2011 08:50 PM
03-25-2015 02:33 PM
by Steve
11 2,654
DOT Number
acrajchel
03-20-2015 05:56 PM
03-25-2015 02:28 PM
by Steve
7 310
Michelin x tweel.
apmAkron
03-23-2015 04:22 PM
03-24-2015 12:40 PM
by Steve
3 137
spike aerator???
Bradcook21
03-21-2015 01:55 PM
03-24-2015 10:32 AM
by acrajchel
4 216
Hello from Maryland
michellemarvin
03-23-2015 12:44 PM
03-23-2015 07:33 PM
by michellemarvin
2 131
hello from south GA.
CCandALawnCare
03-23-2015 03:46 AM
03-23-2015 07:06 PM
by CCandALawnCare
2 124
Say Hello !!!
Steve
03-19-2007 11:18 AM
03-23-2015 06:14 PM
by jethro
1,218 380,069
Is anyone doing mosquito...
BWild
01-27-2015 11:30 AM
03-23-2015 12:28 PM
by Steve
9 831
35,000 Eddm
greenscaper123
03-18-2015 12:51 PM
03-23-2015 11:48 AM
by BLC7
18 468
Should i take on this...
christw
03-17-2013 01:23 PM
03-22-2015 09:02 PM
by ExtremeLawncareServices
36 7,560
mower stalls when...
boog
03-19-2015 08:20 AM
03-21-2015 08:13 PM
by Wolf4dk
7 264
Weed and Feed
robkattankate
03-19-2015 09:00 PM
03-21-2015 01:53 PM
by Bradcook21
4 305
These are the days on...
ExtremeLawncareServices
01-11-2015 10:41 AM
03-20-2015 10:00 PM
by ExtremeLawncareServices
32 3,607
Hello Emily Reyes from...
Webster14829
03-20-2015 11:23 AM
03-20-2015 03:36 PM
by Steve
2 181
Finally going to give it...
jcurr33
03-12-2015 08:09 PM
03-20-2015 03:31 PM
by Steve
10 552
Weed id?
SGL1
03-17-2015 08:20 PM
03-20-2015 02:37 PM
by Steve
6 280
Mobile small engine...
luckylogger
03-15-2015 02:05 PM
03-20-2015 06:17 AM
by jrs.landscaping
15 481
Brad Cook 21
SC93
03-16-2015 10:40 PM
03-19-2015 09:04 PM
by Bradcook21
4 352
honest opinion please
uppercut
02-17-2015 01:30 AM
03-18-2015 02:55 PM
by Steve
15 1,311
Repair or replace the...
lxarth
12-17-2014 04:07 PM
03-18-2015 02:49 PM
by Just for Cuts
21 2,028
new to the site
bigdaveha12
03-17-2015 09:13 PM
03-18-2015 02:33 PM
by Steve
1 205
Small dovetail truck...
ExtremeLawncareServices
03-04-2015 06:47 PM
03-17-2015 10:14 PM
by ExtremeLawncareServices
17 862
New Site Hows it look
Infinitelawn
03-16-2015 10:32 AM
03-17-2015 08:15 PM
by SGL1
3 284
mulch questions
Bradcook21
03-08-2015 08:37 AM
03-17-2015 07:00 PM
by Bradcook21
23 988
Scag hydro w/b frame...
Just for Cuts
03-11-2015 03:32 PM
03-17-2015 06:37 PM
by lxarth
11 500
Buy new or used?
lxarth
12-26-2014 09:50 PM
03-17-2015 06:11 PM
by lxarth
14 1,711
New to 2015
Infinitelawn
03-16-2015 08:29 AM
03-17-2015 11:47 AM
by Steve
4 290
Pulling trailer was...
SGL1
03-07-2015 07:14 PM
03-17-2015 08:11 AM
by SGL1
30 1,133
Diesel conversion?
Just for Cuts
03-02-2015 09:59 AM
03-16-2015 03:26 PM
by Just for Cuts
10 636
trimmer racks.
apmAkron
03-12-2015 09:07 AM
03-16-2015 03:17 PM
by Steve
4 358
Ferris FW35 questions
Chilehead
03-10-2015 08:31 PM
03-16-2015 03:11 PM
by Steve
4 360
» Popular Tags
aerocore apartment complex auger bark billy goat brushcutter blades bush collections deliquentaccounts design edging employee problems equipment rental ferris flyers foreman free advertising grass growing a lawn care business hills hiring husqvarna introduction john deere quik trac landscape landscape services landscaping training lawn lawn care lawn care business seo lawn care business website lawn care business website seo lawn care seo lawn care website lawn care website seo lawn mowing marketing marketing secrets mr dave mulch new business past due per hour charge per hour service pricing profit on employee pto push versus ride running a business secrets to landscaping sell the vision seo shell small engine repair square foot steep lawns sulky theft toro grand stand trailer tree trimmer rack truck new used landscape up sell employee walk behind web design website website design winterization won't return
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:14 PM.


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

All times are GMT -5. The time now is 01:14 PM.

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