26068Extending PHPhttp://www.webtechniques.com/archives/2001/01/junk/As my grandfather always says, "If you want something done right, do it yourself." However, these days you often have to rely on third-party tools to help you get your job done. To serve even a simple, static HTML Web page you need to rely on your Web server, which in turn relies on your operating system, and so on. While you can't create all these programs yourself, most of the ones that you rely on?your Web server, for example?provide an API to help you extend and add functionality to these programs, so if they don't meet your needs you can always modify them.
PHP?or more properly the PHP Hypertext Preprocessor?lets you easily create dynamic Web sites by embedding code into the Web page (HTML) itself. This open-source software is very popular on the Web where open-source products like Apache and Perl predominate. While PHP offers considerable power as a scripting language, its true power lies in the fact that if it doesn't offer what you need, you can easily extend it with either C or C++. To extend PHP 4, you need to understand the PHP API (more specifically the Zend API, since PHP 4 is powered by the Zend Engine).PHP > Tips and Tutorials > DevelopmentOct 15, 2006
Apache and PHP installation and configuration covering: How to download and install Apache 2.x and PHP 5; How to start Apache server; How to publish HTML documents; How to set PATH variable for PHP; How to create php.ini; How to configure Apache to use PHP as CGI; etc.
There?s a single line you can add to your web host?s control panel that will automatically archive your content. LISTEN CLOSELY AND YOU?LL HEAR THE OCEAN, Ever run commands in DOS? You?ve used a shell. A ?shell? in the computer world is a place where you enter commands and run files by name rather than clicking around different windows.
The built-in COM functionality of PHP4 is quite attractive for some of us programming in the win32 environment. So far, there is not much documentation on the subject. This short article will explain how to use COM in real PHP4 programming with three examples using MS office 2000 Word and Excel programs and the Adobe Distiller program. The COM technology has been developed by Microsoft for several years, under different names. As far as this article is concerned, the words OLE, OLE Automation, ActiveX and COM are all the same: They designate an encapsulated piece of code (the Object) that performs some functions for a windows application. PHP4 COM connects to the object (Instantiate the object) and uses its methods and properties.
This tutorial is designed for an advanced PHP programmer. It assumes you know how to handle cookies. (See Feedback with a Cookie to learn about using cookies.) You should also know how to pass data from one page to another using the POST and GET methods
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.