Re: [PHP-DEV] PHP Embedded

2006-03-16 Thread Mark Evans
Hi All I am back again :-) Here one can't say much without any details (_relevant_ code and backtrace) The c++ guys are still having some problems and they have given me some more info.. The app is init'd using the following __declspec(dllexport) void InitPHPEngine(const CString

Re: [PHP-DEV] PHP Embedded

2006-03-16 Thread Michael Vergoz
- Original Message - From: Mark Evans [EMAIL PROTECTED] To: internals@lists.php.net Sent: Thursday, March 16, 2006 1:34 PM Subject: Re: [PHP-DEV] PHP Embedded Hi All I am back again :-) Here one can't say much without any details (_relevant_ code and backtrace) The c++ guys are still having

Re: [PHP-DEV] PHP Embedded

2006-03-16 Thread Mark Evans
Michael Vergoz wrote: There is other useful possiblity but actualy you'll need to look my comments at http://www.badcode.be/~descript/PHP/php_embed/php_embed.h I don't have many time to make more documentation. And you must to know that this modification isn't official so i don't have

Re: [PHP-DEV] PHP Embedded

2006-03-15 Thread Mark Evans
HI Michael I have made an unaccepted php_embed extension available at http://www.badcode.be/~descript/PHP/php_embed/ Take a look at the example : http://www.badcode.be/~descript/PHP/php_embed/examples/pembed_new.c I use this part of code on my software with C++ If you have questions ...

[PHP-DEV] PHP Embedded

2006-03-14 Thread Marco
Hi All The company I am doing some work for is currently using the php_embed to access the php engine from within a windows based c++ application. I have been asked a question that I dont know the answer to and all my googling attempts have failed. Is there a way from within the embedded system

Re: [PHP-DEV] PHP Embedded

2006-03-14 Thread Johannes Schlueter
Hi Mark, On Tuesday 14 March 2006 20:48, Marco wrote: Is there a way from within the embedded system to destroy all created variables so that the environment is the same as when it was started or do we need to shutdown the embedded engine and start it up again? PHP was designed as an language

Re: [PHP-DEV] PHP Embedded

2006-03-14 Thread Mark Evans
Is this the right book as it has a publish date of March 2005. Hmm, it seems that amazon.co.uk are confused :-) Searching amazon.com gives me Extending and Embedding PHP (Paperback) by Sara Golemon * Paperback: 448 pages * Publisher: Sams (May 24, 2006) * Language: English * ISBN: 067232704X

Re: [PHP-DEV] PHP Embedded

2006-03-14 Thread Andrey Hristov
Mark Evans wrote: Is this the right book as it has a publish date of March 2005. Hmm, it seems that amazon.co.uk are confused :-) Searching amazon.com gives me Extending and Embedding PHP (Paperback) by Sara Golemon * Paperback: 448 pages * Publisher: Sams (May 24, 2006) * Language:

Re: [PHP-DEV] PHP Embedded

2006-03-14 Thread Sara Golemon
Is this the right book as it has a publish date of March 2005. Extending and Embedding PHP (Paperback) by Sara Golemon * Paperback: 448 pages * Publisher: Sams (May 24, 2006) * Language: English * ISBN: 067232704X it's pretty strange. at amazon.com the book is listed with

Re: [PHP-DEV] PHP Embedded

2006-03-14 Thread George Schlossnagle
Sara Golemon wrote: Originally George and Wez were going to be writing this book (and may yet do their own version -- that's up to them). Due to innocuous reasons that I can probably talk about but won't to be on the safe side, I wound up taking over the project (and the ISBN number along

Re: [PHP-DEV] PHP Embedded

2006-03-14 Thread Wez Furlong
I heard something similar; lazy bums the lot of 'em. --Wez. On 3/14/06, George Schlossnagle [EMAIL PROTECTED] wrote: Sara Golemon wrote: Originally George and Wez were going to be writing this book (and may yet do their own version -- that's up to them). Due to innocuous reasons that I

Re: [PHP-DEV] PHP Embedded

2006-03-14 Thread Rasmus Lerdorf
Slackers that don't write their own books are the worst! Wez Furlong wrote: I heard something similar; lazy bums the lot of 'em. --Wez. On 3/14/06, George Schlossnagle [EMAIL PROTECTED] wrote: Sara Golemon wrote: Originally George and Wez were going to be writing this book (and may yet do

Re: [PHP-DEV] PHP Embedded

2006-03-14 Thread Michael Vergoz
- Original Message - From: Marco [EMAIL PROTECTED] To: internals@lists.php.net Sent: Tuesday, March 14, 2006 8:48 PM Subject: [PHP-DEV] PHP Embedded Hi All The company I am doing some work for is currently using the php_embed to access the php engine from within a windows based c

Re: [PHP-DEV] PHP Embedded

2006-03-14 Thread Mark Evans
Hi Sara The short answer is: call php_request_shutdown(NULL); to kill the active interpreter (one is started implicitly by PHP_EMBED_START_BLOCK(), then php_request_startup(TSRMLS_C); to initialize a new one (the last one active at PHP_EMBED_END_BLOCK() will be impliticly shutdown). Great

Re: [PHP-DEV] PHP Embedded

2006-03-14 Thread Mark Evans
Slackers that don't write their own books are the worst! LOL, I couldnt agree more! :-D Regards Mark -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php