May 16, 2008

Html To Php Convertor?

Free Web Hosting, No Ads > General > Hosted Members Area
Pages: 1, 2

free web hosting

Html To Php Convertor?

itssami
Hey.I have made a simple website
http://pakdir.com
this is in html.But its very difficult to update the html pages.I want to convert it to php site.But i dont know about php language ... is there any "PHP website builder" ?? is there anyway to build a php website without knowledge of php , with the help of some program ? for example there is a frontpage for html etc.Please tell me any solution?

Reply

jlhaslip
Consider using a Content Management System like Joomla or php-nuke. Both are available in the fantastico in your cpanel for the trap17 accounts and both are php-based. It should simplify your updates and require less work to maintain the site's content. All the Templating is done. Review the Tutorials and maybe check out the features at their Support Forums. Look for the addresses in the Fantastico portion of the cpanel by choosing the CMS and pressing 'go'. The links are there to click on. Most of the better CMS software allows you to skin the CMS for presentation, add dynamic content, etc.

Reply

Ao)K-General
It would be strange to see a program change html into php and vice versa. I don't think one exists. That would be a lot of work to make one. You would have to know more php than many web programmers do. Than be able to code that and have it change one thing to another. It wouldn't be easy and would take a lot of time.

Reply

sm00nie
The thing here is that php is programming code, and html is mainly used to create a layout (without including scripts). You can mix match both in php files (but not in html files), but making things easier with a php site builder will not be easy if you do not know php at all. Using a Content Management System as jlhaslip has indicated is the best way to go.

I suppose the biggest issue you'll have with a CMS would be to manipulate it to match your layout, but with a bit of time that's not even an issue.

In your free time I'd recommend learning php (http://www.w3schools.com/php/default.asp -- intro php), you'll be able to create some pretty cool features for your users and make it easier to get things just the way you like them.

Reply

Plenoptic
Like sm00nie said I would reccomend going to w3schools.com and at least start to learn the basics. You can't really have a site that is just php because that isn't what php was made for. They are two different types of scripts. Another content management system would be CuteNews. It is a lot easier to update your content because all you have to do is type it in and submit. It isn't hard to set up either. You can find it here:
http://cutephp.com/cutenews/

Reply

no9t9
you can't "convert' HTML to PHP. it is impossible because it is not the same type. PHP is NOT used by your browser. Your browser can only read HTML (for simplicity sake).

On the webserver, an HTML page is sent directly to internet explorer without doing anthing to it (no parsing). For PHP pages, the webserver parses it. This means it looks through your page and executes all the PHP commands. The result is then sent to your internet explorer.

When you load a PHP page from internet explorer you are actually not getting a PHP page, you are getting an HTML page that the webserver has generated.

PHP is SERVER SIDE SCRIPTING.

Asking to convert HTML to PHP is like saying you want to convert a word document to JAVA. It is not possible.

Reply

Dragonfly
Like other members have suggested I also suggest you to use Content Management systems like Mambo, Joomla, Xoops, PHP-Nuke, e107 and others. If you want your site to work easily for you which will be dynamic it is better to use those, it will take much time until you can code your own site using PHP even if you learn.

Besides, even those who are expert is PHP also don't waste their time coding their own sites rather they use CMS and alter or hack the codes according to their needs which will not take much time.

And also if you learn PHP the best way to experiment is to start testing those already available free CMS and play around with the codes.


Reply

vujsa
Actually the idea of converting your HTML file to PHP files is not a ridiculas as everyone has suggested. If fact I think that most of the reasons not to do so have been pretty short sighted.

There are a number of reasons to convert your HTML files to PHP.
The biggest reason is to prepare the file to use PHP scripting. For example, if you wanted to add a PHP include to your page, the file would first need to be converted to PHP. It doesn't matter if the PHP file actually contains any php coding or not.

All you really need to do is change all of your files extentions from .html to .php and edit any internal links form .html to .php!

Your biggest problem will be a large number of dead links since your HTML files will no longer exist. As a result if you url is listed in search engines and other sites, the links will no longer work. Here is a solution for that problem: http://www.astahost.com/redirecting-all-ht...ite-t10490.html

======================================
The benefit of using a PHP include in your page is that you can include the contents of a file where ever you decide on your page. (basically where ever you place the include) The most common use of this technique by new PHP users is a site map or menu. You can write a single file that contains all of your menu information and insert that files contents into each of your web pages. Then if you want to edit your menu, you need only to edit the one file one time.

For more information, see this post: http://www.astahost.com/cms101-content-man...sign-t7778.html

You might be able to get someone to write a script to convert your files and clean the links up inside the files.
I would help but I'll be out of town for about a month.

Good Luck. cool.gif

vujsa

 

 

 


Reply

Lyon2
Here's some programs that will convert html to php, but they aren't free:

HTML To PHP Converter 4
http://visorsoft.com/htmltophp.php

Arigola html to php converter
http://www.arigola.com/

HTML to PHP or ASP
http://www.websitedatabases.com/html-to-php.html


Arigola is very good, and to tell you the trueth, i think i have a free version from the past of this program, but i'm not sure, i will post it here if i find it when i have time.

Reply

Inspiron
It isn't quite logical to convert your pure HTML site into a PHP page because HTML codes are basically client-side codes that display everything as text. PHP is processed on the server and hence the codes are not downloaded into the client's computer. The client only gets the processed output of the PHP program, which is then converted to plain HTML text for the client, or visitor to view.

There's quite a number of PHP builder, free and commercial versions. Both you will need at least basic PHP knowledge to use them. Otherwise you will not know what is going on. It's unlike Frontpage, Dreamweaver or anyother HTML builder as they are pretty straight forward, making what you see as what you get. HTML simply displays everything in it. PHP builder is not making as what you see with what you get. It's more towards programming as what you want to do upon certain events. Hence people who doesn't know basic PHP will likely don't know what is going on in the PHP builder software.

You may like to try the following PHP builders listed in this site
http://www.php-editors.com/review/

An alternative to building PHP based website is to use CMS (Content Management Systems) like what many suggested. These CMS are built with PHP which meant to display whatever you've place in it, making it works like simple HTML editing, what you see is what you get type.

You can check out this site to download a free CMS to build and manage your site for free.
http://www.hotscripts.com/PHP/Scripts_and_...ment/index.html

Reply

Latest Entries

Trap FeedBacker
Replying to no9t9
No9t9

"Right to Internet Explorer", that says it all, know what you are talking about before you open your piehole

YES it can be converted to a self executing PHP code, there are several convertors available online to convert HTML into PHP scripts, http://tools.Devshed.Com/webmaster-tools/html2php/ for example
That however would not solve your problem, what you want is a CMS like the other suggested, so you only have to post and update the actual content, not the pages ect.

-reply by Outlawsys

Reply

michaelper22
Technically, if you want to convert the files of your site to PHP, just rename them with a .php extention. Making your site CMS-driven, however, is another story. Try a CMS like Mambo (http://www.mamboserver.com) / Joomla (http://www.joomla.org/), or CMS Made Simple (one of my newly discovered secrets, http://www.cmsmadesimple.org). All of these work off of a template, giving all the pages in your site a common appearance (unless you specify a different template for different parts of your site, possible in all of the aforementioned CMSs).

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Similar Topics

Keywords : html, php, convertor

  1. Html In Os X- Linking To An Alias
    (0)
  2. Help Making A Web Adress Bar Using Html/js
    (9)
    Hey I need to make an adress bar basically you imput into the field press enter and your away but it
    cant use php or any code that needs to be installed, its all part of a workaround for my school
    interenet!....
  3. Has Anybody Tried Ms Expression Web Html Editor
    It's much better than Frontpage (1)
    I was desperate to finish a site I was designing after I lost my hard drive and my software. I
    downloaded Expression Web from the Microsoft site for a 3 month free trial, and guess what? It's
    surprisingly good! Nothing like that crappy frontpage, it's standards compliant and very
    good for writing CSS. Haven't heard anybody mention the program and wondering if anybody else
    has tried it out. It's free to try from the MS site.....
  4. Best Html Webdesign Studio
    Make A Website Very Easily (2)
    QUOTE Antenna enables you to make great looking web sites rapidly. Create a professional web
    site to promote yourself or your company. You can create your own web pages and digital photo
    galleries in minutes, without any HTML knowledge. You can also create smooth gradient backgrounds
    and attractive glossy buttons without switching between applications - it's all built in!
    And Many More Download Antenna Web Design Studio 15 Days Trail Now For Free.
    http://www.stormdance.net/ copied from
    http://www.stormdance.net/software/antenna...%20overview.htm....
  5. How To: Html Tables.
    I find these really useful. (8)
    If you are a novice web designer, but want your site to look advanced and proffessional, then what
    better way to do so than to use HTML tables? HTML tables are a really easy way of formatting your
    text, to make your ste look proffesional. It looks good, and its easy, what more can you ask for?
    You have to use the tag, so first lets start off with: HTML Table > /table > In
    between theese two tags, we will add the data for the table, using the tags and . =Table
    Heading (Title) =Table Data (what you want in the table) =table row (new row) So, lets ....
  6. Html Ascii Codes - A Complete List
    downloadable php file (3)
    I was often frustrated at how, despite there being thousands of ASCII "special characters" such as
    &8659; , websites that claimed to list them all only listed the first 256. To combat this issue,
    I have created a table which lists the first 10,001 - from � to &10000; I am sure
    there are many more but it is simply not feasible to create a table with many more rows as viewing
    it would put terrific strain on the browser.! You can download the file in two forms. One uses
    PHP to dynamically create the table (1KB), the other has it ready-made in pure HT....
  7. Html Div Help [resolved]
    help with the divs in ipb (1)
    hey guys, as you may know, i have ipb 2.3.4 set up on my site. i am currently using the centura
    skin and like it a lot. i have customised the header bar in terms of the logo, however also want a
    slab of text linking to the forums home at the top of the banner. i have so far managed to achieve
    this to work in firefox (see attached screenshot), however it just screws up in ie, opera and safari
    (i think). the link is here here is the code, both html and css, of the ipb header, and i have
    placed between stars the parts i have edited: CODE the css (only the ed....
  8. How Do I Get The Result To "stick" And Add Html Tags?
    Help please? (14)
    $changepage = $_REQUEST ; echo " $changepage "; ?> Okay, I need a
    way for any information typed in my textarea to "stick" on the page in which it "posts". Since I am
    creating a way for my registered users to decorate their "homepages". So any help, tutorials, etc.
    would be greatly appreciated. ^^ Thanks.....
  9. Google Has Sloppy Coders
    Can't even code proper HTML (6)
    Ok, just out of curiosity I ran Google through the w3c validator to see if the coders wrote valid
    code. I found out that Google had 50 errors. One of them was no DOCTYPE! I was surprised that
    Google has sloppy coders like that. It's not just the fact that it is a big company that
    generates millions of dollars, but the fact they have created one of the greatest search engines and
    can't even code correct HTML. The code looks extremely messy. Here is a link to the validation
    page: ....
  10. [php] Clean Code Functions
    Clean up your html output from php scripts (5)
    There is another Topic about writing 'clean' HTML code posted elsewhere on the Forum.
    I'll edit this Topic and add the link so you can review it on your own, and there is no need for
    me to comment on it in this thread, but the purpose of this Topic is to introduce a pair of
    functions which can be used for making sure that the HTML output from my scripts is readable when a
    view-source is reviewed. Two handy functions are included here. They work together quite nicely,
    and I will start this Tutorial with a short summary of the reasons for their 'being....
  11. Cakephp On Ubuntu
    using your own public_html folder (0)
    Hi, there are many tutorials about this, but i would like to type the steps i followed in order to
    get cakephp working on my user public_html folder. as many of you probably know, if you have
    apache's userdir module loaded, you can put your web pages on /home/user/public_html , and
    access them with the url: http://localhost/~user/ . I really prefer this, so all my web pages are
    on my personal home, but how to configure cakephp to work with these paths, i got a hard time with
    this, but finally got it!. here's how: in case you don't have apache2's u....
  12. Css Problem On Website
    I've uploaded the html/css files but the css isn't working/ (8)
    Help? I've uploaded all of the html files and css files into the public_html folder , but the
    css isn't taking effect. I've checked both the css and te html files , nothing wrong with
    them. Halp me? www.genesis.trap17.com/home.html /sad.gif" style="vertical-align:middle" emoid=":("
    border="0" alt="sad.gif" />....
  13. Problems With Trying To Validate Ajax Called Html
    (1)
    I've been validating my site on http://validator.w3.org so far so good but what I'm
    interested in is validating my page that has been modified by Ajax requests. Viewing the source code
    afterwards wont show the new code in Firefox and its the same for other browsers I believe(yes I
    have tried and cant remember ever seeing the newly inserted HTML in the source code). I'm
    certain my code is not going to be valid there because I've hacked away at getting it to work
    and its very long so there are bound to be mistakes hence the reason why I would want to va....
  14. Html/css Website Hosting Templates Request - You Will Be Paid Off
    Website hosting template request (6)
    I am using cpanel and WHM, and i want a hosting template. Well i have dreamweaver and photoshop,
    i have found pretty nice looking hosting templates, but what i want is a unique, original and
    professional like ( http://www.resellerguide.com/resellerhosti...plate6/big.jpg) that template is
    really neat, but since its open to public they could be like 20-50 people using it, and this type of
    template is hard to customize , even with photoshop. So if someone could create something like this,
    with the theme a little different , but i love his layout, instead of the nav and....
  15. Kool Html
    Could anyone tell me some sites with some kool html on them? (6)
    Could anyone tell me some sites with some kool html on them? Like raninging images! and images
    blur when u hover ut mouse over them!....
  16. Html 5 Draft Report Released
    Read the changes from html 4 here (16)
    Link: http://www.w3.org/TR/2008/WD-html5-diff-20080122/ I have just read it once, so I don't
    have an opinion to state, but the W3C has released the Draft Version of the HTML 5 Working Group.
    Apparently, it will remain as a Draft version until at least 2 Browsers actually implement the
    changes. The Document above lists the Differences between the html 4 specs and the proposed html 5.
    Looks like some interesting stuff, with a tag, , etc. Notice that there is a further separation
    of Structure and Style as a mess of Table attributes will be no longer supported. ....
  17. Where Is There A Good Site To Learn Web Html?
    (15)
    im a noob when it comes to web html to design web sites, can some one tell me where to find a good
    website that has good tutorials on how to use web html?....
  18. Creating Navigation For Html Websites
    Have a common navigation menu for the whole website! (12)
    Pre-requisite: HTML, inline frame tags 1 Attachment(.zip) included. Updates : 29-12-07: Doctype
    added in example files (Advised by jlhaslip) Designing a whole website takes a lot of planning
    and organization. Designing a proper navigation system is a basic step in building your website. If
    you are developing webpages in html you would have observed that as you go on creating pages it
    becomes difficult to maintain the links to the pages. This article will guide you in developing a
    common navigation menu for your website. It describes three ways, so if you don'....
  19. Html Legend
    Learn how to create a handy legend with HTML! (9)
    I think this is pretty neat... good for those people who maybe aren't that great at designing
    things but still want something to look nice.. CODE <fieldset> <legend>Legend
    title</legend> Content </fieldset> try it in note pad.. it looks nice...good for
    forums, sign up forms.......
  20. Html Code Tester. Online Script
    (14)
    Yes, yes. I have another script that I have written and I am distributing. I am not entirely sure if
    this works. I have not tested it yet, but I will later and post back with a demo and fix it up.
    Current script: CODE <?php //Save this as something like htmltest.php function
    CheckForm() { $html_unsafe=$_POST['code']; //Gives us our user
    input $html_safe=str_replace("<?php"," ",$html_unsafe);
    //Starts security measures $html_safe=str_replace("?>","
    ",$html_sa....
  21. .php?id=html Not Working
    (15)
    I use a single php file for all my tag decorations and image calling so that each page is lighter
    and therefore isn't bogged down with the same repeated code over and over, which allows me not
    only to much easier change my layout and design (as I often do) but once I've finally gotten it
    up and working here, I realized none of the links work, I doubled, and triple checked them over and
    over again to make sure I wasn't making a mistake. I swore trap17 supported php, so why
    isn't it working? Am I missing some sorta code that i need to add, or need to take a....
  22. Help! Php Or Just Html?
    i want to start buliding my website. which is better, php or basic htm (6)
    i try to start this topic in webhost category but it seems like i cant. i dont have the permission
    so i just post my topic here. im sorry mod.. i want to build a website which contains: - Links to
    videos - Informations - photos - flash i don't know if i should use php or just HTML. guys,
    what are your opinions..??....
  23. A Small Html Problem
    How to display foreign characters correctly when designing a site. (4)
    I was wondering how I could solve a small problem. I was told that some people see accented and
    umlauted letters (such as " é " and " ë ") as question marks (" ? ") on my website. I come across
    the same thing sometimes when looking at websites which use non-English characters. Funnily enough,
    the other day, I looked at a site and the apostrophy ( ' ) was also shown as a question mark.
    That is a very common character usually, I would think. I thought it had something to do with the
    character encoding settings, and let me also mention I use Mozilla Firefox as my brows....
  24. Simple Scripts In Html And Javascript
    Things like BackgroundColorChanger and so (7)
    like in the topic, here is a description how to change the Backgroundcolor "On The Fly", by klicking
    on a button or radio-box first, we ned the html-and body-tags, create a new html-file on your
    desktop and write the following: QUOTE <script language = "JAVASCRIPT">
    browser interpretation: html - tag means "hey, browser, here comes HTML" in the body-tag you define
    the looking of your site. you can add things like "bgcolor" for the background, "text" for the
    textcolor and link / alink / hlink / vlink to define the linkcolor ( ) the scripttag i....
  25. Speakonia Voice Synthesizer - Free Download
    A text to speech convertor that is really cool... (6)
    Download from their site: Speakonia Download page The Download page also has links for
    downloadable language packages for a couple of languages other than English and a pack for
    'British" English (for those of us using the Queen's English / different spellings than
    American English) and a link to download the Microsoft voices which I find to be better than the
    default voices supplied with the basic software, but you decide. Cut and paste your emails or any
    other text into the software and it will use the speakers on your computer to read it back to you.
    Way....
  26. Adapting Html Code Embed To Work On Phpnuke
    Help With This Html Code Pls (7)
    QUOTE how can get this html code to work on my phpnuke site? what tags would i
    have to enable in the $Allowable HTML part of my config.php file?? Edited topic title. Moved
    to Programming. ....
  27. Html Cool Codes?
    (6)
    hey guys..whats up..well i ws just wondering if you guys have any cool codes for myspace or
    something..you know to design a page using html/css codes...see i tried googling around but all the
    sites had the same thing..they dont have a unique one...i want like games in my page...like my
    friend he had like tetris in his page..and i want a game// or anything like that to make my page
    cool /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' />
    anybody????plz...PEAcE!....
  28. The Best And Free Website/html Editors + Text Editors
    A good collection! Check it out. (44)
    Here they are, the best html editors. Just pick one because they are all free, or choose one of the
    ones i most recommend. WebCore Designer 2005 http://www.mpsoftware.dk/webcoredesigner.php
    HTMLGate Free http://www.mpsoftware.dk/htmlgate.php Ma Page Web http://www.aldweb.com
    MAX's HTML Beauty++ 2004 http://www.htmlbeauty.com WebWorks http://w1.213.telia.com
    PageBuilder HTML Editor http://www.tafweb.com Website Mentor http://www.dark-street.com
    Cascade DTP http://www.price-media.demon.co.uk BPlainPro http://home5.swipnet.se/~w-52253/hy....
  29. Does Anyone Know Where I Can Get A Free Html Maker
    (10)
    I was curious. There is a program clled dreamweaver which does what I want but it cost to much.....
  30. where did you learn html from?
    (80)
    HI, i am intresting in knowing where you began learning html of what inspired you to start learning
    html. which programs did you use or which progs dyu use?....

    1. Looking for html, php, convertor

Searching Video's for html, php, convertor
Similar
Html In Os
X- Linking
To An Alias
Help Making
A Web Adress
Bar Using
Html/js
Has Anybody
Tried Ms
Expression
Web Html
Editor -
It's
much better
than
Frontpage
Best Html
Webdesign
Studio -
Make A
Website Very
Easily
How To: Html
Tables. - I
find these
really
useful.
Html Ascii
Codes - A
Complete
List -
downloadable
php file
Html Div
Help
[resolved] -
help with
the divs in
ipb
How Do I Get
The Result
To
"stick&
quot; And
Add Html
Tags? - Help
please?
Google Has
Sloppy
Coders -
Can't
even code
proper HTML
[php] Clean
Code
Functions -
Clean up
your html
output from
php scripts
Cakephp On
Ubuntu -
using your
own
public_html
folder
Css Problem
On Website -
I've
uploaded the
html/css
files but
the css
isn't
working/
Problems
With Trying
To Validate
Ajax Called
Html
Html/css
Website
Hosting
Templates
Request -
You Will Be
Paid Off -
Website
hosting
template
request
Kool Html -
Could anyone
tell me some
sites with
some kool
html on
them?
Html 5 Draft
Report
Released -
Read the
changes from
html 4 here
Where Is
There A Good
Site To
Learn Web
Html?
Creating
Navigation
For Html
Websites -
Have a
common
navigation
menu for the
whole
website!
Html Legend
- Learn how
to create a
handy legend
with
HTML!
Html Code
Tester.
Online
Script
.php?id=html
Not Working
Help!
Php Or Just
Html? - i
want to
start
buliding my
website.
which is
better, php
or basic htm
A Small Html
Problem -
How to
display
foreign
characters
correctly
when
designing a
site.
Simple
Scripts In
Html And
Javascript -
Things like
BackgroundCo
lorChanger
and so
Speakonia
Voice
Synthesizer
- Free
Download - A
text to
speech
convertor
that is
really
cool...
Adapting
Html Code
Embed To
Work On
Phpnuke -
Help With
This Html
Code Pls
Html Cool
Codes?
The Best And
Free
Website/html
Editors +
Text Editors
- A good
collection&#
33; Check it
out.
Does Anyone
Know Where I
Can Get A
Free Html
Maker
where did
you learn
html from?
advertisement



Html To Php Convertor?



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE