[PHP-DEV] TSRM Problem with dmalloc

2002-07-01 Thread Steve Alberty

Hi,

when i compile php with dmalloc (because i develop an own extension),
php crashes in combination with apache 2, but i think this is not a
problem with apache 2 or with dmalloc. Maybe it is a problem with the
--with-config-file-path option. I have set it to /etc/debug/php.ini ...


here is the backtrace from gdb:

--
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 30068)]
0x4043bf07 in virtual_file_ex (state=0xbfffe6d8, path=0xbfffc670 
/etc/debug/php.ini, verify_path=0)
at /usr/src/php4/TSRM/tsrm_virtual_cwd.c:362
362 state-cwd[copy_amount] = '\0';
(gdb) bt
#0  0x4043bf07 in virtual_file_ex (state=0xbfffe6d8, path=0xbfffc670 
/etc/debug/php.ini, verify_path=0)
at /usr/src/php4/TSRM/tsrm_virtual_cwd.c:362
#1  0x40442ef6 in expand_filepath (filepath=0xbfffe790 
/etc/debug/php.ini, real_path=0x0)
at /usr/src/php4/main/fopen_wrappers.c:509
#2  0x404423bf in php_fopen_and_set_opened_path (path=0xbfffe790 
/etc/debug/php.ini, mode=0x404ab1df r, opened_path=0x404ea490)
at /usr/src/php4/main/fopen_wrappers.c:237
#3  0x40442d29 in php_fopen_with_path (filename=0x404ab1e1 php.ini, 
mode=0x404ab1df r, path=0x8175024 .:/etc/debug, 
opened_path=0x404ea490) at /usr/src/php4/main/fopen_wrappers.c:446
#4  0x404437d1 in php_init_config () at /usr/src/php4/main/php_ini.c:315
#5  0x4043e7fa in php_module_startup (sf=0x404ed640) at 
/usr/src/php4/main/main.c:930
#6  0x4048cfb1 in php_apache_server_startup (pconf=0x80a2330, plog=
0x80d03e8, ptemp=0x80a4338, s=0x80d46d0)
at /usr/src/php4/sapi/apache2filter/sapi_apache2.c:492
#7  0x0806ca1f in ap_run_post_config (pconf=0x80a2330, plog=0x80d03e8, 
ptemp=0x80a4338, s=0x80d46d0) at config.c:127
#8  0x08071187 in main (argc=2, argv=0xba14) at main.c:633
#9  0x401f0280 in __libc_start_main () from /lib/libc.so.6
--

Regards,

Steve

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




[PHP-DEV] [PHP-QA] PHP Annual Bughunt!

2002-07-01 Thread derick

Hello QA-ers,

it's the time of the year again, time for the PHP Bug Hunt Event! Although 
this is the first time, I'm pretty sure it will be fine.


What is the PHP Bug Hunt Event?
---
The goal of the PHP Bug Hunt Event is too read, verify and updating of bug 
reports. At this moment there are a lot (800+) bug reports which are 
sleeping in our nice bugsystem, and they need to be taken care of.


How do I participate?
-
Easy! Take a look at http://www.php.net/~derick/bugpacks.html . You will 
see 51 bug packs with bugs in it, nicely categorized. I'm asking you to 
pick one (or more of these 'Bugpacks') to take care of. Taking care of 
means:
1. Choose a bugpack, and mail your bug pack ID along with your name to 
   this list, so that we make sure no pack is done twice. I'll update the 
   bugpack list file then.
2. Read the reports in your bugpack
3. Verify them (if that is needed), or ask others to verify them. If you 
   want to discuss what to do with a report, write to this list.
4. Update the reports status and add your information. If you think the 
   bug is already fixed, choose the Already fixed / Already fixed in 
   CVS QuickFix. If you are not sure how all those statusses work, feel 
   free to ask on this list.

You can only update bugs if you have a CVS account, but 
you don't need any specific karma, unless you want to fix the bug 
yourself (which will be _highly_ appreciated). If you want to request a 
CVS account, use the form  http://www.php.net/cvs-php.php and make 
sure you specify PHP Bug Hunt Event while requesting it.


What do I get in return?

A nice cleaned up bug database, so that developers can concentrate on the 
real bugs, instead of having the dig through a lot of shitnitz and of 
course much appreciation of the 100's of thousands of PHP users.



I hope I can count on you all!

Derick
PHP QA Team

---
 Derick Rethans   http://www.derickrethans.nl/ 
 JDI Media Solutions   http://www.jdimedia.nl/
---



-- 
PHP Quality Assurance Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php


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




Re: [PHP-DEV] [PHP-QA] PHP Annual Bughunt!

2002-07-01 Thread Sterling Hughes


I'll do pack 12, 19, 21, 31 35, 47... I assume verification/fixing only applies
to PHP-CVS? (Ie, they say its a problem with PHP 4.1, If I can't produce
it with CVS, Its fine to close it?)

-Sterling 

 Hello QA-ers,
 
 it's the time of the year again, time for the PHP Bug Hunt Event! Although 
 this is the first time, I'm pretty sure it will be fine.
 
 
 What is the PHP Bug Hunt Event?
 ---
 The goal of the PHP Bug Hunt Event is too read, verify and updating of bug 
 reports. At this moment there are a lot (800+) bug reports which are 
 sleeping in our nice bugsystem, and they need to be taken care of.
 
 
 How do I participate?
 -
 Easy! Take a look at http://www.php.net/~derick/bugpacks.html . You will 
 see 51 bug packs with bugs in it, nicely categorized. I'm asking you to 
 pick one (or more of these 'Bugpacks') to take care of. Taking care of 
 means:
 1. Choose a bugpack, and mail your bug pack ID along with your name to 
this list, so that we make sure no pack is done twice. I'll update the 
bugpack list file then.
 2. Read the reports in your bugpack
 3. Verify them (if that is needed), or ask others to verify them. If you 
want to discuss what to do with a report, write to this list.
 4. Update the reports status and add your information. If you think the 
bug is already fixed, choose the Already fixed / Already fixed in 
CVS QuickFix. If you are not sure how all those statusses work, feel 
free to ask on this list.
 
 You can only update bugs if you have a CVS account, but 
 you don't need any specific karma, unless you want to fix the bug 
 yourself (which will be _highly_ appreciated). If you want to request a 
 CVS account, use the form  http://www.php.net/cvs-php.php and make 
 sure you specify PHP Bug Hunt Event while requesting it.
 
 
 What do I get in return?
 
 A nice cleaned up bug database, so that developers can concentrate on the 
 real bugs, instead of having the dig through a lot of shitnitz and of 
 course much appreciation of the 100's of thousands of PHP users.
 
 
 
 I hope I can count on you all!
 
 Derick
 PHP QA Team
 
 ---
  Derick Rethans   http://www.derickrethans.nl/ 
  JDI Media Solutions   http://www.jdimedia.nl/
 ---
 
 
 
 -- 
 PHP Quality Assurance Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 -- 
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php
 

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




Re: [PHP-DEV] [PHP-QA] PHP Annual Bughunt!

2002-07-01 Thread derick

On Mon, 1 Jul 2002, Sterling Hughes wrote:

 
 I'll do pack 12, 19, 21, 31 35, 47... I assume verification/fixing only applies
 to PHP-CVS? (Ie, they say its a problem with PHP 4.1, If I can't produce
 it with CVS, Its fine to close it?)

Yup, if you think it's really fixed in CVS you can close it, but it would 
be better if you try to reproduce it on PHP 4.1. first then.

Derick

 
 -Sterling 
 
  Hello QA-ers,
  
  it's the time of the year again, time for the PHP Bug Hunt Event! Although 
  this is the first time, I'm pretty sure it will be fine.
  
  
  What is the PHP Bug Hunt Event?
  ---
  The goal of the PHP Bug Hunt Event is too read, verify and updating of bug 
  reports. At this moment there are a lot (800+) bug reports which are 
  sleeping in our nice bugsystem, and they need to be taken care of.
  
  
  How do I participate?
  -
  Easy! Take a look at http://www.php.net/~derick/bugpacks.html . You will 
  see 51 bug packs with bugs in it, nicely categorized. I'm asking you to 
  pick one (or more of these 'Bugpacks') to take care of. Taking care of 
  means:
  1. Choose a bugpack, and mail your bug pack ID along with your name to 
 this list, so that we make sure no pack is done twice. I'll update the 
 bugpack list file then.
  2. Read the reports in your bugpack
  3. Verify them (if that is needed), or ask others to verify them. If you 
 want to discuss what to do with a report, write to this list.
  4. Update the reports status and add your information. If you think the 
 bug is already fixed, choose the Already fixed / Already fixed in 
 CVS QuickFix. If you are not sure how all those statusses work, feel 
 free to ask on this list.
  
  You can only update bugs if you have a CVS account, but 
  you don't need any specific karma, unless you want to fix the bug 
  yourself (which will be _highly_ appreciated). If you want to request a 
  CVS account, use the form @ http://www.php.net/cvs-php.php and make 
  sure you specify PHP Bug Hunt Event while requesting it.
  
  
  What do I get in return?
  
  A nice cleaned up bug database, so that developers can concentrate on the 
  real bugs, instead of having the dig through a lot of shitnitz and of 
  course much appreciation of the 100's of thousands of PHP users.
  
  
  
  I hope I can count on you all!
  
  Derick
  PHP QA Team
  
  ---
   Derick Rethans   http://www.derickrethans.nl/ 
   JDI Media Solutions   http://www.jdimedia.nl/
  ---
  
  
  
  -- 
  PHP Quality Assurance Mailing List http://www.php.net/
  To unsubscribe, visit: http://www.php.net/unsub.php
  
  
  -- 
  PHP Development Mailing List http://www.php.net/
  To unsubscribe, visit: http://www.php.net/unsub.php
  
 

---
 Did I help you?   http://www.derickrethans.nl/link.php?url=giftlist
 Frequent ranting: http://www.derickrethans.nl/
---
 PHP: Scripting the Web - [EMAIL PROTECTED]
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
---


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




Re: [PHP-DEV] [PHP-QA] PHP Annual Bughunt!

2002-07-01 Thread Alexander Wirtz

[EMAIL PROTECTED] wrote:
 On Mon, 1 Jul 2002, Sterling Hughes wrote:
 
 
I'll do pack 12, 19, 21, 31 35, 47... I assume verification/fixing only applies
to PHP-CVS? (Ie, they say its a problem with PHP 4.1, If I can't produce
it with CVS, Its fine to close it?)
 
 
 Yup, if you think it's really fixed in CVS you can close it, but it would 
 be better if you try to reproduce it on PHP 4.1. first then.
 

Hmm...that might pose a problem, because some bugs are flagged with 4.0.6 
for example, and I doubt, that developers here stick to old versions of PHP. 
I'd have to reinstall that version :-P

Also, I'd like to suggest to keep the discussion regarding the bughunt on 
the QA-List, as I expect lots of threads for this topic and it will get hard 
to follow them, if they appear on both lists.

Kind regards,
Alexander


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




[PHP-DEV] compiling extension

2002-07-01 Thread Ron Lange

Hi all,
now I have only one really sucking problem: how I can compile extensions? I 
know that I am appearing a little bit stupid, just because of the hints of 
Derick an the others in a former thread...
But I can't get it work...

The core code of my extension (without any php-related stuff yet) laying in 
a external cvs tree. I just set up a proto file, and created a extension 
with it in the ext dir of my php-tree. Then I have copied the files out of 
the extension directory into the cvs dir where my code is laying. I thought 
that was a smart idea. 
According to Derick I phpized, configured an made it. Fine, the (empty) 
php-extension was compiled an everything seems right. 
But now I want to include and use my code. A simple inclusion of my header 
throws make errors. Expectable, I know. 
*where the hell I have to put my include and libary paths in???* 
And does php compile then also as a static apache module with my extensions?

Getting tired
Ron

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




[PHP-DEV] CVS Account Request: miked

2002-07-01 Thread Michael Dransfield

To work on PEAR extensions (php), new + bug fixes of existing ones

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




[PHP-DEV] Jason back from vacation

2002-07-01 Thread Jason T. Greene

Everyone,

I am finally back from vacation, and I will be playing catch-up for a
while.(my email box has over 1000 msgs and I have missed about 1928
php-dev posts, I am sure the equiv CVS posts. )

Please give me some time to catch up.

Thanks,
-Jason


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




Re: [PHP-DEV] sapi_header_op

2002-07-01 Thread Andi Gutmans

At 07:03 AM 7/1/2002 +0200, Sascha Schumann wrote:
  I understood the rational of using a struct from the beginning. I still in
  general don't like using structs very much because as I mentioned it's not
  as easy to use. I prefer having 2-3 methods then having one method which I

 Well, feel free to post those 2-3 methods which cover all
 possible variations.

What is missing from sapi_add_header_ex() right now?

 Using structs as input parameter is not uncommon in APIs, so
 I don't see the issue here.

The fact that it's not uncommon doesn't mean it's easy to use. Look at 
semop(). It's very common but not a very nice function to start using.

Andi


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




Re: [PHP-DEV] [PHP-QA] PHP Annual Bughunt!

2002-07-01 Thread Andi Gutmans

I'll take Pack 40.

Andi

At 03:25 PM 7/1/2002 +0200, [EMAIL PROTECTED] wrote:
Hello QA-ers,

it's the time of the year again, time for the PHP Bug Hunt Event! Although
this is the first time, I'm pretty sure it will be fine.


What is the PHP Bug Hunt Event?
---
The goal of the PHP Bug Hunt Event is too read, verify and updating of bug
reports. At this moment there are a lot (800+) bug reports which are
sleeping in our nice bugsystem, and they need to be taken care of.


How do I participate?
-
Easy! Take a look at http://www.php.net/~derick/bugpacks.html . You will
see 51 bug packs with bugs in it, nicely categorized. I'm asking you to
pick one (or more of these 'Bugpacks') to take care of. Taking care of
means:
1. Choose a bugpack, and mail your bug pack ID along with your name to
this list, so that we make sure no pack is done twice. I'll update the
bugpack list file then.
2. Read the reports in your bugpack
3. Verify them (if that is needed), or ask others to verify them. If you
want to discuss what to do with a report, write to this list.
4. Update the reports status and add your information. If you think the
bug is already fixed, choose the Already fixed / Already fixed in
CVS QuickFix. If you are not sure how all those statusses work, feel
free to ask on this list.

You can only update bugs if you have a CVS account, but
you don't need any specific karma, unless you want to fix the bug
yourself (which will be _highly_ appreciated). If you want to request a
CVS account, use the form @ http://www.php.net/cvs-php.php and make
sure you specify PHP Bug Hunt Event while requesting it.


What do I get in return?

A nice cleaned up bug database, so that developers can concentrate on the
real bugs, instead of having the dig through a lot of shitnitz and of
course much appreciation of the 100's of thousands of PHP users.



I hope I can count on you all!

Derick
PHP QA Team

---
  Derick Rethans   http://www.derickrethans.nl/
  JDI Media Solutions   http://www.jdimedia.nl/
---



--
PHP Quality Assurance Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php


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


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




[PHP-DEV] Re: compiling extension

2002-07-01 Thread Ron Lange


Ron Lange wrote:

...
 And does php compile then also as a static apache module with my
 extensions?

Uhm, sorry, I mean 'compile then also as an apache module with my static 
extension?'...
 
 Getting tired
 Ron


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




Re: [PHP-DEV] compiling extension

2002-07-01 Thread fab wash

Not sure why you say that including a header should throw make errors.. if 
you didn't change the Makefile, it should have no effect.

What are the errors you're getting?

Fab


From: Ron Lange [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP-DEV] compiling extension
Date: Mon, 01 Jul 2002 16:31:17 +0200

Hi all,
now I have only one really sucking problem: how I can compile extensions? I
know that I am appearing a little bit stupid, just because of the hints of
Derick an the others in a former thread...
But I can't get it work...

The core code of my extension (without any php-related stuff yet) laying in
a external cvs tree. I just set up a proto file, and created a extension
with it in the ext dir of my php-tree. Then I have copied the files out of
the extension directory into the cvs dir where my code is laying. I thought
that was a smart idea.
According to Derick I phpized, configured an made it. Fine, the (empty)
php-extension was compiled an everything seems right.
But now I want to include and use my code. A simple inclusion of my header
throws make errors. Expectable, I know.
*where the hell I have to put my include and libary paths in???*
And does php compile then also as a static apache module with my 
extensions?

Getting tired
Ron

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




_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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




[PHP-DEV] Installation on HP Nonstop systems

2002-07-01 Thread fab wash

Hello all,

I sent the installation note last week. Anybody with karma can put it in the 
cvs tree?? Would it be possible to merge it with the main documentation, and 
if so, do you need a different format?

Fab.

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




[PHP-DEV] CVS Account Request: jens

2002-07-01 Thread Jens Kohl

for PHP-QA BugPacks...

I don't know if I already have an account, somebody told me when I joined QAT that he 
will create me an cvs account.

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




Re: [PHP-DEV] [PHP-QA] PHP Annual Bughunt!

2002-07-01 Thread Sander Roobol

I'll start with pack 43...

Sander

On Mon, Jul 01, 2002 at 03:25:47PM +0200, [EMAIL PROTECTED] wrote:
 Hello QA-ers,
 
 it's the time of the year again, time for the PHP Bug Hunt Event! Although 
 this is the first time, I'm pretty sure it will be fine.
 
 ... (snip) ...
 

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




Re: [PHP-DEV] [PHP-QA] PHP Annual Bughunt!

2002-07-01 Thread derick

On Mon, 1 Jul 2002, Sander Roobol wrote:

 I'll start with pack 43...

Too late, that was just claimed... by me :)

Derick

 On Mon, Jul 01, 2002 at 03:25:47PM +0200, [EMAIL PROTECTED] wrote:
  Hello QA-ers,
  
  it's the time of the year again, time for the PHP Bug Hunt Event! Although 
  this is the first time, I'm pretty sure it will be fine.
  
  ... (snip) ...
  
 

---
 Did I help you?   http://www.derickrethans.nl/link.php?url=giftlist
 Frequent ranting: http://www.derickrethans.nl/
---
 PHP: Scripting the Web - [EMAIL PROTECTED]
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
---


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




[PHP-DEV] new payment gateway extension

2002-07-01 Thread Dan Helfman

I'd like to contribute a new PHP extension for the TrustCommerce credit
card payment gateway. Note that there is already at least one payment
gateway extension included with PHP: the extension for Cybercash, which
has gone out of business. I was wondering the proper procedure for
submitting a new extension. I'd be happy to post a URL for a
ready-to-include tarball, or maybe just commit it to CVS if given the
required access. The stand-alone version of the PHP extension is already
available on this page:

http://trustcommerce.com/tclink.html

So what's the best way to go about getting this included with PHP?

-- 
Dan Helfman
Software Engineer, TrustCommerce
(626) 744-7700 x813
[EMAIL PROTECTED]
http://www.trustcommerce.com

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




Re: [PHP-DEV] compiling extension

2002-07-01 Thread Ron Lange

Hi Fab,
I have left out some informations, sorry. I had a problem with including 
our lib headers, but now I managed it. Man pages are fine 
things...especially these of autoconf ;-). Another mistake I've done was to 
ignore the output of the ext-skel script, which is telling the further 
steps (./buildconf) to build extensions. Nobody's perfect...
Have a good night
Ron

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




[PHP-DEV] CVS Account Request: witten

2002-07-01 Thread Dan Helfman

I'd like to contribute a new PHP extension for the TrustCommerce credit card payment 
gateway (php4/ext/tclink). Note that there is already at least one payment gateway 
extension included with PHP: the extension for Cybercash, which has gone out of 
business. The stand-alone version of the TCLink PHP extension is available on this 
page:

http://trustcommerce.com/tclink.html

I was sent here by Austin Marshall (amars on OPN #php). I'm a Debian developer and 
have also contributed patches/fixes to Red Hat, SDL, Interchange, etc.

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




[PHP-DEV] CVS Account Request: melazy

2002-07-01 Thread Stellan Klebom

PHP Bug Hunt Event

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




Re: [PHP-DEV] compiling extension

2002-07-01 Thread Ron Lange

Hello again,
my last question for this week (I hope):
How can I include the sources of my lib in the php build??? Although it's 
compiling fine, the apache build fails about undefined references to my 
functions. I am really tired now, since four hours I am trying to solve 
this problem. May I am only stupid. Who knows.
Ron

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




Re: [PHP-DEV] compiling extension

2002-07-01 Thread Markus Fischer

On Tue, Jul 02, 2002 at 12:42:08AM +0200, Ron Lange wrote : 
 my last question for this week (I hope):
 How can I include the sources of my lib in the php build??? Although it's 
 compiling fine, the apache build fails about undefined references to my 
 functions. I am really tired now, since four hours I am trying to solve 
 this problem. May I am only stupid. Who knows.

You don't need to include your sources but a static library
of your extension needs to be created which exports the
symbols as needed and which gets statically linked into
libphp4.so . But since all you say is it doesn't work and
you don't give any concrete error message, sample
input/output or even sources, it's pretty hard to be exact,
either.

- Markus

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




[PHP-DEV] [PATCH] bug #15547

2002-07-01 Thread Justin Garrett

Stops tempnam() from bypassing open_basedir directive.

This is my very first patch...thought I'd start small.  Will someone 
with karma please take a look and commit this if it meets your approval?

Justin Garrett



Index: ext/standard/file.c
===
RCS file: /repository/php4/ext/standard/file.c,v
retrieving revision 1.234
diff -u -b -w -B -r1.234 file.c
--- ext/standard/file.c 18 Jun 2002 12:16:27 -  1.234
+++ ext/standard/file.c 2 Jul 2002 01:18:48 -
 -525,6 +525,11 
}
convert_to_string_ex(arg1);
convert_to_string_ex(arg2);
+   
+   if (php_check_open_basedir(Z_STRVAL_PP(arg1) TSRMLS_CC)){
+   RETURN_FALSE;
+   }
+   
d = estrndup(Z_STRVAL_PP(arg1), Z_STRLEN_PP(arg1));
strlcpy(p, Z_STRVAL_PP(arg2), sizeof(p));
 



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