IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
 
Reply to this topicStart new topic

Html To Php Questions


boyCradle
no avatar
Super Member
*********
Group: Members
Posts: 469
Joined: 30-September 04
From: Manila, Philippines
Member No.: 1,349



Post #1 post Oct 24 2004, 05:24 AM
Hi, I would like to know if it is safe to change HTML files to PHP files by just changing the dotHTML extension to dotPHP??

I tried it to a single html file because i used a php code of blog, and it worked.

I'm using Internet Explore version 6 and it's working fine.

I would like to know if the PHp files would work for other browsers after changing dotHTML to dotPHP extension.

Thanks
Go to the top of the page
+Quote Post
logman92
no avatar
Newbie [Level 1]
*
Group: Members
Posts: 10
Joined: 22-October 04
From: Paris, France
Member No.: 1,880



Post #2 post Oct 24 2004, 10:31 AM
Hye !

There are 2 points to consider :
  • The 1st point is the code is interpreted on the server which host your PHP pages and the result is transfered to the client browser. The server has only to support PHP pages.
    wink.gif
  • The 2nd point is you must to be sure of the compatibility of your code in others browsers than yours sad.gif . You should take caring of the HTML code inside your PHP pages. You should know that all instructions in this programming language (HTML) are not compatible with all versions of different browsers ! Check the compatibility before using it !
Go to the top of the page
+Quote Post
CodeTeam
no avatar
Newbie [Level 2]
**
Group: Members
Posts: 33
Joined: 2-September 04
From: Norway
Member No.: 986



Post #3 post Oct 24 2004, 07:45 PM
QUOTE (boycradle @ Oct 24 2004, 05:24 AM)
Hi, I would like to know if it is safe to change HTML files to PHP files by just changing the dotHTML extension to dotPHP??

I tried it to a single html file because i used a php code of blog, and it worked.

I'm using Internet Explore version 6 and it's working fine.

I would like to know if the PHp files would work for other browsers after changing dotHTML to dotPHP extension.

Thanks



Why do you want to do this ?

I can't see any reason for doing this if you don't need any php-function.


I would think the html web-page would work just the same as a php-file. Since the php-file are interpreted/converted to html-code that are sent to your browser.
Go to the top of the page
+Quote Post
boyCradle
no avatar
Super Member
*********
Group: Members
Posts: 469
Joined: 30-September 04
From: Manila, Philippines
Member No.: 1,349



Post #4 post Oct 25 2004, 12:21 AM
because i downloaded a bunch of php scripts (tagboard, web to mail, etc) and they only work for PHPs. I don't anything about php, and I think the easiest way to use these scripts are to change the htmls to Phps.

I could configure the scripts so it would look ecxatly like my pages. other add-on at my Cpanel coulnd't be adjusted just like my pages, and I dont' want to use iFrames in case I can't have PHP files.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   1 illnet 6,200 20th June 2004 - 04:50 PM
Last post by: ultrasmad
No new   110 chelcy 83,382 Yesterday, 11:17 AM
Last post by: The Simpleton
No New Posts   3 -Sky- 664 12th June 2009 - 08:48 PM
Last post by: -Sky-
No new 40 EricDrinkard 39,786 1st November 2009 - 01:34 PM
Last post by: Www.AnthonyLazaroni.Com
No New Posts   11 football123213 8,641 30th July 2004 - 03:34 PM
Last post by: templest
No new   133 djleli 40,554 Yesterday, 10:58 AM
Last post by: onkarnath2001
No New Posts   10 Saint_Michael 8,952 7th May 2009 - 07:13 AM
Last post by: contactskn
No new   54 habbovalley 3,915 5th November 2009 - 09:59 AM
Last post by: Ho-oh'sRealm
No New Posts   0 deedee2003 3,744 5th September 2004 - 09:11 PM
Last post by: deedee2003
No New Posts   8 j-s 5,492 30th September 2004 - 12:39 PM
Last post by: Zenchi
No New Posts   9 Liquid Fire 3,835 18th September 2009 - 09:17 PM
Last post by: domguan
No New Posts   3 zach101 1,033 16th December 2008 - 04:45 PM
Last post by: minimcmonkey
No New Posts 12 Saint_Michael 6,972 18th December 2004 - 05:28 AM
Last post by: s243a
No New Posts   1 hansley 7,697 11th October 2004 - 03:54 AM
Last post by: Trystim
No New Posts   2 mrdee 676 23rd November 2007 - 10:21 PM
Last post by: mrdee


 



RSS Open Discussion Time is now: 22nd November 2009 - 07:30 AM

Web Hosting Powered by ComputingHost.com.