Hi,
While testing a few things on the OCI8 extension I got a very unusual
error from a very simple script. (Look below)
I am running an VS6 compiled CVS version via CLI on Win2k.
here's the script:
?php
$sql = select sysdate from dual;
$conn = OCILogon('schema', 'password',
The following script fails with the todays snapshot and with PHP
4.3.0-pre1:
?php
if (!isset($PHP_AUTH_USER)) {
header(WWW-Authenticate: Basic realm=\Foobar\);
header(HTTP/1.0 401 Unauthorized);
echo Access denied.;
exit;
} else {
echo Hello;
}
?
I looks like
Hi,
now I made a Patch that is hopefully ok for you ;^)
I introduced the following functions:
curl_multi_init();
curl_multi_add ($multi,$ch1);
curl_multi_add ($multi,$ch2);
curl_multi_exec($multi);
curl_get_content($ch1);
thx,
Boris
?
// creates a multi session
$multi = curl_multi_init();
Seems like php-config misses something.. :)
php4/pear/scripts/php-config.in should propably be using
PHP_LIBS and PHP_LDFLAGS. Now it uses EXTRA_LIBS only..
And for some reason PHP_LIBS is empty.
Sounds like a pure synchronization issue to me.
- Sascha
--
PHP
songyi
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Andrew,
I was checking some test result output, and while doing that I found
that ftok is only defined while this preprocessor macro evalutates to
true:
#if HAVE_SYSVSEM || HAVE_SYSVSHM || HAVE_SHMOP
Can you tell me why this is needed?
It is in both in:
ext/standard/basic_functions.c
Hello,
somehow the test below fails for some people, but I couldn't reproduce
it. Anybody else?
Derick
FAIL xml_parse_into_struct/umlauts in tags [ext/xml/tests/007.phpt]
EXPECTED OUTPUT
string(3) ÄÖÜ
array(1) {
[ÜÄß]=
string(3) Üäß
}
string(3) ÄÖÜ
array(1) {
[0]=
array(5) {
Yes I can reproduce this in 4.3.0pre1 and in CVS from
yesterday. Exact same output in ext/xml/tests/007.log as below
in both cases.
Mike
-Original Message-
From: Derick Rethans [mailto:derick;php.net]
Sent: Saturday, October 19, 2002 1:03 PM
To: PHP Developers Mailing List
On Sat, 19 Oct 2002, Mike Robinson wrote:
Yes I can reproduce this in 4.3.0pre1 and in CVS from
yesterday. Exact same output in ext/xml/tests/007.log as below
in both cases.
Do you also know _why_ it fails and how we can fix either the test or
the code?
Derick
--
Saturday, October 19, 2002, 7:35:05 PM, Derick Rethans wrote:
On Sat, 19 Oct 2002, Mike Robinson wrote:
Yes I can reproduce this in 4.3.0pre1 and in CVS from
yesterday. Exact same output in ext/xml/tests/007.log as below
in both cases.
Do you also know _why_ it fails and how we can fix
You probably have an external auth module operating on the same request.
On Sat, 19 Oct 2002, Martin Jansen wrote:
The following script fails with the todays snapshot and with PHP
4.3.0-pre1:
?php
if (!isset($PHP_AUTH_USER)) {
header(WWW-Authenticate: Basic realm=\Foobar\);
I don't think that's it, since it's [supposed to be] on be default.
Setting the option in the test changes nothing anyways. The test is new
since 4.2.3, so i couldn't go back and see when it started failing.
(Its interesting to note that in 4.2.3 though, _all_ my xml tests
failed).
Unfortunately,
Sorry, that test _is_ in 4.2.3, and it failed there as well
with the same problem, it just didn't output anything during
make test.
-Original Message-
From: Mike Robinson [mailto:mike;mgrobinson.com]
Sent: Saturday, October 19, 2002 2:40 PM
To: 'Kjartan Mannes'; 'PHP Developers
On Sat, 19 Oct 2002, Andrew Sitnikov wrote:
Hello Derick,
DR I was checking some test result output, and while doing that I found
DR that ftok is only defined while this preprocessor macro evalutates to
DR true:
DR #if HAVE_SYSVSEM || HAVE_SYSVSHM || HAVE_SHMOP
DR Can you tell me why
Mike Robinson [EMAIL PROTECTED] wrote:
Sorry, that test _is_ in 4.2.3, and it failed there as well
with the same problem, it just didn't output anything during
make test.
Are your locale settings ok?
% locale
LANG=de_DE.ISO-8859-15
LC_CTYPE=de_DE
LC_NUMERIC=de_DE.ISO-8859-15
Michael Mauch writes:
Are your locale settings ok?
Yeah, they're fine, for my locale.
But I'm not in Germany, though I'm told the beer there
is awesome. :)
Mike
% locale
LANG=de_DE.ISO-8859-15
LC_CTYPE=de_DE
LC_NUMERIC=de_DE.ISO-8859-15
LC_TIME=de_DE.ISO-8859-15
LC_COLLATE=C
I can no longer compile CVS version. See log:
[...]
Thank you for using PHP.
gcc -Iext/zlib/ -I/usr/src/php4-HEAD/ext/zlib/ -DPHP_ATOM_INC
-I/usr/src [...] -DZTS -c /usr/src/php4-HEAD/ext/zlib/zlib.c -o
ext/zlib/zlib.o echo ext/zlib/zlib.lo
In file included from
I fixed the compile warning. Next time please mention it's in engine 2.
Thanks,
Andi
At 10:45 PM 10/19/2002 +0200, Marcus Boerger wrote:
I can no longer compile CVS version. See log:
[...]
Thank you for using PHP.
gcc -Iext/zlib/ -I/usr/src/php4-HEAD/ext/zlib/ -DPHP_ATOM_INC
-I/usr/src
Ah, missed to inform about engine 2, sorry.
thanks! the first files are compiling...
but unfortuanetly i'm leaving for a drink now :-)
marcus
At 22:58 19.10.2002, Andi Gutmans wrote:
I fixed the compile warning. Next time please mention it's in engine 2.
Thanks,
Andi
At 10:45 PM 10/19/2002
On Sat, 2002-10-19 at 15:42, Boris Bukowski wrote:
Hi,
now I made a Patch that is hopefully ok for you ;^)
I introduced the following functions:
curl_multi_init();
curl_multi_add ($multi,$ch1);
curl_multi_add ($multi,$ch2);
curl_multi_exec($multi);
curl_get_content($ch1);
Why
Am Saturday 19 October 2002 23:59 schrieb Sterling Hughes:
On Sat, 2002-10-19 at 15:42, Boris Bukowski wrote:
Hi,
now I made a Patch that is hopefully ok for you ;^)
I introduced the following functions:
curl_multi_init();
curl_multi_add ($multi,$ch1);
curl_multi_add
This may be a really dumb question, but why isn't there a
PHPUnit_Assert::assertNotEquals() method? Equality is a complex enough
operation, I'd hate to have to do this in my PHPUnit tests:
function equals($a_Actual, $a_Expected)
{
$equivalent = false;
// All the inverse logic of
On Sun, 2002-10-20 at 01:23, Boris Bukowski wrote:
Am Saturday 19 October 2002 23:59 schrieb Sterling Hughes:
On Sat, 2002-10-19 at 15:42, Boris Bukowski wrote:
Hi,
now I made a Patch that is hopefully ok for you ;^)
I introduced the following functions:
curl_multi_init();
ok, i can see the use in that, however, i think it can be more useful if
you give the user the option of when to use the select() call - that's
the whole point of the cURL multi interface, and while it may be useful
in this case, the interface was designed to be much more powerful, and
this
24 matches
Mail list logo