Question:
How can I do PHP code with Kompozer?
Polarbear4646
2009-12-29 13:27:28 UTC
I've seen in kompozer where you can press insert PHP code and where you can get to the html code but I'm not sure how to actually do it so it works.
Six answers:
2009-12-29 15:00:00 UTC
Just write the PHP code and save it with a *.php file extension. If you want it to run on your computer locally...



PHP:



* Run PHP on your own computer: The easiest way to do this is to install a complete package like XAMPP. This contains the Apache Web server, along with PHP and the MySQL database engine, in one easy-to-install package. XAMPP is available for Windows, Mac OS X, and Linux. (A popular alternative on Windows is WampServer.)

* Run your PHP scripts on your Web host: If you already have a Web hosting account that supports PHP then you can upload your PHP scripts via FTP and run them on the Web server. The advantage of this approach is that you don't have to install anything; the disadvantage is that it's slower to write and test your scripts.



Copy and paste the script code listed above into a new document in your text editor, then save the file as hello.php in the document root folder — that is, the top level of your website — on your hard drive. If you're not sure where your document root folder is then consult your Web server manual. Common locations include:



* XAMPP on Windows: C:/Program Files/xampp/htdocs/

* XAMPP on Linux: /opt/lampp/htdocs/

* XAMPP on Mac OS X: /Applications/XAMPP/htdocs/



If you want to run the script on your Web hosting account rather than your own computer then you'll need to upload the script using FTP instead.



Free online PHP tester: http://forumferney.free.fr/stester.html



PHP Tutorial - Databases in PHP, An Introduction: http://www.htmlgoodies.com/beyond/php/article.php/3511346

Tutorial: Installing Apache and PHP Under Win32: http://www.htmlgoodies.com/beyond/php/article.php/3473471



PHP Manual - http://www.php.net/manual/en/

A simple tutorial - http://us.php.net/tut.php

Test scripts: http://www.karakas-online.de/EN-Book/test-scripts.html

Simple Test for PHP: http://www.lastcraft.com/simple_test.php





Ron
2016-04-09 05:44:47 UTC
For the best answers, search on this site https://shorturl.im/aykf7



Kompozer is an html editor that allows you to visually build out html elements of a web page. (without having to know any html) PHP is a dynamic scripting language that you use in conjunction with HTML to build a web page. You dont really "see" php on a page, but the result of php processing. PHP can be used to process forms, "talk" to a database to pull data to display on a web page, send data to other servers to do things like request and send data. You still need to use HTML with PHP to format and display content in a web browser.
cottom
2016-12-11 13:39:06 UTC
Tutorial Kompozer
2014-08-01 06:50:55 UTC
Well

If you are looking for a free download of Kompozer you can check here http://j.mp/1k3Vii8

It's a must have program.

Hope it helps.
2016-09-20 12:57:59 UTC
This sounds interesting
?
2016-09-12 20:08:30 UTC
I don't believe that is correct


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...