|
|
|
|
![]() ![]() |
Feb 11 2006, 11:04 PM
Post
#1
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 258 Joined: 13-November 05 Member No.: 14,234 |
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? |
|
|
|
Feb 12 2006, 03:22 AM
Post
#2
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 3,971 Joined: 24-July 05 From: In Trouble Again... still? Member No.: 9,787 ![]() |
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.
|
|
|
|
Feb 12 2006, 10:19 AM
Post
#3
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 524 Joined: 6-March 05 Member No.: 4,187 |
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.
|
|
|
|
Feb 12 2006, 10:41 AM
Post
#4
|
|
|
Member [Level 2] ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 82 Joined: 11-February 06 Member No.: 18,526 |
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. |
|
|
|
Feb 12 2006, 11:20 AM
Post
#5
|
|
|
Trap Double Mocha Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 2,228 Joined: 5-November 05 From: That one place over there... Member No.: 13,830 |
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/ |
|
|
|
Feb 12 2006, 04:46 PM
Post
#6
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 773 Joined: 4-November 04 Member No.: 2,118 |
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. |
|
|
|
Feb 12 2006, 05:01 PM
Post
#7
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 702 Joined: 17-February 05 Member No.: 3,817 |
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. |
|
|
|
Feb 13 2006, 05:26 AM
Post
#8
|
|
|
Member [Level 2] ![]() Group: [MODERATOR] Posts: 80 Joined: 25-March 05 Member No.: 4,879 |
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. vujsa |
|
|
|
Apr 25 2006, 09:09 AM
Post
#9
|
|
|
The Ethical Hacker ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 1,151 Joined: 27-May 05 From: Portugal (Europe) Member No.: 7,566 |
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. This post has been edited by Lyon2: Apr 25 2006, 09:24 AM |