[PHP] Re: Running PHP from inside another application!

2005-02-17 Thread Mikael Andersson
Thanx!

I found a component for Delphi that solved my problem through SAPI.
It's called PHP4Delphi.

/ Mike

"Jason Barnett" <[EMAIL PROTECTED]> skrev i meddelandet 
news:[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Running PHP from inside another application!

2005-02-15 Thread Jason Barnett
Mikael Andersson wrote:
Hi,
I've a case where I have to run a lots of php-scrips, in a short time, from
inside a delphi-application. Every script connects to the same databas.
Today I use CreateProcess to start php.exe and then I'm using pipes to get
the php-result. I'm doing this for each php-script I want to run, and it's
timeexpensive because every script has to establish a database-connection.
I'm new in the PHP-world, but I'm sure that there is a better way to solve
this case.
There is.  :)  From what you say I think the Embed SAPI will be a good
way for you to go - it allows you to embed a PHP parser within another
application.  *NOTE* This is not for the faint of heart!
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://www.php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins


signature.asc
Description: OpenPGP digital signature