Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1869 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

html 2 php

Thread title: html 2 php
Closed Thread    
    Thread tools Search this thread Display Modes  
10-17-2007, 11:14 PM
#1
Tiny is offline Tiny
Status: I'm new around here
Join date: Oct 2007
Location:
Expertise:
Software:
 
Posts: 5
iTrader: 0 / 0%
 

Tiny is on a distinguished road

  Old  html 2 php

Sorry just starting out, is there a simple way of converting an html page into php?

10-17-2007, 11:23 PM
#2
Garyrae is offline Garyrae
Status: Request a custom title
Join date: Dec 2005
Location: Colchester, UK
Expertise:
Software:
 
Posts: 4,625
iTrader: 16 / 100%
 

Garyrae is on a distinguished road

Send a message via MSN to Garyrae Send a message via Skype™ to Garyrae

  Old

Elaborate on what it is you're looking to achieve.

10-18-2007, 02:03 AM
#3
Village Genius is offline Village Genius
Village Genius's Avatar
Status: Geek
Join date: Apr 2006
Location: Denver, CO
Expertise: Software
Software: Chrome, Notepad++
 
Posts: 6,894
iTrader: 18 / 100%
 

Village Genius will become famous soon enough

  Old

What do you mean? If you want to see the source of a PHP page, its impossible; the server parses the PHP and outputs HTML. If you want to display HTML in a PHP file, just put it outside of the <? and ?> tags

10-18-2007, 09:57 AM
#4
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

Rename the file from .html to .php. Done.

10-21-2007, 01:45 AM
#5
Zara is offline Zara
Status: Member
Join date: Apr 2006
Location:
Expertise:
Software:
 
Posts: 249
iTrader: 9 / 100%
 

Zara is on a distinguished road

  Old

PHP is a server side coding, it is processed by the server and outputs HTML. If your viewing a site in HTML there is no way to get the php source code that generates the HTML you're being shown. For more information you should read the PHP Manual at php.net.

Hope this helps,
- Phaaze

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed