Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Html To Php Questions
boyCradle
post Oct 24 2004, 05:24 AM
Post #1


Super Member
*********

Group: Members
Posts: 469
Joined: 30-September 04
From: Manila, Philippines
Member No.: 1,349



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
post Oct 24 2004, 10:31 AM
Post #2


Newbie [Level 1]
*

Group: Members
Posts: 10
Joined: 22-October 04
From: Paris, France
Member No.: 1,880



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
post Oct 24 2004, 07:45 PM
Post #3


Newbie [Level 2]
**

Group: Members
Posts: 33
Joined: 2-September 04
From: Norway
Member No.: 986



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
post Oct 25 2004, 12:21 AM
Post #4


Super Member
*********

Group: Members
Posts: 469
Joined: 30-September 04
From: Manila, Philippines
Member No.: 1,349



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

Topics Topics
  1. A Lot Of Php Questions(3)
  2. A Lot Of Php Questions Part 2(8)
  3. Html Font Tags In Php(11)
  4. Wap Forum(9)
  5. Executing Scripts Without Include() Function(3)
  6. 2 Questions(7)
  7. Best Php/html(2)
  8. Parsing .html Pages(9)
  9. Html Within Php Coding(11)
  10. Php And Asp.net Form(6)
  11. Javascript To Php - A Few Questions(1)
  12. Adapting Html Code Embed To Work On Phpnuke(7)
  13. Parsing Html As Php(7)
  14. Php And Disabling Html Tags(10)
  15. Logging Dowload Files From Your Server Onto A Html File(1)
  1. [help]: Php To Html (static) Converter(3)
  2. Gd Functions(2)
  3. Help With Moving Html Form Results To Shopping Cart?(3)
  4. <?php ?> Marking Up With Php(0)
  5. Script To Translate Into Bbcode From Html Tags(1)
  6. Html Site With Login(2)
  7. Html Code Tester. Online Script(15)
  8. File Checker-how To Check File Whith Html Through Html?(2)
  9. Php Questions?!(19)
  10. How Do I Get The Result To "stick" And Add Html Tags?(14)
  11. Questions?!(4)
  12. Html Form!(4)


 



- Lo-Fi Version Time is now: 28th August 2008 - 06:59 PM