Support Forums

Full Version: PHP to HTML?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hey

i just downloaded a theme but then realized it was in php. So i want to know if i can convert php to html and how.

Thanks for any replys
The for what?? Are you sure it isn't XML??
nope its defo html
(12-21-2009, 08:33 AM)Floydy Wrote: [ -> ]nope its defo html

It's definitely html? I thought you said php.
(12-21-2009, 08:42 AM)Rob Wrote: [ -> ]It's definitely html? I thought you said php.

i mean its php, but i need t convert into html
(12-21-2009, 08:47 AM)Floydy Wrote: [ -> ]i mean its php, but i need t convert into html


I don't think you will be able to. What do you need this for?
(12-21-2009, 08:51 AM)Rob Wrote: [ -> ]I don't think you will be able to. What do you need this for?


well i need to do it for a habbo fansite. And i need it converted because non of us have had much experience with it
PHP is more advanced than HTML which means that the functions of the PHP document won't be available in a pure HTML document.
Could you please post the PHP file you want to transfer?
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  
  <title>habboboard ;; a place full of fun </title>
  
  <link rel="shortcut icon" href="/images/favicon.ico" />
  
  <link rel="stylesheet" title="blue" href="styles/blue.css" type="text/css" media="screen" />
  <link rel="alternate stylesheet" title="red" href="styles/red.css" type="text/css" media="screen" />
  <link rel="alternate stylesheet" title="green" href="styles/green.css" type="text/css" media="screen" />
  <link rel="stylesheet" href="styles/print.css" type="text/css" media="screen" />
  
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
  <script type="text/javascript" src="js/jquery.styleswitch.js"></script>

</head>

<body>
<div id="header">
  <div id="styleswitch">
    <a href="#" rel="red" class="styleswitch"><img src="images/switch_red.png" /></a>
    <a href="#" rel="blue" class="styleswitch"><img src="images/switch_blue.gif" /></a>
    <a href="#" rel="green" class="styleswitch"><img src="images/switch_green.png" /></a>
  </div>
  <ul id="navi" class="button">
    <li>
      <a href="?p=home">Home</a>
      <span></span>
    </li>
    <li>
      <a href="?p=tools">Tools</a>
      <span></span>
    </li>
    <li>
      <a href="?p=community">Community</a>
      <span></span>
    </li>
  </ul>
</div>
<div id="container">
    <div id="content_header">
    <h1>Welcome</h1>
  </div>
  <div id="content_mid">
    <div id="content">
Welcome to the HabboBoard archive which is full of goodies such as tools for you to use and generators to well generate things for you. We also supply the odd downloads such as bluk images, backgrounds or other useables. Although the archive is not our main focus we and the rest of the team try to update it on a regular basis however we arent always looking with our eagle eyes, so if you feel we are missing something from the archive which you feel would be helpful then simply PM <strong>Chaad</strong> on our forum with the link to the useable you feel to be added to the archive and we will see whether its appropriate or not. Please note that the staff do not have enough time to thank everybody individually for their contribution towards the archive therefore forum users who do submit useables in which we add will simply be awarded with a thank you badge rather then a big announcement for each user (imagine the amount of threads <em>"Thank you to [insert contributors name here] for helping towards the archive"</em> x67987).
    </div>
  </div>  <div id="content_footer"></div>
</div>
</body>
</html>

its got bits of php and html in it but i need the php bits converted to html
Pages: 1 2 3