|
|
Post a Project »
Find a Professional HTML Freelancer!
Find a Freelancer to help you with your HTML projects
| |
|
 |
|
|
|
04-27-2009, 06:54 PM
|
Re: HTML or PHP?
|
Posts: 9
Name: Svetoslav Marinov
|
It used to be cool (and SEO wise) to have .html instead of a dynamic extension.
|
|
|
|
04-29-2009, 05:21 AM
|
Re: HTML or PHP?
|
Posts: 2
Name: Mark Bell
|
Hello, PHP is used for scripting language while HTML is Markup language. you can not use only PHP, you must have to use HTML for PHP.
no any page without HTML is possible.
thanks!!!
-------------------------------------------------------------------
<link junk removed>
MAKE A SIGNATURE
Last edited by wayfarer07; 04-29-2009 at 09:02 AM..
|
|
|
|
04-30-2009, 04:38 PM
|
Re: HTML or PHP?
|
Posts: 28
Name: Amit Soni
|
Considering the original post, that you have been using .html extensions for a while. changing them to php WILL AFFECT your search engine rankings NEGATIVELY.
Other websites who are linking to your websites wont know about change from .html to .php
Agreed .php will offer much more flexibility and dynamism but remember to use 301 redirects to prevent loosing page ranks and link popularity.
|
|
|
|
05-01-2009, 03:35 AM
|
Re: HTML or PHP?
|
Posts: 21
Name: Paul
|
Quote:
Originally Posted by welljy
If you want to have a good ranking in search engine,you had better not change all the pages to php
|
Could you expand on that a little, please? I use the .php extensions almost exclusively because I want server side dynamic pages. Does google reject .php pages and dynamic scripting?
|
|
|
|
05-01-2009, 11:08 AM
|
Re: HTML or PHP?
|
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
Quote:
|
Does google reject .php pages and dynamic scripting?
|
No, it makes no difference to Google whatsoever. There is no basis to that statement.
__________________
I build web things. I work for the startup Please login or register to view this content. Registration is FREE
.
|
|
|
|
05-03-2009, 01:53 AM
|
Re: HTML or PHP?
|
Posts: 7
Name: Steve
|
it depends on what kind of php is on the page, or if a database is required like MYSQL etc...
__________________
Steve
My Blog:Please login or register to view this content. Registration is FREE
Tips on Making Money Online
|
|
|
|
05-04-2009, 12:47 PM
|
Re: HTML or PHP?
|
Posts: 28
Name: TJ Phippen
|
Umm... The only point to using .php is if you have PHP markup within the file & need the server to parse it as such.. If I have a page that doesn't use php, then it stays as a .html.
__________________
█ | | TJ PHIPPEN | | Please login or register to view this content. Registration is FREE
█ | Definition Redefining Speed, Quality & Satisfaction!
█ | Call Me: (435) 225-6121 | Email Me: Please login or register to view this content. Registration is FREE
|
|
|
|
05-05-2009, 01:27 PM
|
Re: HTML or PHP?
|
Posts: 10
|
If your page contains PHP you make the file type as .php
If your page has no PHP then make it end in .html or .htm
You can use .php files to serve a page with no PHP at all, but there would be no point in doing that.
Last edited by helloworlder; 05-05-2009 at 01:28 PM..
|
|
|
|
05-06-2009, 05:51 AM
|
Re: HTML or PHP?
|
Posts: 7
|
It really depends... I personally don't think it matters but neat urls such as:
http://www.site.com/file/page/
Using Mod re-writes is ever more popular these days. I don't use this system I use .php
I use html/css/php on each page too 
|
|
|
|
05-06-2009, 06:46 AM
|
Re: HTML or PHP?
|
Posts: 81
|
I too heard that an html page will be placed with a higher rank compared to the one with .php extension.
|
|
|
|
05-06-2009, 07:09 AM
|
Re: HTML or PHP?
|
Posts: 5
|
i think that some codes from other web languages will not work with a .php file i think some early java scrips wont and some old methods of inputting fvm files.
__________________
Underlink Please login or register to view this content. Registration is FREE
Freelance Website developer based in the UK
|
|
|
|
05-06-2009, 08:14 AM
|
Re: HTML or PHP?
|
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
Quote:
Originally Posted by !!underlink!!
i think that some codes from other web languages will not work with a .php file i think some early java scrips wont and some old methods of inputting fvm files.
|
I assume by java scrips you mean JavaScript. Front end code has nothing to do with what is happening on the server. All PHP processing (or any other server language processing), happens BEFORE JavaScript is even considered, therefore, there is no way for PHP to "interfere" with it.
Bottom line is, you can do anything with a .php file that you can with an .html file, except for run code from other server languages (assuming PHP is active).
This whole conversation is getting a bit tired.
__________________
I build web things. I work for the startup Please login or register to view this content. Registration is FREE
.
|
|
|
|
05-09-2009, 05:14 PM
|
Re: HTML or PHP?
|
Posts: 62
Name: Andrew
|
thanks for all the advice. I'm comfortable with php, so I think it's the way to go before I build up the site. It seems it can do everything that a regular .html page can do and more. And if I'm correct, there don't seem to be any limitations when using .php pages compared to .html pages, just additional benefits.
I use Dreamweaver, so it's not too different to create the pages. I guess I have a lot of work ahead of me - it seems the main tasks will be changing the .html includes to .php type includes, and creating a bunch of 301 redirects. I would highly appreciate any other suggestions when switching a big site over like this.
|
|
|
|
05-11-2009, 07:09 AM
|
Re: HTML or PHP?
|
Posts: 6
Name: lisa
|
I would like to PHP, Bcoz PHP have too many functionality and more user friendly. So i refer PHP than the HTML.
|
|
|
|
05-14-2009, 05:05 PM
|
Re: HTML or PHP?
|
Posts: 27
Name: Shubham Ranjan
|
personally i would say php just because it more secure and you can to more with it than html
|
|
|
|
05-14-2009, 10:50 PM
|
Re: HTML or PHP?
|
Posts: 168
Name: James
Location: Australia
|
MY ADVISE IS
The speed of the server is very important, as it can only handle a certain quantity of customers at one time, it is VERY IMPORTANT to get that file sent out and done with as quickly as possible.
file.php will always take longer for the server to work than file.htm or file.html
This is because with the file.html file, it 'gets sent straight out, and sent quickly'
Whereas a file.php has got to be processed before it gets sent out as a HTML file.
There are times where and when a file.php is required to interact with the database, and you would always use a php file for them, but whenever possible I would use a file.html file
AS FOR HEADERS, I use a header.js file with a small function head(a) in it. Just under the body tag, I have head('Form page <br> New members application').
This method of header has the benefit of
+The whole script, and the whole data of the head, stayes in the browser, and thus saves a lot on download bandwidth.
+As I only need one head.js and one head.css file, it is always very easy to change the header in each and every page.
|
|
|
|
05-15-2009, 01:47 PM
|
Re: HTML or PHP?
|
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
Quote:
|
The speed of the server is very important, as it can only handle a certain quantity of customers at one time, it is VERY IMPORTANT to get that file sent out and done with as quickly as possible.
|
Quote:
|
AS FOR HEADERS, I use a header.js file with a small function head(a) in it. Just under the body tag, I have head('Form page <br> New members application').
|
I think this is bad advice. Most of the slowness of a website is caused on the client side, not the server side. This has been proven by the folks at Yslow, which has grown into a standard of why websites perform slowly. PHP parsing is much faster than JavaScript parsing, and besides, is much more powerful, since it can access databases and do other things that JavaScript simply is not allowed to do. Also, content that is generated by JS is purposely ignored by search engines, so it will not count for your page content. This is not always a bad thing, but it is not usually what is desired.
__________________
I build web things. I work for the startup Please login or register to view this content. Registration is FREE
.
Last edited by wayfarer07; 05-15-2009 at 03:02 PM..
|
|
|
|
05-15-2009, 02:34 PM
|
Re: HTML or PHP?
|
Posts: 66
Name: Mike McKeown
Location: St. Louis, MO
|
Wordpress is good for those who aren't the most skilled in web design, but it also leads to a bunch of site with 3-10 Google ads and nothing but reposted content you can see anywhere and everywhere. But anyways, I think Joomla is a bit better for what monkfunk is talking about than Wordpress. So many more features. A little bit more of a learning curve though.
|
|
|
|
05-17-2009, 09:12 AM
|
Re: HTML or PHP?
|
Posts: 84
|
PHP is dynamic and html is static. For client side management you can use javascript.
__________________
Please login or register to view this content. Registration is FREE - Please login or register to view this content. Registration is FREE - 1-888-869-HOST(4678)
Award winning Managed Hosting - Please login or register to view this content. Registration is FREE
Managed Dedicated Servers. Reseller Discounts. 24/7 Impressive Tech Support
|
|
|
|
05-18-2009, 08:04 AM
|
Re: HTML or PHP?
|
Posts: 47
Name: Bryan Williamz
|
PHP runs on sever side. Server reads .php file extract the php codes or scripts.
|
|
|
|
|
« Reply to HTML or PHP?
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|