Sebastian Bergmann | 1 May 2002 08:08
Picon
Gravatar

Re: [PATCH] to reflect installation values unknown at build time on Win32

"Preston L. Bannister" wrote:
> There are values known at compile time on Unix that are *not* known
> at compile time on Win32.  Rather than compile in something misleading
> (and very likely wrong), better to *not* supply a value.

  I'd like to rename the file to config.w32.h.in and let MSVC rename
  config.w32.h.in to config.w32.h, if config.w32.h does not yet exist.

  This way, people can configure their paths for instance.

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/                 http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

--

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Alexander Skwar | 1 May 2002 10:42
X-Face

Re: Re: mirrors.inc/countries.inc - Where is it?

»Jim Winstead« sagte am 2002-04-30 um 22:12:21 -0000 :
> they're generated files, not under cvs control. they just define some
> arrays -- you can view the files directly at

Thanks.

> questions about the php.net sites should generally be directed to the
> php-mirrors list.

Ah, okay.

Alexander Skwar
-- 
How to quote:	http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:	http://www.iso-top.de      |    Jabber: askwar <at> a-message.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
                       Uptime: 7 days 3 hours 42 minutes

--

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Stig Venaas | 1 May 2002 11:02
Picon

resource problem, advice wanted

This is a bit involved, I'll try to explain. I'm trying to fix a
problem in the LDAP extension, but not sure how best to do it.

The issue is that code like

$e = ldap_first_entry($ds, ldap_read($ds,$dn,"objectClass=*"));
$a = ldap_get_attributes($ds, $e);

crashes.

What happens is that ldap_read() returns a resource. After
ldap_first_entry() is executed, the resource returned by
ldap_read() is freed because it is not referred any more,
at least it looks that way to the Zend. The destructor for
that resource will free the result obtained by ldap_read().
The problem is that the resource returned by ldap_first_entry()
is simply a pointer inside the data obtained with ldap_read(),
but this has now been freed, so when ldap_get_attributes()
tries to access it, it's already freed. The solution would be
to make sure that the result resource created by ldap_read()
is not freed as long as there exists entry resources created
by ldap_first_entry() etc. Or that the result destructor for
the resource created by ldap_read() does not free it, and
have the entry destructor (created by ldap_first_entry() etc)
free the memory if it is the last entry resource for that
result resource. That would require some additional data
structures and refcounting though. Maybe a Zend variable could
be used and let Zend do the ref counting, perhaps I could
increase the refcount for the result resource each time I
create an entry resource, and decrease it again in the
(Continue reading)

Jacky Kenna | 1 May 2002 13:16
Picon

convert access to JAVA PHP mysql Xml Soap


Hi  We are a publishing company based in London. We have developed a
multi-user
MS Access contact management and bookkeeping database system which we want
to adapt / re-write such that it can be used over the web ( ASP) using
Internet
Explorer (or similar) from any location, as our clients would like to use
it.

We are therefore looking for someone to develope or who will head a team of
developers and
co-ordinate this project. If you are interested in working with us on this,
please e-mail jkenna <at> globalnet.co.uk with a brief outline of your knowledge
and experience of programming languages and I will get back to you as soon
as possible.

Jacky Kenna
Managing Director, PDA
0207 384 1985
jkenna <at> globalnet.co.uk

--

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Derick Rethans | 1 May 2002 14:40
Picon
Favicon

4.2.1RC1

Hello,

I just packed PHP 4.2.1RC1, please test. The release is scheduled for May 
5th, the RC can be found on 
http://www.php.net/~derick/php-4.2.1RC1.tar.bz2

regards,
Derick

--

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Joseph Tate | 1 May 2002 15:32

RE: config.w32.h

1.  I think it's ok.

2.  I'd create a batch file that does the renaming, and then set it up to
run in a custom build step.  You can set those up through the Custom Build
tab in the Project settings dialog.

Joseph

> -----Original Message-----
> From: Sebastian Bergmann [mailto:sebastian <at> php.net]
> Sent: Monday, April 29, 2002 1:20 PM
> To: php-dev <at> lists.php.net
> Subject: [PHP-DEV] config.w32.h
>
>
>   As you may know, I worked a bit on config.w32.h recently.
>
>   I'd like to rename the file to config.w32.h.in and let MSVC rename
>   config.w32.h.in to config.w32.h, if config.w32.h does not yet exist.
>
>   Two questions:
>
>     1.) Is this okay?
>
>     2.) How do I do this? :-)
>
> --
>   Sebastian Bergmann
>   http://sebastian-bergmann.de/                 http://phpOpenTracker.de/
>
(Continue reading)

Daniel Beulshausen | 1 May 2002 16:14
Picon

RE: config.w32.h

At 09:32 01.05.2002 -0400, Joseph Tate wrote:
>1.  I think it's ok.
>
>2.  I'd create a batch file that does the renaming, and then set it up to
>run in a custom build step.  You can set those up through the Custom Build
>tab in the Project settings dialog.

what's the reason to rename the file?

daniel

>Joseph
>
> > -----Original Message-----
> > From: Sebastian Bergmann [mailto:sebastian <at> php.net]
> > Sent: Monday, April 29, 2002 1:20 PM
> > To: php-dev <at> lists.php.net
> > Subject: [PHP-DEV] config.w32.h
> >
> >
> >   As you may know, I worked a bit on config.w32.h recently.
> >
> >   I'd like to rename the file to config.w32.h.in and let MSVC rename
> >   config.w32.h.in to config.w32.h, if config.w32.h does not yet exist.
> >
> >   Two questions:
> >
> >     1.) Is this okay?
> >
> >     2.) How do I do this? :-)
(Continue reading)

Derick Rethans | 1 May 2002 16:20
Picon
Favicon

Xdebug extension availability

Hello,

I'm happy to announce the availability of the xdebug extension. This 
extension modifies the php error handler to show stack traces. With this 
you can exactly see how the current function was called, even the 
parameters show up (if they are constants). I'm still working on variable 
parameters. 

Besides the stack traces the extension also provides the following 
functions:

array xdebug_get_function_stack()
- Returns an array which resembles a stack tracestring 

xdebug_call_function()
- The name of the caller function

string xdebug_call_file()
- The file in which the caller function was run

int xdebug_call_line()
- The line in the caller file from which the current function was started

See the website  <at>  http://www.jdimedia.nl/derick/xdebug.php for more 
information and the download location.

regards,
Derick

-----------------------------------------------------------------------
(Continue reading)

Derick Rethans | 1 May 2002 16:34
Picon
Favicon

news.php.net shows unterminated string

Hello,

while browsing http://news.php.net/group.php?group=php.general I saw the 
following error:

Warning: String is not zero-terminated (Úèfî ) (source: 
zend_execute_API.c:583) in /usr/local/www/news.php.net/common.inc(80) : 
regexp code on line 0

Warning: String is not zero-terminated (Úèfî ) (source: 
zend_execute_API.c:274) in /usr/local/www/news.php.net/common.inc on line 
80

Which version of PHP is running on this machine? I'll see if I can fix 
this error then.

regards,
Derick

--

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

J Smith | 1 May 2002 16:38
Favicon

Re: news.php.net shows unterminated string


[root <at> corduroy php-4.2.1RC1]# lynx -head -dump http://news.php.net
HTTP/1.1 200 OK
Date: Wed, 01 May 2002 14:37:45 GMT
Server: Apache/1.3.20 (Unix) PHP/4.2.0RC2
X-Powered-By: PHP/4.2.0RC2
Connection: close
Content-Type: text/html; charset=iso-8859-1

J

Derick Rethans wrote:

> Hello,
> 
> while browsing http://news.php.net/group.php?group=php.general I saw the
> following error:
> 
> Warning: String is not zero-terminated (Úèfî ) (source:
> zend_execute_API.c:583) in /usr/local/www/news.php.net/common.inc(80) :
> regexp code on line 0
> 
> Warning: String is not zero-terminated (Úèfî ) (source:
> zend_execute_API.c:274) in /usr/local/www/news.php.net/common.inc on line
> 80
> 
> 
> Which version of PHP is running on this machine? I'll see if I can fix
> this error then.
> 
(Continue reading)


Gmane