Connecting Tech Pros Worldwide Forums | Help | Site Map

Calling the php parser from a Win32 program

Luca Arena
Guest
 
Posts: n/a
#1: Jul 17 '05
Hi, I would like to know if it is possible to call the php parser from
a Win32 program (e.g. a VB or C++ program), WITHOUT calling the
commandline php.exe utility. I mean, is there any "php_parse"
function, exported by the php5ts.dll, which I can declare in my Win
program and then call to parse a php script?

Thanks in advance
Luca



R. Rajesh Jeba Anbiah
Guest
 
Posts: n/a
#2: Jul 17 '05

re: Calling the php parser from a Win32 program


Luca Arena wrote:[color=blue]
> Hi, I would like to know if it is possible to call the php parser from
> a Win32 program (e.g. a VB or C++ program), WITHOUT calling the
> commandline php.exe utility. I mean, is there any "php_parse"
> function, exported by the php5ts.dll, which I can declare in my Win
> program and then call to parse a php script?[/color]

PHP4Applications, a sub-project of PHP4Delphi provides a DLL file
(intended to work with VB, VC, etc) that you can use. But, I couldn't
get it work with VB 6; it always get crashed. If you could successfully
get this work, kindly let me know.
1. PHP4Delphi & PHP4Applications
<http://members.chello.be/ws36637/php4delphi.html>
2. Via CVS
<http://cvs.sourceforge.net/viewcvs.py/psvlib/php4Delphi/php4Applications/>
3. Pascal Demo
<http://cvs.sourceforge.net/viewcvs.py/psvlib/php4Delphi/Demos/php4App/Unit1.pas?rev=6.0&view=markup>
Check this file for supported API functions.

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com

Closed Thread