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.

difference between a PHP and HTML


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
  #1  
Old 10-15-2007, 11:48 PM
pnplawn
Guest
 
Posts: n/a
Default

PHP files are just like HTML files, but they can include both HTML and PHP code. The PHP code is parsed (or executed) by the Web server when the page is accessed and the resulting output is written as HTML within the Web page. When a user accesses a PHP page, his Web browser only gets sent the HTML code, since the Web server has processed the PHP code in the background. Most PHP pages are processed so quickly that it does not noticeably slow down the loading of the Web page.

The .php extension is important, since it tells the Web server that the page may include PHP code. Therefore, it must be run through the server's PHP engine before being sent to a client's Web browser. This allows dynamic content to be generated each time the Web page is loaded, based on the variables included in the PHP code. For example, PHP pages may load objects such as the current date and time, data from form fields submitted by a user, or information from a database. Still, once the page reaches the user's Web browser, everything is formatted as HTML.

Major Features of PHP

* Standard CGI, FastCGI and Apache module support - As a standard CGI program, PHP can be installed on any UNIX machine running any UNIX web server. With support for the new FastCGI standard, PHP can take advantage of the speed improvements gained through this mechanism. As an Apache module, PHP becomes an extremely powerful and lightning fast alternative to CGI programmimg.
* Access Logging - With the access logging capabilities of PHP, users can maintain their own hit counting and logging. It does not use the system's central access log files in any way, and it provides real-time access monitoring. The Log Viewer Script provides a quick summary of the accesses to a set of pages owned by an individual user. In addition to that, the package can be configured to generate a footer on every page which shows access information. See the bottom of this page for an example of this.
* Access Control - A built-in web-based configuration screen handles access control configuration. It is possible to create rules for all or some web pages owned by a certain person which place various restrictions on who can view these pages and how they will be viewed. Pages can be password protected, completely restricted, logging disabled and more based on the client's domain, browser, e-mail address or even the referring document.
* PostgresSQL Support - Postgres is an advanced free RDBMS. PHP supports embedding PostgreSQL "SQL queries" directly in .html files.
* RFC-1867 File Upload Support - File Upload is a new feature in Netscape 2.0. It lets users upload files to a web server. PHP provides the actual Mime decoding to make this work and also provides the additional framework to do something useful with the uploaded file once it has been received.
* HTTP-based authentication control - PHP can be used to create customized HTTP-based authentication mechanisms for the Apache web server.
* Variables, Arrays, Associative Arrays - PHP supports typed variables, arrays and even PERL-like associative arrays. These can all be passed from one web page to another using either GET or POST method forms.
* Conditionals, While Loops - PHP supports a full-featured C-like scripting language. You can have if/then/elseif/else/endif conditions as well as while loops and switch/case statements to guide the logical flow of how the html page should be displayed.
* Extended Regular Expressions - Regular expressions are heavily used for pattern matching, pattern substitutions and general string manipulation. PHP supports all common regular expression operations.
* Raw HTTP Header Control - The ability to have web pages send customized raw HTTP headers based on some condition is essential for high-level web site design. A frequent use is to send a Location: URL header to redirect the calling client to some other URL. It can also be used to turn off cacheing or manipulate the last update header of pages.
* On-the-fly GIF image creation - PHP has support for Thomas Boutell's GD image library which makes it possible to generate GIF images on the fly.
* ISP "Safe Mode" support - PHP supports an unique "Safe Mode" which makes it safe to have multiple users run PHP scripts on the same server.
* Many more new features are being added in newer releases of PHP. Visit the main web site at http://www.php.net
* It's Free! - One final essential feature. The package is completely free. It is licensed under the GNU/GPL which allows you to use the software for any purpose, commercial or otherwise.
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


  #2  
Old 10-16-2007, 02:06 AM
pmblair
Guest
 
Posts: n/a
Default

Lawn care business tipsLawn Care Business Book
Some of that was totally foreign to me.... I can only imagine what the HTML illiterate are thinking... lol .... gonna have to do some more research on this.... I never did understand PHP
Reply With Quote
  #3  
Old 10-18-2007, 08:46 AM
anadyf anadyf is offline
new member
 
Join Date: Oct 2007
Posts: 24
Rep Power: 0
anadyf
Default

That's great info buddy....
PHP is getting more and more popular due to it's high usability.
Following sites will help you to get your hands on PHP :
http://oopschool.com/
http://smartwebby.com/PHP/variable.asp
http://www.w3schools.com
Reply With Quote
  #4  
Old 10-18-2007, 11:42 PM
pmblair
Guest
 
Posts: n/a
Default

I used to use w3schools.com all the time... GREAT stuff!
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
Review of our lawn care...
Lawnline
07-12-2016 06:40 PM
Today 08:57 AM
by Steve
2 608
How much to charge for...
jymie
03-31-2013 05:59 PM
07-27-2016 08:02 PM
by Steve
25 6,052
Now Hiring Just South of...
Chilehead
07-27-2016 11:38 AM
07-27-2016 11:38 AM
by Chilehead
0 35
Hi from Long Island NY
Lori22
07-18-2016 02:01 PM
07-26-2016 11:22 PM
by Chilehead
11 275
Hi everyone!
greenwavemedia
07-25-2016 03:22 PM
07-26-2016 11:21 AM
by Lawnline
2 67
Hi! I'm Tony from Tampa
Lawnline
07-12-2016 06:47 PM
07-26-2016 11:12 AM
by Lawnline
6 676
Needing a website built
burtle
06-17-2015 09:02 AM
07-26-2016 10:30 AM
by Lawnline
16 18,774
Z246 Deck change question
JohnsLawnCare
07-25-2016 01:47 PM
07-25-2016 06:38 PM
by Steve
1 60
DIY Sprayer
acrajchel
07-25-2016 09:13 AM
07-25-2016 06:36 PM
by Steve
1 58
Hello Everyone
JohnsLawnCare
06-22-2016 11:14 AM
07-25-2016 06:20 PM
by Steve
15 589
New Site Hows it look
Infinitelawn
03-16-2015 10:32 AM
07-25-2016 03:06 PM
by greenwavemedia
5 10,521
Looking for new host
Just for Cuts
11-26-2015 06:58 AM
07-25-2016 02:49 PM
by greenwavemedia
9 1,507
New Business Owner
danesdanglas87
07-20-2016 12:31 PM
07-21-2016 05:04 PM
by Steve
2 134
Question about...
Bradcook21
07-18-2016 05:22 PM
07-19-2016 04:38 PM
by Steve
2 152
Hello from Watertown New...
lawnmanrick81
07-19-2016 03:57 PM
07-19-2016 04:11 PM
by Steve
1 89
Gutter Cleaning Tool
DanielThomas
07-18-2016 08:23 AM
07-18-2016 04:36 PM
by Steve
1 124
Starting on a lawn care...
Coco3465
07-16-2016 11:26 AM
07-17-2016 09:20 AM
by Steve
1 148
Aspiring Company Owner
TJ136
07-12-2016 05:12 AM
07-15-2016 02:52 PM
by SC93
6 257
Hi Everyone
JavelinaLawn
07-10-2016 07:29 PM
07-13-2016 02:01 PM
by Chilehead
5 786
Custom Canopies
JohnsLawnCare
07-12-2016 08:38 AM
07-12-2016 04:14 PM
by Steve
1 297
Spot checked by...
Just for Cuts
06-28-2016 02:34 PM
07-11-2016 03:53 PM
by Steve
4 318
John Deere JS40 issues
Mr. Mow
07-06-2016 01:28 PM
07-11-2016 03:52 PM
by Steve
3 241
Start My Own Business?
mowandblow1980
01-12-2016 07:43 PM
07-11-2016 11:18 AM
by DanielThomas
15 1,806
Rubber mulch...
avetslawncare
06-24-2015 09:28 PM
07-11-2016 09:11 AM
by Chilehead
9 3,329
Firefighter gone Lawn...
Firehouselawn@hotmail.com
03-10-2016 04:50 PM
07-07-2016 05:07 PM
by Steve
11 10,582
I need some business...
Firehouselawn@hotmail.com
07-06-2016 05:42 AM
07-07-2016 05:00 PM
by Steve
4 286
Business Overload
Chilehead
05-06-2016 09:27 PM
07-07-2016 04:53 PM
by Steve
24 1,311
Chemical Applications
acrajchel
06-24-2016 06:44 PM
07-05-2016 12:38 PM
by Chilehead
6 405
Is it too late?
Cpadgett
05-28-2016 09:10 AM
07-05-2016 11:54 AM
by Steve
14 911
3 Applications or 5...
stansg1fresh
02-18-2013 12:02 PM
07-04-2016 09:19 AM
by LawnPerfection
9 1,727
Best Push Mower You Have...
markty
05-14-2016 03:46 PM
07-02-2016 03:41 AM
by markty
27 1,989
Powered by vBadvanced CMPS v3.1.0

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


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

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

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