AllDeaf.com
Our Sponsors

Go Back   AllDeaf.com > Technology > Web, Graphic Design & Site Building
  
Reply
 
LinkBack Thread Tools Display Modes
Old 12-13-2006, 04:48 AM   #1 (permalink)
DDC
 
Join Date: Nov 2006
Location: Vancouver, BC - Canada
Posts: 2
Post index.php vs index.html

Just wanted to know what is difference between *.php(s) or *.htmls on your website? I noticed that some websites are running on index.php instead of index.html and other webpages in *.php too? to my understanding, the website runs more fast if you do in php language or what?

I'm web designer and I normally code xhtml, css and flash/javascript and sometimes some back-end programmings (php, mysql, and perl) if it is needed to run some apps and others.

Looking forward to some answers to the question.

Thanks!
ddcamp is offline   Reply With Quote
Alt Today
Deafness

Beitrag Sponsored Links

__________________
This advertising will not be shown in this way to registered members.
Register your free account today and become a member on AllDeaf.com
   
Old 12-13-2006, 06:47 AM   #2 (permalink)
Administrator
 
Alex's Avatar
 
Join Date: Feb 2003
Location: New Jersey
Posts: 3,415
Blog Entries: 1
Send a message via AIM to Alex
The only difference is that the .php extention tells the web server that the page may include PHP code. PHP is used for producing dynamic web pages while HTML produces static web pages. Actually, HTML web pages load faster than PHP web pages.

While this site is written in PHP, the dynamic URLs are converted into static looking html web pages.
__________________
"Kindness is a language which the deaf can hear and the blind can read." - Mark Twain
Alex is offline   Reply With Quote
Old 02-15-2007, 06:23 PM   #3 (permalink)
Registered User
 
Join Date: May 2003
Posts: 90
PHP: Personal Hypertext Preprocessor is a reflective programming language originally designed for producing dynamic Web pages and remote application software. PHP is used mainly in server-side scripting, but can be used from a command line interface or in standalone graphical applications. Textual User Interfaces can also be created using ncurses. Powerful scripts and CHEAP!
Magnix is offline   Reply With Quote
Old 02-25-2007, 04:56 AM   #4 (permalink)
bloody phreak from hell
 
VamPyroX's Avatar
 
Join Date: Feb 2003
Location: Hell
Posts: 31,473
Send a message via ICQ to VamPyroX Send a message via AIM to VamPyroX Send a message via Yahoo to VamPyroX
Quote:
Originally Posted by Alex View Post
The only difference is that the .php extention tells the web server that the page may include PHP code. PHP is used for producing dynamic web pages while HTML produces static web pages. Actually, HTML web pages load faster than PHP web pages.

While this site is written in PHP, the dynamic URLs are converted into static looking html web pages.
Yep, HTML loads faster because it's directly from the source.

With PHP, it has to access information as if it was running a program before converting to HTML language and then posting online.
__________________

Check out my city... CLICK HERE!
(If you already visited yesterday, visit again today!)
VamPyroX is offline   Reply With Quote
Old 03-07-2007, 07:07 PM   #5 (permalink)
DeafCruise.com
 
Join Date: Apr 2005
Posts: 169
Quote:
Originally Posted by VamPyroX View Post
Yep, HTML loads faster because it's directly from the source.

With PHP, it has to access information as if it was running a program before converting to HTML language and then posting online.
Interesting.. I thought PHP is much faster because, of sizable and powers.

For example.. alldeaf is using php based. If alldeaf is using html, then it's like pulled 10 feet boat using bug VW car.
__________________
Thinking about going Deaf Cruise Vacation?
Join with our deaf group!
http://www.deafcruise.com

Deaf Cruise Gallery Online
http://www.deafcruise.tv

Are you looking for place to stay at hotel?
Check out our lowest price on popular selection hotels
http://www.deafhotels.com
DeafCruise is offline   Reply With Quote
Old 03-08-2007, 05:27 AM   #6 (permalink)
bloody phreak from hell
 
VamPyroX's Avatar
 
Join Date: Feb 2003
Location: Hell
Posts: 31,473
Send a message via ICQ to VamPyroX Send a message via AIM to VamPyroX Send a message via Yahoo to VamPyroX
Quote:
Originally Posted by DeafCruise View Post
Interesting.. I thought PHP is much faster because, of sizable and powers.

For example.. alldeaf is using php based. If alldeaf is using html, then it's like pulled 10 feet boat using bug VW car.
PHP can retrieve information from a SQL database and list it as posts and threads. HTML doesn't.

HTML could retrieve information through Javascript, but it's not as secure as PHP and can cause problems for some internet browsers. It also takes longer in some cases.

Right now, I'm using a setting where 40 posts are viewed per page. If I were to use HTML, that would be a HUGE file to load up. If I were to use PHP, it would be a small simple-coded file that reads elsewhere and brings it all up in HTML format.
__________________

Check out my city... CLICK HERE!
(If you already visited yesterday, visit again today!)
VamPyroX is offline   Reply With Quote
Old 03-08-2007, 11:36 AM   #7 (permalink)
Registered User
 
Join Date: Sep 2005
Location: Miami, FL
Posts: 693
Quote:
Originally Posted by VamPyroX View Post
HTML could retrieve information through Javascript, but it's not as secure as PHP and can cause problems for some internet browsers. It also takes longer in some cases.
Haven't you all heard of AJAX? You already noticed Ajax in action, whenever you do a 'quick reply' or edit a posting you made earlier.

Ajax and other similiar technologies are now shoring up Web 2.0 and Internet website usability should improve thousandfold.
Cousin Vinny is offline   Reply With Quote
Old 03-16-2007, 11:11 AM   #8 (permalink)
Click me 12 time
 
PowerON's Avatar
 
Join Date: Mar 2007
Location: Suddenly, I'm cowboy.
Posts: 6,863
Blog Entries: 4
Send a message via Yahoo to PowerON
they been told that php can be protect from have hack change on web page.
__________________
• [Illustrator.Blog-alloon.com] •
Don't shoot me! I'm only blogger!
PowerON is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:56 PM.


Join AllDeaf on Facebook!    Follow us on Twitter!

All text, images, and other content are Copyright © 2002-2009 by AllDeaf.com. All Rights Reserved.
vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.