Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Configuration of user-defined dll with PHP
January 3, 2010, 8:40 am
rate this thread
I want to use user defined dll in PHP.
I am create dll in VC++. I successfully used in Visual Basic 6.0. Now
i want to use that dll in PHP. I am using XAMPP (Basis Package)
version 1.7.2. I performed following steps.
1: copy that example1.dll in C:\xampp\php\ext
2: Edit php.ini and write extension=example1.dll
3: Restart the XAMPP service. (While restarting i got following
waring:- PHP Startup: Invalid library (maybe not a PHP library)
How can i resolve this problem ?
Please guide me.
Thanks in advance
Re: Configuration of user-defined dll with PHP
Getting PHP extensions to work is a bit more involved than just
trying to link against arbitrary DLLs.
Try searching the Web for help on writing PHP extensions:
<? $x='<? $x=%c%s%c;printf($x,39,$x,39);?>';printf($x,39,$x,39);?>