Use php + iist1 on windows. Download php4.0.62 from www.php.net. Decompress php-4.0.6-win32.zip to c: php 3. Configure php3 on webserver. Copy the following four files in the dlls directory to expat. dllsablot. dllx in windowssystem (32) and use php + xslt on windows.
1. Download php 4.0.6 to http://www.php.net
2. Decompress php-4.0.6-win32.zip to c: \ php.
3. Configure php on web server
3. Copy the following four files in the dlls directory to windows \ system (32 ).
Expat. dll
Sablot. dll
Xmlparser. dll
Xmltok. dll
4. Modify php. ini
Modify extension_dir to point to the correct extension directory
Extension_dir = c:/php/extensions
Find the following line
; Extension = php_sablot.dll
To:
Extension = php_sablot.dll
If the cgi mode is configured in php, you do not need to restart the web server. Otherwise, you may need to restart the web server.
5. Let's test it with an example.
Test. xml
======================================
This is the first article.
Test. xsl
======================================
Test. php
======================================
$ Parser = effect_create ();
Effect_run ($ parser, 'Test. xsl ', 'Test. XML ');
PRint effect_fetch_result ($ parser );
Effect_free ($ parser );
?>
Finally, the parser does not support GB2312. :(