Re: [PHP-DEV] how to get document_root in extension

2005-03-08 Thread Wez Furlong
If apache is the only platform you're targeting, you can get at the apache request structure like this: request_rec *r; r = ((request_rec *) SG(server_context)); If you're running under a different web server, you'll most likely blow it up shortly after this point. If you want a degree of platf

[PHP-DEV] how to get document_root in extension

2005-03-08 Thread Daniel Simser
How does one retrieve the current "document_root" and/or other apache specific information from within an extension. I'm just starting to write an extension as a learning process now, but I have an extension that I would like to write, but need to learn first. Thank you for any help, Daniel --

Re: [PHP-DEV] [Fwd: note 50716 added to function.mssql-query]

2005-03-08 Thread Antony Dovgal
On Tue, 08 Mar 2005 14:32:18 +0100 Mehdi Achour <[EMAIL PROTECTED]> wrote: > Wich versions were broken, I need a confirmation to add a warning in > the documentation. > > Thanks a lot! afaik 4.3.10 & 5.0.3 were broken, but I'm not sure, you better ask Frank (CC'ed him), he should know it for sur

Re: [PHP-DEV] [Fwd: note 50716 added to function.mssql-query]

2005-03-08 Thread Mehdi Achour
Wich versions were broken, I need a confirmation to add a warning in the documentation. Thanks a lot! didou Antony Dovgal wrote: On Tue, 08 Mar 2005 10:03:50 +0100 Mehdi Achour <[EMAIL PROTECTED]> wrote: Is this true ? No, it's fixed in CVS. -- PHP Internals - PHP Runtime Development M

Re: [PHP-DEV] Problem with fix for bug #31672

2005-03-08 Thread Jani Taskinen
On Tue, 8 Mar 2005, Zeev Suraski wrote: At 14:28 08/03/2005, Marcus Boerger wrote: Hello Zeev, Tuesday, March 8, 2005, 12:48:00 PM, you wrote: > At 13:34 08/03/2005, Marcus Boerger wrote: >> Thus i suggesst we reintroduce the patch and live with the fact >>that we need to write echo "<"."/script>"

Re: [PHP-DEV] Problem with fix for bug #31672

2005-03-08 Thread Zeev Suraski
At 14:28 08/03/2005, Marcus Boerger wrote: Hello Zeev, Tuesday, March 8, 2005, 12:48:00 PM, you wrote: > At 13:34 08/03/2005, Marcus Boerger wrote: >> Thus i suggesst we reintroduce the patch and live with the fact >>that we need to write echo "<"."/script>" instead of echo "". > Ouch, no way! I

Re: [PHP-DEV] Problem with fix for bug #31672

2005-03-08 Thread Marcus Boerger
Hello Zeev, Tuesday, March 8, 2005, 12:48:00 PM, you wrote: > At 13:34 08/03/2005, Marcus Boerger wrote: >> Thus i suggesst we reintroduce the patch and live with the fact >>that we need to write echo "<"."/script>" instead of echo "". > Ouch, no way! I value my life, I don't feel like being l

Re: [PHP-DEV] [Fwd: note 50716 added to function.mssql-query]

2005-03-08 Thread Antony Dovgal
On Tue, 08 Mar 2005 10:03:50 +0100 Mehdi Achour <[EMAIL PROTECTED]> wrote: > Is this true ? No, it's fixed in CVS. -- Wbr, Antony Dovgal aka tony2001 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Problem with fix for bug #31672

2005-03-08 Thread Marcus Boerger
Hello Zeev, Tuesday, March 8, 2005, 12:48:00 PM, you wrote: >> Thus i suggesst we reintroduce the patch and live with the fact >>that we need to write echo "<"."/script>" instead of echo "". > Ouch, no way! I value my life, I don't feel like being lynched by a mob of > angry users :) Ok then

Re: [PHP-DEV] Problem with fix for bug #31672

2005-03-08 Thread Stanislav Malyshev
>>> Thus i suggesst we reintroduce the patch and live with the fact >>>that we need to write echo "<"."/script>" instead of echo "". If that was said some 5 years ago, it would be somewhat reasonable (though I would probably have some doubts even then, but it would be at least arguable). But now

Re: [PHP-DEV] Problem with fix for bug #31672

2005-03-08 Thread Zeev Suraski
At 13:34 08/03/2005, Marcus Boerger wrote: Hello Zeev, Tuesday, March 8, 2005, 7:27:31 AM, you wrote: > At 20:38 07/03/2005, Marcus Boerger wrote: >>Hello Zeev, >> >> i do not think this is a good excuse for ignoring xml compliance. > I don't exactly follow what you're saying - can you elaborate?

Re: [PHP-DEV] Problem with fix for bug #31672

2005-03-08 Thread Marcus Boerger
Hello Zeev, Tuesday, March 8, 2005, 7:27:31 AM, you wrote: > At 20:38 07/03/2005, Marcus Boerger wrote: >>Hello Zeev, >> >> i do not think this is a good excuse for ignoring xml compliance. > I don't exactly follow what you're saying - can you elaborate? I do not see any reason to make php a p

[PHP-DEV] [Fwd: note 50716 added to function.mssql-query]

2005-03-08 Thread Mehdi Achour
Is this true ? Mehdi --- Begin Message --- Warning ! with php 4.3.10, when you use mssql_query to insert or update data, the returned result is false but the query is really executed. Solution -> Download the ms sql extension patched from: http://sourceforge.net/project/showfiles.php?group_id=754