[PHP-DEV] SSL socket support

2001-02-25 Thread Wez Furlong

I've been reviewing my relatively crude patch from September last year that
provided transparent SSL socket access to PHP via the php functions
fsockopen, fread etc. etc.

It would be very simple to integrate this into the current PHP code base,
but to do so I think we would need to make some modifications to the
php_sockbuf structure and the SOCK_WRITE macros.

The issues/reasoning is:

. To read/write data to/from an SSL socket we need to call SSL_read() or
SSL_write().
. We can't decide if a socket is opened in SSL mode just by looking at its
descriptor.
. implementing a php_sock_send() function to make this decision would solve
the problem if the SOCK_WRITE macros used it instead of send().

We need to add a pointer to the SSL structure to the php_sockbuf structure.

php_sockread_internal() and php_sock_send() could determine if a socket is
in SSL mode by examining the SSL member of the sockbuf and call the SSL
equivalents.

Can anyone more familiar with this part of PHP advise for or against this
approach?

Would it be worthwhile making my changes more future proof by making an
abstraction layer, in the
same vein as fopen cookie (used by the zlib extension) ?

php_sockbuf {
...
void * cookie;
size_t (*reader)(void * cookie, char * buffer, size_t size);
size_t (*writer)(void * cookie, char * buffer, size_t size);
void (*closer)(void * cookie);
}

For normal sockets, cookie would be set to the descriptor and the
reader/writer/closer functions
set to the regular calls.  For SSL sockets the cookie would be the SSL
pointer and the reader/writer/closer functions would be the SSL equivalents
etc.

--Wez.



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DEV] CVS "Karma" levels

2001-02-25 Thread Wez Furlong

>Changed.  You also have access to the full source tree now.
>- Sascha

Thanks.

--Wez.

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #8669 Updated: Swedish characters in session-variables can appear differently

2001-02-25 Thread peo

ID: 8669
User Update by: [EMAIL PROTECTED]
Old-Status: Closed
Status: Open
Bug Type: *Session related
Description: Swedish characters in session-variables can appear differently

It seems that the problem still exists in 4.0.4pl1.
So I would like to open this bug-report again.

Previous Comments:
---

[2001-01-15 04:42:52] [EMAIL PROTECTED]
User feedback:
---
I have installed php 4.0.4pl1
and it seems to work by now.




---

[2001-01-12 06:16:58] [EMAIL PROTECTED]
Could you please add a complete but short example script
into this report? 

--Jani




---

[2001-01-12 03:11:02] [EMAIL PROTECTED]
Session variables containing åäö on a systems not supporting these characters can 
change when saved to /tmp folder. While they are in memory they are perfectly Ok.

It appears that some function is using a shell-call or something to read the contents 
of the stored session-variables instead of using a normal read.

At least this is my interpretation of the error.

Input is taken from  -fields and output is generated like 

Regards
Per-Olof Pettersson

---


Full Bug description available at: http://bugs.php.net/?id=8669


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DEV] Cocoon + PHP

2001-02-25 Thread Chris Newbill

Guess it helps to snoop around the source.  Found sapi/servlet.

Still would like to here success/failure stories, or maybe even
alternatives.  Cause I don't feel the Sablotron extension is to the point
where I would use it in a production environment.

Thanks,
Chris

)> -Original Message-
)> From: Chris Newbill [mailto:[EMAIL PROTECTED]]
)> Sent: Sunday, 25 February, 2001 7-06 pM
)> To: PHP DEV
)> Subject: [PHP-DEV] Cocoon + PHP
)>
)>
)> I haven't looked into it extensively yet, thought I'd post it to
)> the list to
)> see what other people have done.
)>
)> What is the possibility of making Cocoon and PHP work together?  I would
)> think that maybe there is a PHP Processor already made for
)> Cocoon, so that
)> your PHP code could be inside your XML documents and processed as such?
)>
)> I'd really like to start using the Cocoon framework it would
)> make allot of
)> things I do easier, but I heavily rely on PHP as well.
)>
)> Thanks for any advice/direction,
)>
)>
)> Chris Newbill
)> OneWest.net Inc.,
)> Programmer/Analyst
)>
)> 406.449.8056
)> [EMAIL PROTECTED]
)>
)> /*
)> Windows crashed.
)> I am the Blue Screen of Death.
)> No one hears your screams.
)> */
)>
)>
)>
)>
)> --
)> PHP Development Mailing List 
)> To unsubscribe, e-mail: [EMAIL PROTECTED]
)> For additional commands, e-mail: [EMAIL PROTECTED]
)> To contact the list administrators, e-mail: [EMAIL PROTECTED]
)>


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9451: Core maths problem with incrementation

2001-02-25 Thread alex

From: [EMAIL PROTECTED]
Operating system: Linux Redhat 6.0 (server)
PHP version:  4.0.4pl1
PHP Bug Type: Math related
Bug description:  Core maths problem with incrementation

I wrote a poll section for the company i work for, on www.sgl.net.au.
I was testing boundary and illegal values with my script, and i set the number of 
votes for one of the options to
-1, when i click "Vote" it takes the -1 and increments it. (taken from a mysql_db) 
when it finishes incrementing it the resulting vote number is -2

so 
$variable = - 1;
$variable++;


echo $variable prints out -2
The problem could be with mysql returning a positve integer only ,but i thought i'd 
mention it anyway



-- 
Edit Bug report at: http://bugs.php.net/?id=9451&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] CVS Account Request

2001-02-25 Thread CVS Account Request

Full name: Sandeep Deshmukh
Email: [EMAIL PROTECTED]
ID: sandeepdesh
Purpose: Source of c

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9418 Updated: Upload image file is broken

2001-02-25 Thread nekto

ID: 9418
User Update by: [EMAIL PROTECTED]
Status: Closed
Bug Type: *General Issues
Description: Upload image file is broken

Hi!
1. yes, uploaded file exsit

2. filesize uploaded file equal filesize of original, but cmp say, what this files 
differ

cmp file1.gif file2.gif
file1.gif file2.gif differ: char 8, line 1

3. both file begin with string:
GIF89

4. I open files in browser using http address:
http://my.website.com/path/file.gif



Previous Comments:
---

[2001-02-25 18:28:55] [EMAIL PROTECTED]
Reopening. jmoore : what's the hurry to close something just one day after the issue 
is reported?

nekto replied "What info yuo need?"
nekto: well 
 does the uploaded file exist?
 does the file >0 filesize?
 what are the differences between the files - is the uploaded file prepended with a 
content-type header?
 what code are you using to reference the uploaded file?

---

[2001-02-24 13:23:34] [EMAIL PROTECTED]
Not enough information supplied closing.

---

[2001-02-23 05:04:14] [EMAIL PROTECTED]
I have a problem with upload gif image (original differ from upload image). With yours 
recommendation, i install last cvs version of php4. But this not solved my problem. 
What i must doing for solving my problem?


---


Full Bug description available at: http://bugs.php.net/?id=9418


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9450: File uploading problem

2001-02-25 Thread korba

From: [EMAIL PROTECTED]
Operating system: Linux/RedHat 6.2
PHP version:  4.0.4pl1
PHP Bug Type: HTTP related
Bug description:  File uploading problem

Ok, I have simple form:

...

...


and upld.php contains something like this:
...
copy($userfile, $newfile);
...

The problem is:
$userfile, instead of temporary file name, contains original senders's local file name
$userfile_name is empty

If I didn't provide enought information, please drop me a note :-)
Good luck,
Korba



-- 
Edit Bug report at: http://bugs.php.net/?id=9450&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Cocoon + PHP

2001-02-25 Thread Chris Newbill

I haven't looked into it extensively yet, thought I'd post it to the list to
see what other people have done.

What is the possibility of making Cocoon and PHP work together?  I would
think that maybe there is a PHP Processor already made for Cocoon, so that
your PHP code could be inside your XML documents and processed as such?

I'd really like to start using the Cocoon framework it would make allot of
things I do easier, but I heavily rely on PHP as well.

Thanks for any advice/direction,


Chris Newbill
OneWest.net Inc.,
Programmer/Analyst

406.449.8056
[EMAIL PROTECTED]

/*
Windows crashed.
I am the Blue Screen of Death.
No one hears your screams.
*/




-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9449: wordwrap runs into infinite loop

2001-02-25 Thread j-f

From: [EMAIL PROTECTED]
Operating system: W2K
PHP version:  4.0 Latest CVS (25/02/2001)
PHP Bug Type: Reproduceable crash
Bug description:  wordwrap runs into infinite loop

May be related to bug id #9339.

If a word in $string reaches (really! - see below) or exceeds the $width length, $cut 
is unset *and* a break string like "" is given, wordwrap() runs into a infinite 
loop... :-(

Example:

echo wordwrap("1234567890", 10, "");

I'm running php4.0.5-dev-win32-20010220.exe from www.php4win.de witch Apache on W2K AS.


-- 
Edit Bug report at: http://bugs.php.net/?id=9449&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DEV] CVS "Karma" levels

2001-02-25 Thread Sascha Schumann

On Mon, 26 Feb 2001, Wez Furlong wrote:

> Ahhh.
>
> Well, I'll settle for my email address being corrected in the meantime (I
> have left my former employer),
> and let the terrorists, um, core guys up my karma when it's really needed.
>
> Can someone with enough rights amend the email address to
> [EMAIL PROTECTED]?

Changed.  You also have access to the full source tree now.

- Sascha


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DEV] CVS "Karma" levels

2001-02-25 Thread Wez Furlong

Ahhh.

Well, I'll settle for my email address being corrected in the meantime (I
have left my former employer),
and let the terrorists, um, core guys up my karma when it's really needed.

Can someone with enough rights amend the email address to
[EMAIL PROTECTED]?

If you need me to verify it, I can prove it's me by providing you with my
cvs password over private email. (mail to the ryltech address will not reach
me).

--Wez.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 25, 2001 11:24 PM
To: Wez Furlong; php-dev mailinglist
Subject: Re: [PHP-DEV] CVS "Karma" levels


On Sun, Feb 25, 2001 at 11:12:16PM -, Wez Furlong wrote:

> I was wondering what, if any, CVS access I now have (I have read at least,
> because I just checked out from CVS).

Oh jeh, it seems you haven't have any karma. You are only listed in
CVSROOT/cvsusers as:

cvsusers:wez   Wez Furlong [EMAIL PROTECTED]
OpenSSL Support

Hopefully some of the terrorists give you some karma.

-Egon

--
http://www.linuxtag.de/
http://php.net/books.php
http://www.concert-band.de/
http://www.php-buch.de/



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #8580 Updated: Fileupload and Database mysql access

2001-02-25 Thread lyric

ID: 8580
Updated by: lyric
Reported By: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Duplicate
Bug Type: *Directory/Filesystem functions
Assigned To: 
Comments:

Probably related the the v4.04 file-upload bug
http://bugs.php.net/bugs.php?id=9298

Marking as duplicate, pending any use feedback.

Previous Comments:
---

[2001-01-08 10:10:25] [EMAIL PROTECTED]
i'm sorry but we can do nothing with such a vaguely worded bug report. Please, provide 
a shortest possible script depicting the experienced problem(s), as well as a 
description of what the problem is.

---

[2001-01-07 17:02:25] [EMAIL PROTECTED]
I have problems with the new php 4.04 version ... 
with the php.ini something has changed

;
; Data Handling ;
;
; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
variables_order =   "EGPCS" ; This directive describes the order in which 
PHP registers
; GET, POST, Cookie, 
Environment and Built-in variables (G, P,
; C, E & S 
respectively, often referred to as EGPCS or GPC).
; Registration is done 
from left to right, newer values override
; older values.
register_globals=   On  ; Whether or not to register the EGPCS 
variables as global
; variables.  You may 
want to turn this off if you don't want
; to clutter your 
scripts' global scope with user data.  This makes
; most sense when 
coupled with track_vars - in which case you can
; access all of the 
GPC variables through the $HTTP_*_VARS[],
; variables.
; You should do your 
best to write your scripts so that they do
; not require 
register_globals to be on;  Using form variables
; as globals can 
easily lead to possible security problems, if
; the code is not very 
well thought of.
register_argc_argv  =   On  ; This directive tells PHP whether to 
declare the argv&argc
; variables (that 
would contain the GET information).  If you
; don't use these 
variables, you should turn it off for
; increased 
performance
post_max_size   =   8M  ; Maximum size of POST data that PHP 
will accept.
gpc_order   =   "GPC"   ; This directive is deprecated.  Use 
variables_order instead.

Some problems with sending mail attachements and connecting to databases...
Back to php-4.0.1pl2-Win32.zip no problems.

What has been changed in this version that some of my sources do not run anymore.

And what should I change in my php sources to get it working fine again or is this 
realy a bug in php404.

Greetz Chris


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8580&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9425 Updated: file upload appends content-type header to beginning of binary file

2001-02-25 Thread lyric

ID: 9425
Updated by: lyric
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Duplicate
Bug Type: Unknown/Other Function
Assigned To: 
Comments:

Duplicate of http://bugs.php.net/bugs.php?id=9298 which is fixed in CVS.


Previous Comments:
---

[2001-02-23 12:35:17] [EMAIL PROTECTED]
I've been having difficulty with the file upload feature, specifically used with JPEG 
files. I'm using the 4.04p|1 RPM for RH off of rpmfind, I've listed the compile flags 
at the end of this message.

The content-type header has been appended to the beginning of the file, making the 
file unreadable. Opening the file in vi and deleting the first two lines fixes the 
problem.

I've seen ~3 other messages posted relating to this problem on the mailing lists, 
specific to this version, but no solutions, so I'm guessing it's a bug.

Here's the code on the receiving end:

if ($HTTP_POST_FILES):
$file1_nym  = $HTTP_POST_FILES['file1_upload']['name'];
move_uploaded_file($file1_upload, "/usr/local/www/html/assets/$file1_nym");
$file2_nym  = $HTTP_POST_FILES['file2_upload']['name'];
move_uploaded_file($file2_upload, "/usr/local/www/html/assets/$file2_nym");
}


compile options:
'./configure' '--prefix=/usr' '--with-config-file-path=/etc' '--disable-debug' 
'--enable-pic' '--enable-shared' '--enable-inline-optimization' 
'--with-apxs=/usr/sbin/apxs' '--with-exec-dir=/usr/bin' '--with-regex=system' 
'--with-gettext' '--with-gd' '--with-jpeg-dir=/usr' '--with-png' '--with-zlib' 
'--with-db2' '--with-db3' '--with-gdbm' '--enable-debugger' '--enable-magic-quotes' 
'--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' 
'--enable-track-vars' '--enable-yp' '--enable-ftp' '--enable-wddx' '--without-mysql' 
'--without-oracle' '--without-oci8' '--with-xml'

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9425&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Unable to fork

2001-02-25 Thread Derick Rethans

Heya,

I managed to let passthru work again on win32 (ISAPI), but because I'm
tired of rebooting after every change to the DLL, I stepped away from it
for now. Next weekend I'll try to finish off the rest

Night,

Derick Rethans

-
PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED]
 SRM: Site Resource Manager - www.vl-srm.net
-


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9418 Updated: Upload image file is broken

2001-02-25 Thread lyric

ID: 9418
Updated by: lyric
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: *General Issues
Assigned To: 
Comments:

Reopening. jmoore : what's the hurry to close something just one day after the issue 
is reported?

nekto replied "What info yuo need?"
nekto: well 
 does the uploaded file exist?
 does the file >0 filesize?
 what are the differences between the files - is the uploaded file prepended with a 
content-type header?
 what code are you using to reference the uploaded file?

Previous Comments:
---

[2001-02-24 13:23:34] [EMAIL PROTECTED]
Not enough information supplied closing.

---

[2001-02-23 05:04:14] [EMAIL PROTECTED]
I have a problem with upload gif image (original differ from upload image). With yours 
recommendation, i install last cvs version of php4. But this not solved my problem. 
What i must doing for solving my problem?


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9418&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] CVS "Karma" levels

2001-02-25 Thread eschmid+sic

On Sun, Feb 25, 2001 at 11:12:16PM -, Wez Furlong wrote:

> I was wondering what, if any, CVS access I now have (I have read at least,
> because I just checked out from CVS).

Oh jeh, it seems you haven't have any karma. You are only listed in
CVSROOT/cvsusers as:

cvsusers:wez   Wez Furlong [EMAIL PROTECTED]
OpenSSL Support

Hopefully some of the terrorists give you some karma.

-Egon

-- 
http://www.linuxtag.de/
http://php.net/books.php 
http://www.concert-band.de/
http://www.php-buch.de/

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] CVS "Karma" levels

2001-02-25 Thread Wez Furlong

Hi,

I just had time to catch up on some of the topics on the list over the last
couple of months (I had a backlog of around 9000 messages to wade through).

Anyway, one of the topics was CVS accounts, core developers actually being
terrorists in deep cover operations etc. etc.

I got a CVS account a few months ago so that I could add some SSL support to
the fopen wrappers; I was supposed to be working with Stig Venaas on this,
and then our client didn't need the support so I couldn't spend time on it,
and it has fallen by the wayside.

I'm now in a position to do some more work on this, perhaps using the fopen
cookie method (like the zlib extension).

I was wondering what, if any, CVS access I now have (I have read at least,
because I just checked out from CVS).

--Wez.


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9448: It does not works / -c Look for php.ini file in this directory

2001-02-25 Thread marcello . dipietro

From: [EMAIL PROTECTED]
Operating system: Linux
PHP version:  4.0.4pl1
PHP Bug Type: *Install and Config
Bug description:  It does not works / -c   Look for php.ini file in 
this directory

I use php with apache, in the same time a crontab generate big html page from a .php 
source file.

#/usr/bin/php -q


, but if I use -c/usr/local/newphp to force the read of another php.ini file just for 
the cgi and different from the one used with php/apache it gives an error.

php -?
Usage: php [-q] [-h] [-s] [-v] [-i] [-f ] | { [args...]}
  -q Quiet-mode.  Suppress HTTP Header output.
  -s Display colour syntax highlighted source.
  -f   Parse .  Implies `-q'
  -v Version number
  -c   Look for php.ini file in this directory
  -a Run interactively
  -d foo[=bar]   Define INI entry foo with value 'bar'
  -e Generate extended information for debugger/profiler
  -z   Load Zend extension .
  -i PHP information
  -h This help


-c is in the list , but not in the Usage , it should be nice to have diferent php.ini 
depending on scripts, excpecialy because zend optimizer works for the php/apache and 
not for cgi php (logically).




-- 
Edit Bug report at: http://bugs.php.net/?id=9448&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9447: call_user_method functions do not pass references

2001-02-25 Thread wez . php

From: [EMAIL PROTECTED]
Operating system: all
PHP version:  4.0 Latest CVS (25/02/2001)
PHP Bug Type: Class/Object related
Bug description:  call_user_method functions do not pass references

call_user_method and call_user_method_array functions do not force the object to be 
passed reference, and the call is made to a copy of the object.

This kills off the use of objects, as when the call returns any changes made to the 
properties of the object are lost.

I added my own call_user_method_array call to 4.0.4pl1 (prior to it appearing in CVS) 
which forces the object by reference.

Could we change the behaviour so that the object parameters are passed by reference?  
I don't think this will break anyones scripts.

--Wez.


-- 
Edit Bug report at: http://bugs.php.net/?id=9447&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Re: Japanese PHP

2001-02-25 Thread Alexander Bokovoy

On Sun, Feb 25, 2001 at 08:44:39PM +, Wez Furlong wrote:
> 
> > Andi Gutmans wrote:
> >Does Japanese actually work in a decent way with PHP?
> >From the zillions of Japanese sites I've seen running it I'd guess it works :)
> 
> Theres a bunch of extensions that add multibyte support from 
>ftp://night.fminn.nagano.nagano.jp/php4/.
> 
> 
> PHP does work, you just need to be careful of the multibyte charsets,
> especially in regexps.  The GD library is another problem area, but can
> be worked around using those extensions.
Glibc 2.2.2 claims to have complete regexp support for multibyte texts
as covered in upcoming XPG/6. It would be nice to have compile-time
option to use this extension.

-- 
Sincerely yours, Alexander Bokovoy 
  The Midgard Project   | www.midgard-project.org |Aurora R&D team 
Minsk Linux Users Group |www.minsk-lug.net|  www.aurora-linux.com  
   IPLabs Linux Team| linux.iplabs.ru | Architecte Open Source
-- It's the thought, if any, that counts!

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Re: Japanese PHP

2001-02-25 Thread Andi Gutmans

At 08:44 PM 2/25/2001 +, Wez Furlong wrote:

> > Andi Gutmans wrote:
> >Does Japanese actually work in a decent way with PHP?
> >From the zillions of Japanese sites I've seen running it I'd guess it 
> works :)
>
>Theres a bunch of extensions that add multibyte support from 
>ftp://night.fminn.nagano.nagano.jp/php4/.

Thanks I'll take a peek at those extensions.

Andi


>PHP does work, you just need to be careful of the multibyte charsets, 
>especially in regexps.  The GD library is another problem area, but can be 
>worked around using those extensions.



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9446: CGI version echos first line

2001-02-25 Thread vinay

From: [EMAIL PROTECTED]
Operating system: Linux
PHP version:  4.0.4pl1
PHP Bug Type: *Configuration Issues
Bug description:  CGI version echos first line

using PHP 4.0.4pl1 under Linux

I configured php as:
./configure --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/posgresql 
--enable-track-vars --enable-gd=../gd1.8.3 --enable-ftp --enable-discard-path

now.. the problem is simple... i create script to run from the shell containing the 
following:

#!/usr/local/bin/php


the problem: PHP prints #!/usr/local/bin/php on top of all output.. i tried to use 
output buffering to suppress it, but it doesnt catch it, without the 
#!/usr/local/bin/php I cant run the script from shell properly ... 

I noticed this issue since version 4.0.3pl1 (I think) .. but it was not existant in 
past versions (4.0.2 ,  etc)


-- 
Edit Bug report at: http://bugs.php.net/?id=9446&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Re: Japanese PHP

2001-02-25 Thread Wez Furlong


> Andi Gutmans wrote:
>Does Japanese actually work in a decent way with PHP?
>From the zillions of Japanese sites I've seen running it I'd guess it works :)

Theres a bunch of extensions that add multibyte support from 
ftp://night.fminn.nagano.nagano.jp/php4/.

PHP does work, you just need to be careful of the multibyte charsets, especially in 
regexps.  The GD library is another problem area, but can be worked around using those 
extensions.

--Wez.


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Japanese PHP

2001-02-25 Thread Andi Gutmans

Hi,

I remember there was a patch around for PHP 3.0.x which added some Japanese 
support functions.
Anyone know how many Japanese actually used these functions and how many 
are using Vanilla PHP?
Does Japanese actually work in a decent way with PHP? From the zillions of 
Japanese sites I've seen running it I'd guess it works :)

Andi


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9445 Updated: error message when using fopen or file functions

2001-02-25 Thread pgould

ID: 9445
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: HTTP related
Description: error message when using fopen or file functions

The source for that html page is all on one line. Approx. 19,000 characters. I can 
fopen/file(), without any problems, html pages which have newline breaks throughout.

Previous Comments:
---

[2001-02-25 15:15:28] [EMAIL PROTECTED]
This is the error message I get:

Warning: fopen("http://www.citywire.co.uk/","r") - Message too long in 
/usr/home/jon/webs/blahblah/htdocs/pull/citywire.php on line 87

Here is the script:

$filename = "http://www.citywire.co.uk/latestnews/default.asp";
$fd = fopen ($filename, "r");

This is my ISP's setup:

FreeBSD 4.2
./configure' '--with-apxs=/usr/local/sbin/apxs' '--enable-versioning' 
'--with-system-regex' '--with-config-file-path=/usr/local/etc' '--disable-debug' 
'--enable-track-vars' '--without-gd' '--disable-pear' '--without-mysql' 
'--with-gd=/usr/local' '--with-ttf=/usr/local' '--with-zlib' 
'--with-mcrypt=/usr/local' '--with-mhash=/usr/local' '--with-imap=/usr/local' 
'--with-mysql=/usr/local' '--with-xml=/usr/local' '--enable-ftp' 
'--with-gettext=/usr/local' '--with-ming' '--prefix=/usr/local' 'i386--freebsd4.2'

I don't have access to php.ini unfortunately.

---


Full Bug description available at: http://bugs.php.net/?id=9445


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] PHP 4.0 Bug #7069 Updated: warning message + leakmemory

2001-02-25 Thread Derick Rethans

Sebastian:
> Does the problem persist with PHP 4.0.4pl1 or the
> latest snapshot from
> http://snaps.php.net/?

User:
> nope. thanks...
> it frees the memory perfectly when finishing the script...

It looks to me that's solved now.

Derick

On Sun, 25 Feb 2001, Egon Schmid (@work) wrote:

> [EMAIL PROTECTED] wrote:
> >
> > ID: 7069
> > Updated by: derick
> > Reported By: [EMAIL PROTECTED]
> > Old-Status: Feedback
> > Status: Closed
> > Bug Type: IIS related
> > Assigned To:
> > Comments:
> >
> > User reported that it's solved in php4.0.4pl1
>
> Are you sure? User reported:
>
> nope. thanks...
> it frees the memory perfectly when finishing the script...
>
> I think nope means "no".
>
> -Egon
>

Derick Rethans

-
PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED]
 SRM: Site Resource Manager - www.vl-srm.net
-
JDI Media Solutions - www.jdimedia.nl - [EMAIL PROTECTED]
 Boulevard Heuvelink 102 - 6828 KT Arnhem - The Netherlands
-


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] call_user_method_array

2001-02-25 Thread Wez Furlong

Hi,

I have written a call_user_method_array function that,
surprise surprise, calls a user method and passes arguments from an array - the 
object/class equivalent of call_user_func_array.

The code is below.  In the function table, I have made the second arg passed by 
reference, as it is not very useful otherwise (a shortcoming of call_user_method).

I have CVS access and will add this code to basic_functions.c sometime tonight (in a 
couple of hours), unless anyone objects!

--Wez.

/* {{{ proto mixed call_user_method_array(string function_name, object object, array 
parameters)
   Call a user on a specific object where the first argument is the method name, the 
second argument is the object, and the arguments contained in array */
PHP_FUNCTION(call_user_method_array)
{
zval **func_name,
   **object,
 **params,
 ***func_args = NULL,
 *retval_ptr;
HashTable *params_ar;
int num_elems,
element = 0;
   CLS_FETCH();

if (ZEND_NUM_ARGS() != 3 ||
zend_get_parameters_ex(3, &func_name, &object, ¶ms) == FAILURE) {
WRONG_PARAM_COUNT;
}
   if (Z_TYPE_PP(object) != IS_OBJECT) {
  php_error(E_WARNING,"2nd argument is not an object\n");
  efree(params);
  RETURN_FALSE;
   }

convert_to_string_ex(func_name);

params_ar = HASH_OF(*params);
num_elems = zend_hash_num_elements(params_ar);

func_args = (zval ***)emalloc(sizeof(zval **) * num_elems);

for (zend_hash_internal_pointer_reset(params_ar);
 zend_hash_get_current_data(params_ar, (void **)&(func_args[element])) == 
SUCCESS;
 zend_hash_move_forward(params_ar))
 element++;

if (call_user_function_ex(CG(function_table), object, *func_name, &retval_ptr, 
num_elems, func_args, 1, NULL) == SUCCESS
&& retval_ptr) {
COPY_PZVAL_TO_ZVAL(*return_value, retval_ptr);
} else {
php_error(E_WARNING, "Unable to call %s() - function does not exist", 
Z_STRVAL_PP(func_name));
}
efree(func_args);
}
/* }}} */



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9445: error message when using fopen or file functions

2001-02-25 Thread pgould

From: [EMAIL PROTECTED]
Operating system: FreeBSD 4.2
PHP version:  4.0.4pl1
PHP Bug Type: HTTP related
Bug description:  error message when using fopen or file functions

This is the error message I get:

Warning: fopen("http://www.citywire.co.uk/","r") - Message too long in 
/usr/home/jon/webs/blahblah/htdocs/pull/citywire.php on line 87

Here is the script:

$filename = "http://www.citywire.co.uk/latestnews/default.asp";
$fd = fopen ($filename, "r");

This is my ISP's setup:

FreeBSD 4.2
./configure' '--with-apxs=/usr/local/sbin/apxs' '--enable-versioning' 
'--with-system-regex' '--with-config-file-path=/usr/local/etc' '--disable-debug' 
'--enable-track-vars' '--without-gd' '--disable-pear' '--without-mysql' 
'--with-gd=/usr/local' '--with-ttf=/usr/local' '--with-zlib' 
'--with-mcrypt=/usr/local' '--with-mhash=/usr/local' '--with-imap=/usr/local' 
'--with-mysql=/usr/local' '--with-xml=/usr/local' '--enable-ftp' 
'--with-gettext=/usr/local' '--with-ming' '--prefix=/usr/local' 'i386--freebsd4.2'

I don't have access to php.ini unfortunately.


-- 
Edit Bug report at: http://bugs.php.net/?id=9445&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] PHP 4.0 Bug #7069 Updated: warning message + leak memory

2001-02-25 Thread Egon Schmid (@work)

[EMAIL PROTECTED] wrote:
> 
> ID: 7069
> Updated by: derick
> Reported By: [EMAIL PROTECTED]
> Old-Status: Feedback
> Status: Closed
> Bug Type: IIS related
> Assigned To:
> Comments:
> 
> User reported that it's solved in php4.0.4pl1

Are you sure? User reported: 

nope. thanks...
it frees the memory perfectly when finishing the script...

I think nope means "no".

-Egon

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #6502 Updated: php4isapi "Dr Watsons" IIS when installed as filter

2001-02-25 Thread derick

ID: 6502
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Reproduceable crash
Assigned To: 
Comments:

The user isn't able to reproduce it anymore, because he hasn't access to that 
particular install anymore. Closing

Previous Comments:
---

[2001-02-25 15:03:23] [EMAIL PROTECTED]
Sebastian,

Sorry, but I am not in a position to build and test a snapshot at this time (I've 
moved jobs and no longer have access to a machine running IIS).

At my last job I believe that we tried 4.0.4pl1 with similar results, but my memory is 
a little hazy.  In the end, we settled for apache + php on win32.

Sorry that I can't be much help!


---

[2001-02-25 07:31:15] [EMAIL PROTECTED]
Does the problem persist with PHP 4.0.4pl1 or the latest snapshot from 
http://snaps.php.net/?

---

[2000-09-02 07:46:31] [EMAIL PROTECTED]
Err, I meant to add to my comments about building by saying that it makes it hard for 
me to help find the problem.

---

[2000-09-02 07:45:22] [EMAIL PROTECTED]
When php4isapi.dll is installed as an ISAPI filter, IIS dies on startup.

The ISAPI dll works on it's own.

Yes, this is the same bug as #4965, but there is no way for me to "me too" or 
otherwise add a comment using your bug report system.

I have the build tools and a download of the CVS from last night, but the MSVC build 
environment assumes you have an identical machine to you guys, so I can't get it all 
to build properly :-)

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=6502&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #7069 Updated: warning message + leak memory

2001-02-25 Thread derick

ID: 7069
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Closed
Bug Type: IIS related
Assigned To: 
Comments:

User reported that it's solved in php4.0.4pl1

Previous Comments:
---

[2001-02-25 07:38:41] [EMAIL PROTECTED]
Does the problem persist with PHP 4.0.4pl1 or the latest snapshot from 
http://snaps.php.net/?

---

[2000-10-06 15:06:03] [EMAIL PROTECTED]
when i use any createimage function (from any imagetype or create new) at the end 
there is a warning message.
this won't be such a big problem, but this message comes when the identifier that 
holds the image is destroyed. it happens 
- when i use destroy image
- when i don't destroy it and php tries it on his own at the end of the script
- when i try to assign something else to the imagevar

trouble is that php can't free memory again.
if i try to make 100 thumbnails of images by php, it eats up close to 200MB of memory. 
so i have to restart the iisadmin service to keep my server alive.
this happens with php 4.0.2 and 4.0.3rc1 with gif support or without.
i use nt4 sp6a and php as ISAPI.DLL




phpinfo()

http://www.php.net/">PHP Version 4.0.2



SystemWindows NT 4.0 build 1381
Build 
DateAug 30 2000
Server 
APIISAPI
Virtual Directory 
Supportenabled
Configuration File 
(php.ini) Pathphp.ini
ZEND_DEBUGdisabled
Thread 
Safetyenabled



http://www.zend.com/">
This program makes use of the Zend scripting language 
engine:Zend Engine v1.0.2, Copyright (c) 1998-2000 Zend Technologieswith Zend Optimizer v0.99, Copyright (c) 1998-2000, by Zend Technologies




PHP 4.0 
Credits

Configuration
PHP Core


DirectiveLocal ValueMaster 
Value
allow_call_time_pass_referenceOnOn
arg_separator&&
asp_tagsOffOff
auto_append_fileno 
valueno value
auto_prepend_fileno 
valueno value
browscapno valueno value
default_charsetno 
valueno value
default_mimetypetext/html  
text/html  
define_syslog_variablesOffOff
disable_functionsno 
valueno value
display_errorsOnOn
doc_rootno valueno value
enable_dlOnOn
error_append_stringOffOff
error_logno valueno value
error_prepend_stringOffOff
error_reporting20392039
expose_phpOnOn
extension_dirc:/php/extensions/c:/php/extensions/
gpc_orderGPC  GPC  
highlight.bg#FF#FF
highlight.comment#FF8000#FF8000
highlight.default#BB#BB
highlight.html#00#00
highlight.keyword#007700#007700
highlight.string#DD#DD
html_errorsOnOn
ignore_user_abortOffOff
implicit_flushOffOff
include_path././
log_errorsOffOff
magic_quotes_gpcOnOn
magic_quotes_runtimeOffOff
magic_quotes_sybaseOffOff
max_execution_time3030
open_basedirno 
valueno value
output_bufferingOffOff
precision1414
register_argc_argvOnOn
register_globalsOnOn
safe_modeOffOff
safe_mode_exec_dirno 
valueno value
sendmail_from[EMAIL PROTECTED][EMAIL PROTECTED]
sendmail_pathno 
valueno value
short_open_tagOnOn
SMTPlocalhostlocalhost
sql.safe_modeOffOff
track_errorsOffOff
track_varsOnOn
upload_max_filesize20971522097152
upload_tmp_dirno 
valueno value
user_dirno valueno value
variables_orderEGPCS  EGPCS  
y2k_complianceOnOn

gd

GD 
Supportenabled
GD 
Version1.6.2 or higher
FreeType 
Supportenabled
FreeType 
Linkagewith TTF library
PNG 
Supportenabled
JPG 
Supportenabled
WBMP 
Supportenabled

oci8

OCI8 
Supportenabled
Revision$Revision: 1.96 $

standard

Regex 
LibraryBundled library enabled
Dynamic Library 
Supportenabled
Internal Sendmail 
Support for Windows 4enabled


DirectiveLocal ValueMaster 
Value
assert.active11
assert.bail00
assert.callbackno 
valueno value
assert.quiet_eval00
assert.warning11
safe_mode_allowed_env_varsPHP_PHP_
safe_mode_protected_env_varsLD_LIBRARY_PATHLD_LIBRARY_PATH

com

DirectiveLocal ValueMaster 
Value
allow_dcomOffOff
typelib_fileno 
valueno value

pcre

PCRE (Perl 
Compatible Regular Expressions) Supportenabled
PCRE Library 
Version3.1 09-Feb-2000

odbc

ODBC Supportenabled
Active Persistent 
Links0
Active 
Links0
ODBC 
libraryWin32


DirectiveLocal ValueMaster 
Value
odbc.allow_persistentOnOn
odbc.check_persistentOnOn
odbc.default_dbno 
valueno value
odbc.default_pw
odbc.default_userno 
valueno value
odbc.defaultbinmodereturn as 
isreturn as is
odbc.defaultlrlreturn up to 4096 
bytesreturn up to 4096 bytes
odbc.max_linksUnlimitedUnlimited
odbc.max_persistentUnlimitedUnlimited

session

Session 
Supportena

[PHP-DEV] PHP 4.0 Bug #6502 Updated: php4isapi "Dr Watsons" IIS when installed as filter

2001-02-25 Thread wez

ID: 6502
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: Reproduceable crash
Description: php4isapi "Dr Watsons" IIS when installed as filter

Sebastian,

Sorry, but I am not in a position to build and test a snapshot at this time (I've 
moved jobs and no longer have access to a machine running IIS).

At my last job I believe that we tried 4.0.4pl1 with similar results, but my memory is 
a little hazy.  In the end, we settled for apache + php on win32.

Sorry that I can't be much help!


Previous Comments:
---

[2001-02-25 07:31:15] [EMAIL PROTECTED]
Does the problem persist with PHP 4.0.4pl1 or the latest snapshot from 
http://snaps.php.net/?

---

[2000-09-02 07:46:31] [EMAIL PROTECTED]
Err, I meant to add to my comments about building by saying that it makes it hard for 
me to help find the problem.

---

[2000-09-02 07:45:22] [EMAIL PROTECTED]
When php4isapi.dll is installed as an ISAPI filter, IIS dies on startup.

The ISAPI dll works on it's own.

Yes, this is the same bug as #4965, but there is no way for me to "me too" or 
otherwise add a comment using your bug report system.

I have the build tools and a download of the CVS from last night, but the MSVC build 
environment assumes you have an identical machine to you guys, so I can't get it all 
to build properly :-)

---


Full Bug description available at: http://bugs.php.net/?id=6502


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] AW: PHP 4.0 Bug #7069 Updated: warning message + leak memory

2001-02-25 Thread Sebastian Stadtlich

nope. thanks...
it frees the memory perfectly when finishing the script...

sebastian


| -Ursprüngliche Nachricht-
| Von: Bug Database [mailto:[EMAIL PROTECTED]]
| Gesendet: Sonntag, 25. Februar 2001 13:39
| An: [EMAIL PROTECTED]
| Betreff: PHP 4.0 Bug #7069 Updated: warning message + leak memory
|
|
| ID: 7069
| Updated by: sbergmann
| Reported By: [EMAIL PROTECTED]
| Old-Status: Open
| Status: Feedback
| Bug Type: IIS related
| Assigned To:
| Comments:
|
| Does the problem persist with PHP 4.0.4pl1 or the latest snapshot
| from http://snaps.php.net/?
|
| Previous Comments:
| --
| -
|
| [2000-10-06 15:06:03] [EMAIL PROTECTED]
| when i use any createimage function (from any imagetype or create
| new) at the end there is a warning message.
| this won't be such a big problem, but this message comes when the
| identifier that holds the image is destroyed. it happens
| - when i use destroy image
| - when i don't destroy it and php tries it on his own at the end
| of the script
| - when i try to assign something else to the imagevar
|
| trouble is that php can't free memory again.
| if i try to make 100 thumbnails of images by php, it eats up
| close to 200MB of memory. so i have to restart the iisadmin
| service to keep my server alive.
| this happens with php 4.0.2 and 4.0.3rc1 with gif support or without.
| i use nt4 sp6a and php as ISAPI.DLL
|
| 
| 
| 
| phpinfo()
| 
| http://www.php.net/">PHP Version 4.0.2
| 
| 
| 
| SystemWindows NT 4.0 build 1381
| Build DateAug 30 2000
| Server APIISAPI
| Virtual Directory Supportenabled
| Configuration File (php.ini) Pathphp.ini
| ZEND_DEBUGdisabled
| Thread Safetyenabled
| 
| 
| 
| http://www.zend.com/">
| This program makes use of the Zend scripting language
| engine:Zend Engine v1.0.2, Copyright (c)&n
| bsp;1998-2000 Zend Technologies   &nb
sp;with Zend Optimizer v0.99,|
 Copyright (c) 1998-2000, by Zend Te
| chnologies
| 
| 
| 
| 
| PHP 4.0 Credits
| 
| Configuration
| PHP Core
| 
| 
| DirectiveLocal
| ValueMaster Value
| allow_call_time_pass_referenceOnOn
| arg_separator&&
| asp_tagsOffOff
| auto_append_fileno valueno
| value
| auto_prepend_fileno valueno
| value
| browscapno valueno
| value
| default_charsetno valueno
| value
| default_mimetypetext/html  text/html  
| define_syslog_variablesOffOff
| disable_functionsno valueno
| value
| display_errorsOnOn
| doc_rootno valueno
| value
| enable_dlOnOn
| error_append_stringOffOff
| error_logno valueno
| value
| error_prepend_stringOffOff
| error_reporting20392039
| expose_phpOnOn
| extension_dirc:/php/extensions/c:/php/extensions/
| gpc_orderGPC
|  GPC  
| highlight.bg#FF#FF
| highlight.comment#FF8000#FF8000
| highlight.default#BB#BB
| highlight.html#00#00
| highlight.keyword#007700#007700
| highlight.string#DD#DD
| html_errorsOnOn
| ignore_user_abortOffOff
| implicit_flushOffOff
| include_path././
| log_errorsOffOff
| magic_quotes_gpcOnOn
| magic_quotes_runtimeOffOff
| magic_quotes_sybaseOffOff
| max_execution_time3030
| open_basedirno valueno
| value
| output_bufferingOffOff
| precision1414
| register_argc_argvOnOn
| register_globalsOnOn
| safe_modeOffOff
| safe_mode_exec_dirno valueno
| value
| sendmail_from[EMAIL PROTECTED][EMAIL PROTECTED]
| sendmail_pathno valueno
| value
| short_open_tagOnOn
| SMTPlocalhostlocalhost
| sql.safe_modeOffOff
| track_errorsOffOff
| track_varsOnOn
| upload_max_filesize20971522097152
| upload_tmp_dirno valueno
| value
| user_dirno valueno
| value
| variables_orderEGPCS  EGPCS  
| y2k_complianceOnOn
| 
| gd
| 
| GD Supportenabled
| GD Version1.6.2 or higher
| FreeType Supportenabled
| FreeType Linkagewith TTF library
| PNG Supportenabled
| JPG Supportenabled
| WBMP Supportenabled
| 
| oci8
| 
| OCI8 Supportenabled
| Revision$Revision: 1.96 $
| 
| standard
| 
| Regex LibraryBundled library
| enabled
| Dynamic Library Supportenabled
| Internal Sendmail Support for Windows 4enabled
| 
| 
| DirectiveLocal
| ValueMaster Value
| assert.active11
| assert.bail00
| assert.callbackno valueno
| value
| assert.quiet_eval00
| assert.warning11
| safe_mode_allowed_env_varsPHP_PHP_
| safe_mode_protected_env_varsLD_LIBRARY_PATHLD_LIBRARY_PATH
| 
| com
| 
| DirectiveLocal
| ValueMaster Value
| allow_dcomOffOff
| typelib_fileno valueno
| value
| 
| pcre
| 
| PCRE (Perl Compatible Regular Expressions)
| Supportenabled
| PCRE Library Version3.1
| 09-Feb-2000
| 
| odbc
| 
| ODBC
| Supportenabled
| Active Persistent Links0
| Active Links0
| ODBC libraryWin32
| 
| 
| DirectiveLocal
| 

[PHP-DEV] PHP 4.0 Bug #9444 Updated: Allow show_source output to be set as a variable

2001-02-25 Thread derick

ID: 9444
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Feature/Change Request
Assigned To: 
Comments:

You can easily do this with the outputbuffering functions:
ob_start();
show_source("filename");
$contents = ob_get_contents();
ob_end_flush();

Previous Comments:
---

[2001-02-25 13:21:06] [EMAIL PROTECTED]
Can you make it so that when you call show_source that you can set its output as a 
variable:

ie: $var = show_source( $file );

Thanks!

Brad Taylor
Senior Web Content Developer
BradCom Industries LTD

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9444&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9444: Allow show_source output to be set as a variable

2001-02-25 Thread brad

From: [EMAIL PROTECTED]
Operating system: Unix
PHP version:  4.0.4pl1
PHP Bug Type: Feature/Change Request
Bug description:  Allow show_source output to be set as a variable

Can you make it so that when you call show_source that you can set its output as a 
variable:

ie: $var = show_source( $file );

Thanks!

Brad Taylor
Senior Web Content Developer
BradCom Industries LTD


-- 
Edit Bug report at: http://bugs.php.net/?id=9444&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] RE: [PHP-DB] Re: [PHP] No same username

2001-02-25 Thread Scott Bernard

There is something called constraints in the database (generally).
You have to set that field in the database, to unique, or make a "unique"
index on that field.

regards.

idsarts.

-Mensaje original-
De: Web Admin [mailto:[EMAIL PROTECTED]]
Enviado el: Domingo, 25 de Febrero de 2001 10:26 a.m.
Para: Brandon Feldhahn; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Asunto: [PHP-DB] Re: [PHP] No same username


define a UNIQUE field :)

  - Original Message -
  From: Brandon Feldhahn
  To: [EMAIL PROTECTED] ; [EMAIL PROTECTED] ;
[EMAIL PROTECTED]
  Sent: Sunday, February 25, 2001 4:03 PM
  Subject: [PHP] No same username


  how do i make somthing with my database that knows it the username
  entered is already a name in use?


  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Karma Request for php-gtk

2001-02-25 Thread Rasmus Lerdorf

done

On Sun, 25 Feb 2001, Jan Lehnardt wrote:

> Hi,
> I ([EMAIL PROTECTED]) want to help with the further development and
> dokumentation.
>
> Jan
> --
>
>
> --
> PHP Development Mailing List 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Karma Request for php-gtk

2001-02-25 Thread Jan Lehnardt

Hi,
> 
> I think, you have enough karma for documentation. What are you
> developing?
> 
Since there is a lot to do to reflect the whole functionallity of GTK+
in php-gtk I simply want to help. Additionally andrei and I decided to
provide simple text documentation, until the userbase has grown.

Jan
--


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Karma Request for php-gtk

2001-02-25 Thread Egon Schmid (@work)

Jan Lehnardt wrote:

> I ([EMAIL PROTECTED]) want to help with the further development and
> dokumentation.

I think, you have enough karma for documentation. What are you
developing?

-Egon

-- 
SIX Offene Systeme GmbH   ·Stuttgart  -  Berlin 
Sielminger Straße 63   ·D-70771 Leinfelden-Echterdingen
Fon +49 711 9909164 · Fax +49 711 9909199 http://www.six.de
Besuchen Sie uns auf der CeBIT 2001,  Halle 6,  Stand F62/4

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Karma Request for php-gtk

2001-02-25 Thread Jan Lehnardt

Hi,
I ([EMAIL PROTECTED]) want to help with the further development and
dokumentation.

Jan
--


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9371 Updated: system() give unable to fork error

2001-02-25 Thread derick

ID: 9371
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Assigned
Bug Type: Unknown/Other Function
Assigned To: derick
Comments:

working on it

Previous Comments:
---

[2001-02-21 08:21:05] [EMAIL PROTECTED]
I am running an apache server, which hosts my php pages, on win2k. I am trying to use 
the system command for some PGP encryption stuff but am getting an "unable to fork" 
error! For testing I have created the following script:

NOTE: I have copied notepad.exe over to the root directory.
I am running PHP 4.0.5.



---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9371&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9069 Updated: "Unable to fork" error when trying to use external program execution.

2001-02-25 Thread derick

ID: 9069
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Assigned
Bug Type: Program Execution
Assigned To: derick
Comments:

Working on it

Previous Comments:
---

[2001-02-02 06:59:07] [EMAIL PROTECTED]
I use PHP 4.0.4 pl1 on a machine running Windows NT4 Server, with sp 6 and IIS4

When I try to use any of the functions exec(), system() or passthru(), I receive the 
following error:

Warning: Unable to fork [dir /w > c:test.txt] in D:Inetpubwwwrootcooldim.comtest.php 
on line 2.

This error was displayed when trying to run the following code:

 c:\test.txt");
?>

I tried a similar script on a Unix machine which worked fine...

Help Please!


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9069&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #8436 Updated: functions exec() and system() does not work properly (?)

2001-02-25 Thread derick

ID: 8436
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Assigned
Bug Type: Program Execution
Assigned To: derick
Comments:

Working on it

Previous Comments:
---

[2000-12-27 08:54:38] [EMAIL PROTECTED]
I've found problems with executing this script:



(pkzip - dos zip version)

In Netscape 4.7. after first execute of it I get information:

Unable fork [pkzip vv.zip aaa.dbf]

All next executes probably cause suspending Apache. 
In PHP3 there was no  such problems.

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8436&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9443 Updated: fopen() with a newtwork file path

2001-02-25 Thread derick

ID: 9443
Updated by: derick
Reported By: azhdin@netcourrier
Old-Status: Open
Status: Duplicate
Bug Type: Filesystem function related
Assigned To: 
Comments:

This is known already, duplicate of #6554

Previous Comments:
---

[2001-02-25 10:34:04] azhdin@netcourrier
The fopen() function return a "file not found" error when i use a network path like : 
//myserver/mydir/myfile.zip
There is the same error with file_exists() function
(it's good when using a map dir)

But this works very well with PHP3.0.16

I'm using Win2000, Apache 1.3.17, PHP4.0.4pl1 as module
and Zend_optimizer


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9443&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9443: fopen() with a newtwork file path

2001-02-25 Thread azhdin

From: azhdin@netcourrier
Operating system: Windows 2000
PHP version:  4.0.4pl1
PHP Bug Type: Filesystem function related
Bug description:  fopen() with a newtwork file path

The fopen() function return a "file not found" error when i use a network path like : 
//myserver/mydir/myfile.zip
There is the same error with file_exists() function
(it's good when using a map dir)

But this works very well with PHP3.0.16

I'm using Win2000, Apache 1.3.17, PHP4.0.4pl1 as module
and Zend_optimizer



-- 
Edit Bug report at: http://bugs.php.net/?id=9443&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9378 Updated: Exit() in a Funtion never break the process, PHP module still running

2001-02-25 Thread azhdin

ID: 9378
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: *Function Specific
Description: Exit() in a Funtion never break the process, PHP module still running

Here's my script where the problem occures.
You can see that there is a SQL statement error in $lvRequete because there a problem 
when an Oracle Error occures.
The first execution goes well, but since the second execution i've go the waiting 
cursor on my web page and the PHP module still running.



Previous Comments:
---

[2001-02-24 13:01:44] [EMAIL PROTECTED]
the following test script works fine for me:


can you report on this test or include the minimium about of code needed for you to 
reproduce it yourself.

James

---

[2001-02-21 13:23:59] [EMAIL PROTECTED]
Exit() in a Funtion never break the process, PHP module still running, and i have the 
Hourglass waiting cursoron my web page.

I'm using Win2000, Apache 1.3.17, PHP4.0.4pl1 as module
and Zend_optimizer



---


Full Bug description available at: http://bugs.php.net/?id=9378


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] RE: PHP 4.0 Bug #6919 Updated: URL parameter decoding

2001-02-25 Thread users

I just downloaded and installed the latest aviable version - PHP 4.0.4pl1.

Yes, the problem still exists.

|-Original Message-
|From: Bug Database [mailto:[EMAIL PROTECTED]]
|Sent: Sunday, February 25, 2001 1:33 PM
|To: [EMAIL PROTECTED]
|Subject: PHP 4.0 Bug #6919 Updated: URL parameter decoding
|
|
|ID: 6919
|Updated by: sbergmann
|Reported By: [EMAIL PROTECTED]
|Old-Status: Open
|Status: Feedback
|Bug Type: PWS related
|Assigned To:
|Comments:
|
|Does the problem persist with PHP 4.0.4pl1 or the latest snapshot
|from http://snaps.php.net/?
|
|Previous Comments:
|---
|
|[2000-12-12 11:43:51] [EMAIL PROTECTED]
|User repors it being PWS.
|
|---
|
|[2000-12-12 05:55:11] [EMAIL PROTECTED]
|Which webserver is it?
|
|---
|
|[2000-09-28 03:40:20] [EMAIL PROTECTED]
|My server is configured to retrieve a file called "index.php" by
|default. Thus the following two URLs should give the same result:
|
|(1) http://.../index.php?a=b&c=d
|(2) http://.../?a=b&c=d
|
|The statement...
|
|
|
|...results in:
|
|(1) a[b] c[d]
|(2) a[] c[]
|
|Thus, the parameters seem not to be decoded correctly in the second case.
|
|Test with HTTP_GET_VARS show the same effect.
|
|I use the precompiled windows version as found in the download
|section. And here is my "php.ini":
|
|[PHP]
|
|;;;
|; About this file ;
|;;;
|; This file controls many aspects of PHP's behavior.  In order for PHP to
|; read it, it must be named 'php.ini'.  PHP looks for it in the current
|; working directory, in the path designated by the environment variable
|; PHPRC, and in the path that was defined in compile time (in that order).
|; Under Windows, the compile-time path is the Windows directory.  The
|; path in which the php.ini file is looked for can be overriden using
|; the -c argument in command line mode.
|;
|; The syntax of the file is extremely simple.  Whitespace and Lines
|; beginning with a semicolon are silently ignored (as you probably
|guessed).
|; Section headers (e.g. [Foo]) are also silently ignored, even though
|; they might mean something in the future.
|;
|; Directives are specified using the following syntax:
|; directive = value
|; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
|;
|; The value can be a string, a number, a PHP constant (e.g. E_ALL
|or M_PI), one
|; of the INI constants (On, Off, True, False, Yes, No and None) or
|an expression
|; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
|;
|; Expressions in the INI file are limited to bitwise operators and
|parentheses:
|; |bitwise OR
|; &bitwise AND
|; ~bitwise NOT
|; !boolean NOT
|;
|; Boolean flags can be turned on using the values 1, On, True or Yes.
|; They can be turned off using the values 0, Off, False or No.
|;
|; An empty string can be denoted by simply not writing anything
|after the equal
|; sign, or by using the None keyword:
|;
|;   foo =  ; sets foo to an empty string
|;  foo = none  ; sets foo to an empty string
|;  foo = "none"; sets foo to the string 'none'
|;
|; If you use constants in your value, and these constants belong
|to a dynamically
|; loaded extension (either a PHP extension or a Zend extension),
|you may only
|; use these constants *after* the line that loads the extension.
|;
|; All the values in the php.ini-dist file correspond to the builtin
|; defaults (that is, if no php.ini is used, or if you delete these lines,
|; the builtin defaults will be identical).
|
|
|
|; Language Options ;
|
|
|engine =   On  ; Enable the PHP scripting
|language engine under Apache
|short_open_tag =   On  ; allow the  tags are recognized.
|asp_tags   =   Off ; allow ASP-style <% %> tags
|precision  =   14  ; number of significant
|digits displayed in floating point numbers
|y2k_compliance =   Off ; whether to be year 2000 compliant
|(will cause problems with non y2k compliant browsers)
|output_buffering   = Off   ; Output buffering allows you to
|send header lines (including cookies)
|   ; even
|after you send body content, in the price of slowing PHP's
|   ; output
|layer a bit.
|   ; You can
|enable output buffering by in runtime by calling the output
|   ; buffering
|functions, or enable output buffering for all files
|   ; by
|setting this directive to On.
|

[PHP-DEV] PHP 4.0 Bug #9442: session blocking, version: all including 4.0.4pl1

2001-02-25 Thread Xuefer

From: [EMAIL PROTECTED]
Operating system: Window2000
PHP version:  4.0.4pl1
PHP Bug Type: *Session related
Bug description:  session blocking, version: all including 4.0.4pl1

session blocking?
-
when session start started
in the multi-framed webpage

if one frame did not finished running(keeping-alive and conneting), the other 
frame(using the same session id) will blocked until that frame finished

-
often, an web-irc would like to keep one frame alive until user quit, when running it 
does soemthings, but other frames not work this time!!!

this problem not only bad for that keeping-alive php program to sessoin, but also bad 
for normal multi-frame's run speed, becos only one php running for 1 user, if no 
blocking, 2 or more running the same time.

if i use session_set_save_handle to use my own save handle, the problem went! is that 
the problem which internal session save handle used the file lock?
locking sessoin file until php program exited and session saved?
so how the other frame used by the same user works well?
-
pls, fix it, find a way

but if fixed, another problem still covered
perhaps both frame1.php and frame2.php running
if frame1.php changed the session, will it effect in frame2 immediately?

-
example is in:
http://www.phpwizard.net/phpChat
it use http://www.phpwizard.net/phpIRC
it works ok it php3, becos phpChat have its own session support, and was turned off in 
php4
so session blocking in php4


-- 
Edit Bug report at: http://bugs.php.net/?id=9442&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9441: New feature for foreach control structure

2001-02-25 Thread php

From: [EMAIL PROTECTED]
Operating system: (all, using) Linux 2.2.18
PHP version:  4.0.4pl1
PHP Bug Type: Feature/Change Request
Bug description:  New feature for foreach control structure

Would find it convenient to do this:

$filehandle=fopen("file","r");
foreach ($filehandle as $line) {
# process line (line ends stripped off)
}
fclose ($filehandle);

...and even this...

$filehandle=fopen("file","r");
foreach ($filehandle as $line[]) {
# $line[0] = whole line sans ends
# $line[1] = first word (exploded out gawk-like)
# $line[2] = second word, etc
}
fclose ($filehandle);

...just a thought.



-- 
Edit Bug report at: http://bugs.php.net/?id=9441&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Re: [PHP] No same username

2001-02-25 Thread Web Admin



define a UNIQUE field :)
 

  - Original Message - 
  From: 
  Brandon Feldhahn 
  To: [EMAIL PROTECTED] ; [EMAIL PROTECTED] ; [EMAIL PROTECTED] 
  Sent: Sunday, February 25, 2001 4:03 
  PM
  Subject: [PHP] No same username
  how do i make somthing with my database that knows it the 
  usernameentered is already a name in use?-- PHP General 
  Mailing List (http://www.php.net/)To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED]To 
  contact the list administrators, e-mail: [EMAIL PROTECTED]


[PHP-DEV] PHP 4.0 Bug #9018 Updated: Cannot start with ISAPI option

2001-02-25 Thread sbergmann

ID: 9018
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: *Install and Config
Assigned To: 
Comments:

Does this problem persist with PHP 4.0.4pl1?


Previous Comments:
---

[2001-01-30 19:17:36] [EMAIL PROTECTED]
My environment is : WinNT Server4.0 SP6 and IIS4.0. I am trying to install php 
(php4.0.3pl) with php4isapi.dll option (not CGI option) as I have to use PHP 
authenication. However, after I add php4isapi.dll to the ISAPI filter as described in 
the README, I cannot start the webserver anymore with the following Dr.Watson error : 
inetinfo.exe - access violation (0xc0005) address 0x77905120.

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9018&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9286 Updated: fopen fails to open "http://...." requests.

2001-02-25 Thread sbergmann

ID: 9286
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Filesystem function related
Assigned To: 
Comments:



Previous Comments:
---

[2001-02-15 14:11:08] [EMAIL PROTECTED]
I saw that I tested some versions of:
allow_url_fopen 
and my php.ini I sent contained
allow_url_fopen = Off

But the Problem also persists with
allow_url_fopen = On

Regards,
Andreas


---

[2001-02-15 14:05:21] [EMAIL PROTECTED]
Hi

fopen fails to open files from an http: location  (mightbe an ftp: location fails 
too!)
I run Apache 1.3.17 on Windows-NT and PHP 4.0.4pl1.

I tested it with the Apache-Module and as a CGI Script: Both Versions fail.
I also disabled the rewrite module completely and the fopen fails.  
With pure PHP 4.0 everything works fine.

Regards,
Andreas


Short Script:


php test


php test
";


$fp=fopen("http://nt-server:81/tmp","r");

if ( $fp ){
while (! feof($fp)) {
$buffer=fgets($fp,256);
echo $buffer;echo "";
}
$fclstat=fclose($fp);
}

?>



- List of Modules
Apache Server Information
Server Settings, mod_jserv.c, mod_php4.c, mod_usertrack.c, mod_status.c, mod_info.c, 
mod_speling.c, mod_rewrite.c, mod_proxy.c, mod_headers.c, mod_expires.c, mod_digest.c, 
mod_cern_meta.c, mod_auth_digest.c, mod_auth_dbm.c, mod_auth_anon.c, mod_isapi.c, 
mod_setenvif.c, mod_actions.c, mod_imap.c, mod_asis.c, mod_log_config.c, mod_env.c, 
mod_alias.c, mod_userdir.c, mod_cgi.c, mod_dir.c, mod_autoindex.c, mod_include.c, 
mod_negotiation.c, mod_auth.c, mod_access.c, mod_mime.c, mod_so.c, http_core.c

Server Version: Apache/1.3.17 (Win32) ApacheJServ/1.1.2 PHP/4.0.4pl1
Server Built: Jan 29 2001 22:00:19
API Version: 19990320:10
Run Mode: standalone
User/Group: #-1(1)/1
Hostname/port: nt-server.gremm.de:81
Daemons: start: 5min idle: 5max idle: 10max: 1024
Max Requests: per child: 0keep alive: onmax per connection: 100
Threads: per child: 50
Excess requests: per child: 0
Timeouts: connection: 300keep-alive: 15
Server Root: g:/program files/apache group/apache
Config File: g:/program files/apache group/apache/conf/httpd.conf
PID File: logs/httpd.pid
Scoreboard File: logs/apache_status

- Error Message:
php test
Hello World

Warning: fopen("http://nt-server:81/tmp","r") - Invalid argument in g:/program 
files/apache group/apache/htdocs/testfopen.php on line 10

-PHP INI
[PHP]

;;;
; About this file ;
;;;
; This file controls many aspects of PHP's behavior.  In order for PHP to
; read it, it must be named 'php.ini'.  PHP looks for it in the current
; working directory, in the path designated by the environment variable
; PHPRC, and in the path that was defined in compile time (in that order).
; Under Windows, the compile-time path is the Windows directory.  The
; path in which the php.ini file is looked for can be overriden using
; the -c argument in command line mode.
;
; The syntax of the file is extremely simple.  Whitespace and Lines
; beginning with a semicolon are silently ignored (as you probably guessed).
; Section headers (e.g. [Foo]) are also silently ignored, even though
; they might mean something in the future.
;
; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
;
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
;
; Expressions in the INI file are limited to bitwise operators and parentheses:
; | bitwise OR
; & bitwise AND
; ~ bitwise NOT
; ! boolean NOT
;
; Boolean flags can be turned on using the values 1, On, True or Yes.
; They can be turned off using the values 0, Off, False or No.
;
; An empty string can be denoted by simply not writing anything after the equal
; sign, or by using the None keyword:
;
;   foo =   ; sets foo to an empty string
;   foo = none  ; sets foo to an empty string
;   foo = "none"; sets foo to the string 'none'
;
; If you use constants in your value, and these constants belong to a dynamically
; loaded extension (either a PHP extension or a Zend extension), you may only
; use these constants *after* the line that loads the extension.
;
; All the values in the php.ini-dist file c

[PHP-DEV] PHP 4.0 Bug #9317 Updated: ASP doesn't work any more

2001-02-25 Thread sbergmann

ID: 9317
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: IIS related
Assigned To: 
Comments:

Are you sure you have installed the PHP 4 ISAPI filter right?

Previous Comments:
---

[2001-02-17 07:52:00] [EMAIL PROTECTED]
After PHP 4.0.4pl1 isap.dll ist installed the ASP - Support is not longer working.

I work with 

- IIS4.0
- precompiled Version of PHP



---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9317&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9233 Updated: Unable to load extensions

2001-02-25 Thread sbergmann

ID: 9233
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: *Install and Config
Assigned To: 
Comments:

Are the OCI8 client libraries installed? Those are needed by php_oci8.dll.

Previous Comments:
---

[2001-02-24 19:46:11] [EMAIL PROTECTED]
> Reported By: [EMAIL PROTECTED]
> does php_oci8.dll exists?

Of course it exists. I'am talking to you that FileMon.exe shows how php.exe reads the 
dll file, the same way as correctly loaded dlls. FileMon shows also that all files are 
found(no failed requests to disk).


---

[2001-02-24 13:41:50] [EMAIL PROTECTED]
does php_oci8.dll exists?

James

---

[2001-02-12 19:38:30] [EMAIL PROTECTED]
I am using IE5 + IIS5 + PHP4.exe (php4isap.dll have tried too).

Some dlls that actually exist are reported as 
"PHP Warning: Unable to load dynamic library 'C:KettadPHPextensionsphp_oci8.dll' - The 
specified module could not be found. "
But the half of dlls in the same directory "C:KettadPHPextensions" are loaded OK. 
FileMon shows that dlls are found and readable by php.exe.

In addition I retieve such a stuff to the end of my page 

Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)

My be that's because parser cannt load such libraries?

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9233&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #8910 Updated: apache error

2001-02-25 Thread sbergmann

ID: 8910
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Apache related
Assigned To: 
Comments:

Can't reproduce.

Previous Comments:
---

[2001-01-25 12:06:07] [EMAIL PROTECTED]
but script gets done.
output ok. ?!?!

---

[2001-01-25 12:04:07] [EMAIL PROTECTED]
every script produces an error in apache.exe when i use "sapi/php4apache.dll".
it's a access violation (memory error) in process "written".
when i execute  i get this violation 3 times.

the cgi binary version works smoothly.

any solution?!?

tia,
simeon.

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8910&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] No same username

2001-02-25 Thread André Langhorst

Brandon Feldhahn wrote:

> how do i make somthing with my database that knows it the username
> entered is already a name in use?

please do not cross-post!!!
it is sufficient to post it to _one_ mailing list (php-general)

thanks


-- 
· André Langhorstt: +49 331 5811560 ·
· [EMAIL PROTECTED]  m: +49 173 9558736 ·
* PHP Quality Assurance  http://qa.php.net  *


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #8657 Updated: Errormessage on the Browser if using UNC path notation for document root

2001-02-25 Thread sbergmann

ID: 8657
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Scripting Engine problem
Assigned To: 
Comments:

Does the problem persist with PHP 4.0.4pl1 or the latest snapshot from 
http://snaps.php.net/?


Previous Comments:
---

[2001-01-11 12:24:54] [EMAIL PROTECTED]
Installation on NT4 under Apache 1.3.14 using LoadModule php4_module 
/php/sapi/php4Apache.dll.
If document root is configured like "c:/HTDocs" all works fine (testscript 
phptest.php)
If document root is configured like "//servername/volume/domains/zpp/www.domain.de" 
(because the HTDocs are on a novell server volume) i got the errormesage on the 
browser
Warning: Failed opening '//servername/volume/domains/zpp/www.domain.de/phptest.php' 
for inclusion (include_path='') in Unknown on line 0
If i use drive mapping instead of unc path,for access to the netware volume, apache 
will not work.
Thank you in advance for help


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8657&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #8303 Updated: ODBC open & close (3 lines script !) repeatedly cause NT crash.

2001-02-25 Thread sbergmann

ID: 8303
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: ODBC related
Assigned To: 
Comments:

Does the problem persist with PHP 4.0.4pl1 or the latest snapshot from 
http://snaps.php.net/?

Previous Comments:
---

[2000-12-17 12:19:48] [EMAIL PROTECTED]
I wrote a 3 lines script that cause NT to display the following error message after 
being executed number of times. After getting this error I must close and rerun 
apache.

Title - "drwtsn32.exe - DLL initialization Failed"
Message - "Initialization of the dynamic link library C:WINNTsystem32USER32.dll 
failed. The process is terminating abnormally”

I got this error CONSISTENTLY after script was executed 828 times (see script on the 
“on the client side” section). I performed this test several times.

--
On the server side
--
Here is the script:

$MY_DB  = odbc_connect("phptest","","");
odbc_close($MY_DB);
echo "DONE!";

The DB I used is access97, the database itself (phptest) is empty. I created it but I 
didn’t create any table. 
---
On the client side:
---
I used PHP.EXE with the following script:

function my_get_url($url)
{
if (!($fp = fopen($url, "r"))) die("could not open url");

$ret="";
while (!feof ($fp)) {
$buffer = fgets($fp, 1024*10);
$ret.=$buffer;
}
fclose ($fp);
return $ret;
}


for ($i=1; $i<=2000;$i++) {
$s=my_get_url("http://www.mysite.com/mypage.php?id=$i");
$len=strlen($s);
echo "$i] len=$len $sn";
}

--- 
My server configuration is:
--- 
Winnt 4.0 with sp 6a.
Apache 1.3.12 (official version downloaded from apache.net)
PHP 4.0.3pl1 (official version from php.net) – module version

Note: I checked it also using php.exe on the server, and there was no problem (using a 
batch file loop running the same “open & close” script more than 4000 times).

I'd be happy to post more information if needed.

I also had problems with odbc & paradox.
I'm not sure it's a good idea to put it under the same bug report.


php.ini

[PHP]

;;;
; About this file ;
;;;
; This file controls many aspects of PHP's behavior.  In order for PHP to
; read it, it must be named 'php.ini'.  PHP looks for it in the current
; working directory, in the path designated by the environment variable
; PHPRC, and in the path that was defined in compile time (in that order).
; Under Windows, the compile-time path is the Windows directory.  The
; path in which the php.ini file is looked for can be overriden using
; the -c argument in command line mode.
;
; The syntax of the file is extremely simple.  Whitespace and Lines
; beginning with a semicolon are silently ignored (as you probably guessed).
; Section headers (e.g. [Foo]) are also silently ignored, even though
; they might mean something in the future.
;
; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
;
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
;
; Expressions in the INI file are limited to bitwise operators and parentheses:
; | bitwise OR
; & bitwise AND
; ~ bitwise NOT
; ! boolean NOT
;
; Boolean flags can be turned on using the values 1, On, True or Yes.
; They can be turned off using the values 0, Off, False or No.
;
; An empty string can be denoted by simply not writing anything after the equal
; sign, or by using the None keyword:
;
;   foo =   ; sets foo to an empty string
;   foo = none  ; sets foo to an empty string
;   foo = "none"; sets foo to the string 'none'
;
; If you use constants in your value, and these constants belong to a dynamically
; loaded extension (either a PHP extension or a Zend extension), you may only
; use these constants *after* the line that loads the extension.
;
; All the values in the php.ini-dist file correspond to the builtin
; defaults (that is, if no php.ini is used, or if you delete these lines,
; the builtin defaults will be identical).



; Language Options ;


engine  =   On  ; Enable the PHP scripting language engine 
under Apache
short_open_tag  =   On  ; allow the  tags are recognized.
asp_tags=   Off ; allow ASP-style <% %> tags
precision   =   14  ; number of significant digits displayed in 
floa

Re: [PHP-DEV] No same username

2001-02-25 Thread Sebastian Bergmann

Brandon Feldhahn wrote:
> how do i make somthing with my database that knows it the username
> entered is already a name in use?

  This is mailing-list is about "developing PHP", not "developing _with_
PHP". Please ask your question on [EMAIL PROTECTED], thanks.

-- 
 sebastian bergmann e-mail :  [EMAIL PROTECTED]
  homepage :  http://www.sebastian-bergmann.de
   make a gift : http://wishlist.sebastian-bergmann.de
 measure the usability of your web application -> http://phpOpenTracker.de

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] No same username

2001-02-25 Thread Brandon Feldhahn

how do i make somthing with my database that knows it the username
entered is already a name in use?


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #8210 Updated: file upload

2001-02-25 Thread sbergmann

ID: 8210
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: HTTP related
Assigned To: 
Comments:

Does the problem persist with PHP 4.0.4pl1 or the latest snapshot from 
http://snaps.php.net/?

Previous Comments:
---

[2000-12-12 12:41:36] [EMAIL PROTECTED]
one more test
windows2000+apache-1.3.14+php.exe php-4.0.3pl1(php as CGI) is working

definetly the problem is in php4apache.dll


---

[2000-12-12 12:36:08] [EMAIL PROTECTED]
I tried windows2000+apache-1.3.14+php.exe php-4.0.2(php as CGI) - works again, so I 
localize the problem in php4apache.dll I guess

here's the code if needed

if ($HTTP_POST_FILES["pic"] && $HTTP_POST_FILES["pic"]["tmp_name"] != "none"){
$userRegistrationInfo["pic"] = 
addslashes(fread(fopen($HTTP_POST_FILES["pic"]['tmp_name'], "r"), 
filesize($HTTP_POST_FILES["pic"]['tmp_name'])));unlink($HTTP_POST_FILES["pic"]['tmp_name']);

$userRegistrationInfo["pic_type"] = $HTTP_POST_FILES["pic"]['type'];
}

and after that something like
mysql_query("insert into person set ".implode(',', $userQuery));


---

[2000-12-12 12:10:38] [EMAIL PROTECTED]
so when I use windows2000+apache-1.3.14+php4apache.dll php-4.0.3pl1 (php as apache 
module)
and I upload files and put them in MySQL table they do come full (only few bytes of 
them are inserted into MySQL) I do not know exactly how much.

I downgraded to windows2000+apache-1.3.12+php.exe php-4.0.2(php as CGI)

it works perfectly

on linux also works perfectly

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8210&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9376 Updated: php_zlib.dll compile errors

2001-02-25 Thread sbergmann

ID: 9376
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Compile Failure
Assigned To: 
Comments:

Fixed in CVS.

Previous Comments:
---

[2001-02-21 12:09:57] [EMAIL PROTECTED]
Configuration: zlib - Win32 Release_TS
Compiling...
zlib.c
D:compilephpphp4-200102210745extzlibzlib.c(939) : warning C4244: '=' : conversion from 
'double ' to 'unsigned int ', possible loss of data
Linking...
xilink6: executing 'D:MSDEVVC98binlink.exe'
   Creating library Release_TS/php_zlib.lib and object Release_TS/php_zlib.exp
zlib.obj : error LNK2001: unresolved external symbol _gzclose
zlib.obj : error LNK2001: unresolved external symbol _zlibVersion
zlib.obj : error LNK2001: unresolved external symbol _gzgets
zlib.obj : error LNK2001: unresolved external symbol _gzdopen
zlib.obj : error LNK2001: unresolved external symbol _gzeof
zlib.obj : error LNK2001: unresolved external symbol _gzgetc
zlib.obj : error LNK2001: unresolved external symbol _gzwrite
zlib.obj : error LNK2001: unresolved external symbol _gzrewind
zlib.obj : error LNK2001: unresolved external symbol _gztell
zlib.obj : error LNK2001: unresolved external symbol _gzseek
zlib.obj : error LNK2001: unresolved external symbol _gzread
zlib.obj : error LNK2001: unresolved external symbol _zError
zlib.obj : error LNK2001: unresolved external symbol _compress
zlib.obj : error LNK2001: unresolved external symbol _compress2
zlib.obj : error LNK2001: unresolved external symbol _uncompress
zlib.obj : error LNK2001: unresolved external symbol _deflateEnd
zlib.obj : error LNK2001: unresolved external symbol _deflate
zlib.obj : error LNK2001: unresolved external symbol _deflateInit2_
zlib.obj : error LNK2001: unresolved external symbol _inflateEnd
zlib.obj : error LNK2001: unresolved external symbol _inflate
zlib.obj : error LNK2001: unresolved external symbol _inflateInit2_
zlib.obj : error LNK2001: unresolved external symbol _crc32
zlib.obj : error LNK2001: unresolved external symbol _deflateInit_
Release_TS/php_zlib.dll : fatal error LNK1120: 23 unresolved externals
Error executing xilink6.exe.

php_zlib.dll - 24 error(s), 1 warning(s)


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9376&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #7481 Updated: When accesing to data with mssql_query php crashes. Seems a pointer error

2001-02-25 Thread sbergmann

ID: 7481
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: MSSQL related
Assigned To: 
Comments:



Previous Comments:
---

[2000-10-26 09:42:16] [EMAIL PROTECTED]
function fetchtable()
{
$hostname = "1.100.1.131"; 
$username = "bdmssql"; 
$password = "bdmssql"; 
$dbName = "bdm"; 

$dbhandle = MSSQL_CONNECT($hostname,$username,$password) or DIE("DATABASE FAILED TO 
RESPOND."); 
mssql_select_db($dbName) or DIE("Table unavailable"); 


print "";

/* here come some commands to make the query string*/


$salida=MSSQL_QUERY("$str_1 $str_2 $str_3;");
/* the query string looks like:
SELECT t1.ID_PER ,t1.NOMBRE ,t1.APELLIDOS ,t1.NACIONALIDAD ,t1.FECHA_NACIM 
,t1.PROFESION ,t1.SEXO ,b7.DESCRIPCION as IDIOMA ,b8.NOMBRE as INSTITUCION 
FROM personas t1, IDIOMAS b7, INSTITUCIONES b8 
WHERE b7.ID_IDI = t1.REF_IDI AND b8.ID_INS = t1.REF_INS  */
$fila=0;
while ($array_sal[$fila] = mssql_fetch_row ($salida))
{
$fila++;
print "";
print "";
for ($p=1;$p".$array_sal[$fila-1][$p].""; }
print "";
}
I have only activated php_mssql7.dll

The error is like:
I n the server console an eroor message pops up telling:
---
php.exe : Application error.
" Intruction "0x7800..." has referenced memory at "0x0065...". I has not been able to 
write to memory.

Choos Ok to end application.
Choose cancel to debug application.

As you can see It's very likely to be a pointer error , which i think should be 
corrected.

Thanks anyway


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=7481&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #7090 Updated: PHP, IIS, and Exchange don't get along

2001-02-25 Thread sbergmann

ID: 7090
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Reproduceable crash
Assigned To: 
Comments:

Does the problem persist with PHP 4.0.4pl1 or the latest snapshot from 
http://snaps.php.net/?

Previous Comments:
---

[2000-10-08 14:40:44] [EMAIL PROTECTED]
Check out bug #6763.
1. Install IIS 4.0 on winnt server 4.0 w/ sp4
2. Install PHP
3. Run a test php script...works fine
4. Install exchange server 5.5.
5. Test accessing mail through IIS and it works fine.
6. Repeat step 3.  Crashes 
7. Repeat step 5.  Still works fine.

I am having this same problem only we installed php first and then exchange.  PHP runs 
without any problems until someone accesses their webmail.  Then all hell breaks loose 
and php shuts off claiming an "PHP has encountered an Access Violation at 73342F43" It 
some extreme cases, it takes down all of the web services but this is rare.  We are 
running this on NT Server 4.0.  IIS then locks up and only a restart will fix the 
problem.  
Error Log Reports the following:
Source: WAM
Description: The HTTP server encountered an unhandled exception while processing the 
ISAPI Application 'c:winntsystem32php4isapi.dll'.
Shoot me an email if you need more info.

Mike

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=7090&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #7069 Updated: warning message + leak memory

2001-02-25 Thread sbergmann

ID: 7069
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: IIS related
Assigned To: 
Comments:

Does the problem persist with PHP 4.0.4pl1 or the latest snapshot from 
http://snaps.php.net/?

Previous Comments:
---

[2000-10-06 15:06:03] [EMAIL PROTECTED]
when i use any createimage function (from any imagetype or create new) at the end 
there is a warning message.
this won't be such a big problem, but this message comes when the identifier that 
holds the image is destroyed. it happens 
- when i use destroy image
- when i don't destroy it and php tries it on his own at the end of the script
- when i try to assign something else to the imagevar

trouble is that php can't free memory again.
if i try to make 100 thumbnails of images by php, it eats up close to 200MB of memory. 
so i have to restart the iisadmin service to keep my server alive.
this happens with php 4.0.2 and 4.0.3rc1 with gif support or without.
i use nt4 sp6a and php as ISAPI.DLL




phpinfo()

http://www.php.net/">PHP Version 4.0.2



SystemWindows NT 4.0 build 1381
Build 
DateAug 30 2000
Server 
APIISAPI
Virtual Directory 
Supportenabled
Configuration File 
(php.ini) Pathphp.ini
ZEND_DEBUGdisabled
Thread 
Safetyenabled



http://www.zend.com/">
This program makes use of the Zend scripting language 
engine:Zend Engine v1.0.2, Copyright (c) 1998-2000 Zend Technologieswith Zend Optimizer v0.99, Copyright (c) 1998-2000, by Zend Technologies




PHP 4.0 
Credits

Configuration
PHP Core


DirectiveLocal ValueMaster 
Value
allow_call_time_pass_referenceOnOn
arg_separator&&
asp_tagsOffOff
auto_append_fileno 
valueno value
auto_prepend_fileno 
valueno value
browscapno valueno value
default_charsetno 
valueno value
default_mimetypetext/html  
text/html  
define_syslog_variablesOffOff
disable_functionsno 
valueno value
display_errorsOnOn
doc_rootno valueno value
enable_dlOnOn
error_append_stringOffOff
error_logno valueno value
error_prepend_stringOffOff
error_reporting20392039
expose_phpOnOn
extension_dirc:/php/extensions/c:/php/extensions/
gpc_orderGPC  GPC  
highlight.bg#FF#FF
highlight.comment#FF8000#FF8000
highlight.default#BB#BB
highlight.html#00#00
highlight.keyword#007700#007700
highlight.string#DD#DD
html_errorsOnOn
ignore_user_abortOffOff
implicit_flushOffOff
include_path././
log_errorsOffOff
magic_quotes_gpcOnOn
magic_quotes_runtimeOffOff
magic_quotes_sybaseOffOff
max_execution_time3030
open_basedirno 
valueno value
output_bufferingOffOff
precision1414
register_argc_argvOnOn
register_globalsOnOn
safe_modeOffOff
safe_mode_exec_dirno 
valueno value
sendmail_from[EMAIL PROTECTED][EMAIL PROTECTED]
sendmail_pathno 
valueno value
short_open_tagOnOn
SMTPlocalhostlocalhost
sql.safe_modeOffOff
track_errorsOffOff
track_varsOnOn
upload_max_filesize20971522097152
upload_tmp_dirno 
valueno value
user_dirno valueno value
variables_orderEGPCS  EGPCS  
y2k_complianceOnOn

gd

GD 
Supportenabled
GD 
Version1.6.2 or higher
FreeType 
Supportenabled
FreeType 
Linkagewith TTF library
PNG 
Supportenabled
JPG 
Supportenabled
WBMP 
Supportenabled

oci8

OCI8 
Supportenabled
Revision$Revision: 1.96 $

standard

Regex 
LibraryBundled library enabled
Dynamic Library 
Supportenabled
Internal Sendmail 
Support for Windows 4enabled


DirectiveLocal ValueMaster 
Value
assert.active11
assert.bail00
assert.callbackno 
valueno value
assert.quiet_eval00
assert.warning11
safe_mode_allowed_env_varsPHP_PHP_
safe_mode_protected_env_varsLD_LIBRARY_PATHLD_LIBRARY_PATH

com

DirectiveLocal ValueMaster 
Value
allow_dcomOffOff
typelib_fileno 
valueno value

pcre

PCRE (Perl 
Compatible Regular Expressions) Supportenabled
PCRE Library 
Version3.1 09-Feb-2000

odbc

ODBC Supportenabled
Active Persistent 
Links0
Active 
Links0
ODBC 
libraryWin32


DirectiveLocal ValueMaster 
Value
odbc.allow_persistentOnOn
odbc.check_persistentOnOn
odbc.default_dbno 
valueno value
odbc.default_pw
odbc.default_userno 
valueno value
odbc.defaultbinmodereturn as 
isreturn as is
odbc.defaultlrlreturn up to 4096 
bytesreturn up to 4096 bytes
odbc.max_linksUnlimitedUnlimited
odbc.max_persistentUnlimitedUnlimited

session

Session 
Supportenabled


DirectiveLocal ValueMaster 
Value
session.auto_startOffOff
session.cache_expire180180
session.cache_limiternocachenocache
session.cookie_domainno 
va

[PHP-DEV] PHP 4.0 Bug #7622 Updated: Servlet API. VM crashes with session_start()

2001-02-25 Thread sbergmann

ID: 7622
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Reproduceable crash
Assigned To: 
Comments:

Does the problem persist with PHP 4.0.4pl1 or the latest snapshot from 
http://snaps.php.net/?

Previous Comments:
---

[2000-11-03 10:14:29] [EMAIL PROTECTED]
Using php4.0.0 as servlet in tomcat 3.1 with SUN JDK 1.2.2 (Build 001).
Whenever a session_start() is encountered, the VM crashes.





Win32 binaries from php.net.

php.ini:

[PHP]

;;;
; About this file ;
;;;
;
; This is the 'optimized', PHP 4-style version of the php.ini-dist file.
; For general information about the php.ini file, please consult the php.ini-dist
; file, included in your PHP distribution.
;
; This file is different from the php.ini-dist file in the fact that it features
; different values for several directives, in order to improve performance, while
; possibly breaking compatibility with the standard out-of-the-box behavior of
; PHP 3.  Please make sure you read what's different, and modify your scripts
; accordingly, if you decide to use this file instead.
;
; - allow_call_time_pass_reference = Off
; It's not possible to decide to force a variable to be passed by reference
; when calling a function.  The PHP 4 style to do this is by making the
; function require the relevant argument by reference.
; - register_globals = Off
; Global variables are no longer registered for input data (POST, GET, cookies,
; environment and other server variables).  Instead of using $foo, you must use
; $HTTP_POST_VARS["foo"], $HTTP_GET_VARS["foo"], $HTTP_COOKIE_VARS["foo"], 
; $HTTP_ENV_VARS["foo"] or $HTTP_SERVER_VARS["foo"], depending on which kind
; of input source you're expecting 'foo' to come from.
; - register_argc_argv = Off
; Disables registration of the somewhat redundant $argv and $argc global
; variables.
; - magic_quotes_gpc = Off
; Input data is no longer escaped with slashes so that it can be sent into
; SQL databases without further manipulation.  Instead, you should use the
; function addslashes() on each input element you wish to send to a database.
; - variables_order = "GPCS"
; The environment variables are not hashed into the $HTTP_ENV_VARS[].  To access
; environment variables, you can use getenv() instead.



; Language Options ;


engine  =   On  ; Enable the PHP scripting language engine 
under Apache
short_open_tag  =   On  ; allow the  tags are recognized.
asp_tags=   Off ; allow ASP-style <% %> tags
precision   =   14  ; number of significant digits displayed in 
floating point numbers
y2k_compliance  =   Off ; whether to be year 2000 compliant (will cause 
problems with non y2k compliant browsers)
output_buffering= Off   ; Output buffering allows you to send header lines 
(including cookies)
; even after you send body 
content, in the price of slowing PHP's
; output layer a bit.
; You can enable output 
buffering by in runtime by calling the output
; buffering functions, or 
enable output buffering for all files
; by setting this directive to 
On.
implicit_flush  = Off   ; Implicit flush tells PHP to tell the output layer to 
flush itself
; automatically after every 
output block.  This is equivalent to
; calling the PHP function 
flush() after each and every call to print()
; or echo() and each and every 
HTML block.
; Turning this option on has 
serious performance implications, and
; is generally recommended for 
debugging purposes only.
allow_call_time_pass_reference  = Off   ; whether to enable the ability to force 
arguments to be 
; 
passed by reference at function-call time.  This method
; is 
deprecated, and is likely to be unsupported in future
; 
versions of PHP/Zend.  The encouraged method of specifying
; 
which arguments should 

[PHP-DEV] PHP 4.0 Bug #7665 Updated: php4isapi.dll: ServerFunc() HSE_MAP_URL_TO_PATH_EX - is not presently implement

2001-02-25 Thread sbergmann

ID: 7665
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Other web server
Assigned To: 
Comments:

Does the problem persist with PHP 4.0.4pl1 or the latest snapshot from 
http://snaps.php.net/?

Previous Comments:
---

[2000-11-20 12:22:06] [EMAIL PROTECTED]
reclassified

---

[2000-11-06 10:58:25] [EMAIL PROTECTED]
Operating S Winnt 4.0 SP4 / Sambar 4.3 / 

When a user try to connect to PHP pages, the browser hang, and in the log file of 
Sambar
you can see:

Loading - php4isapi.dll: isapi
php4isapi.dll: ServerFunc() HSE_MAP_URL_TO_PATH_EX - is not presently implement

Why ?

Thanks

I forget
The php script is good, and run under Windows 98 with PWS.

---

[2000-11-06 10:53:53] [EMAIL PROTECTED]
Operating S Winnt 4.0 SP4 / Sambar 4.3 / 

When a user try to connect to PHP pages, the browser hang, and in the log file of 
Sambar you can see:

Loading - php4isapi.dll: isapi
php4isapi.dll: ServerFunc() HSE_MAP_URL_TO_PATH_EX - is not presently implement

Why ?

Thanks


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=7665&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #7481 Updated: When accesing to data with mssql_query php crashes. Seems a pointer error

2001-02-25 Thread sbergmann

ID: 7481
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: MSSQL related
Assigned To: 
Comments:

Does the problem persist with PHP 4.0.4pl1 or the latest snapshot from 
http://snaps.php.net/?

Previous Comments:
---

[2000-10-26 09:42:16] [EMAIL PROTECTED]
function fetchtable()
{
$hostname = "1.100.1.131"; 
$username = "bdmssql"; 
$password = "bdmssql"; 
$dbName = "bdm"; 

$dbhandle = MSSQL_CONNECT($hostname,$username,$password) or DIE("DATABASE FAILED TO 
RESPOND."); 
mssql_select_db($dbName) or DIE("Table unavailable"); 


print "";

/* here come some commands to make the query string*/


$salida=MSSQL_QUERY("$str_1 $str_2 $str_3;");
/* the query string looks like:
SELECT t1.ID_PER ,t1.NOMBRE ,t1.APELLIDOS ,t1.NACIONALIDAD ,t1.FECHA_NACIM 
,t1.PROFESION ,t1.SEXO ,b7.DESCRIPCION as IDIOMA ,b8.NOMBRE as INSTITUCION 
FROM personas t1, IDIOMAS b7, INSTITUCIONES b8 
WHERE b7.ID_IDI = t1.REF_IDI AND b8.ID_INS = t1.REF_INS  */
$fila=0;
while ($array_sal[$fila] = mssql_fetch_row ($salida))
{
$fila++;
print "";
print "";
for ($p=1;$p".$array_sal[$fila-1][$p].""; }
print "";
}
I have only activated php_mssql7.dll

The error is like:
I n the server console an eroor message pops up telling:
---
php.exe : Application error.
" Intruction "0x7800..." has referenced memory at "0x0065...". I has not been able to 
write to memory.

Choos Ok to end application.
Choose cancel to debug application.

As you can see It's very likely to be a pointer error , which i think should be 
corrected.

Thanks anyway


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=7481&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #7237 Updated: PHP Isapi Filter fails after some consecutive uses

2001-02-25 Thread sbergmann

ID: 7237
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: IIS related
Assigned To: 
Comments:

Does the problem persist with PHP 4.0.4pl1 or the latest snapshot from 
http://snaps.php.net/?

Previous Comments:
---

[2000-10-16 07:28:56] [EMAIL PROTECTED]
This also happens to me with 4.0.2. From the browser, I press the "Refresh" page 
button two or three times quickly. Finally I get this output:

270 (0x010e)

and the W3SVC service does not respond to any control signal (stop, start...). In 
fact, the filter for .ASP pages is also stopped. However, static pages (HTML) are 
served normally.

The most strange thing is that after several minutes, the PHP pages are "back". It 
seems an IIS-thread problem, but I can't find any explanation...

The extension DLL's are not relevant, this happens in any case.



---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=7237&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #6919 Updated: URL parameter decoding

2001-02-25 Thread sbergmann

ID: 6919
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: PWS related
Assigned To: 
Comments:

Does the problem persist with PHP 4.0.4pl1 or the latest snapshot from 
http://snaps.php.net/?

Previous Comments:
---

[2000-12-12 11:43:51] [EMAIL PROTECTED]
User repors it being PWS. 

---

[2000-12-12 05:55:11] [EMAIL PROTECTED]
Which webserver is it?

---

[2000-09-28 03:40:20] [EMAIL PROTECTED]
My server is configured to retrieve a file called "index.php" by default. Thus the 
following two URLs should give the same result:

(1) http://.../index.php?a=b&c=d
(2) http://.../?a=b&c=d

The statement...



...results in:

(1) a[b] c[d]
(2) a[] c[]

Thus, the parameters seem not to be decoded correctly in the second case.

Test with HTTP_GET_VARS show the same effect.

I use the precompiled windows version as found in the download section. And here is my 
"php.ini":

[PHP]

;;;
; About this file ;
;;;
; This file controls many aspects of PHP's behavior.  In order for PHP to
; read it, it must be named 'php.ini'.  PHP looks for it in the current
; working directory, in the path designated by the environment variable
; PHPRC, and in the path that was defined in compile time (in that order).
; Under Windows, the compile-time path is the Windows directory.  The
; path in which the php.ini file is looked for can be overriden using
; the -c argument in command line mode.
;
; The syntax of the file is extremely simple.  Whitespace and Lines
; beginning with a semicolon are silently ignored (as you probably guessed).
; Section headers (e.g. [Foo]) are also silently ignored, even though
; they might mean something in the future.
;
; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
;
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
;
; Expressions in the INI file are limited to bitwise operators and parentheses:
; | bitwise OR
; & bitwise AND
; ~ bitwise NOT
; ! boolean NOT
;
; Boolean flags can be turned on using the values 1, On, True or Yes.
; They can be turned off using the values 0, Off, False or No.
;
; An empty string can be denoted by simply not writing anything after the equal
; sign, or by using the None keyword:
;
;   foo =   ; sets foo to an empty string
;   foo = none  ; sets foo to an empty string
;   foo = "none"; sets foo to the string 'none'
;
; If you use constants in your value, and these constants belong to a dynamically
; loaded extension (either a PHP extension or a Zend extension), you may only
; use these constants *after* the line that loads the extension.
;
; All the values in the php.ini-dist file correspond to the builtin
; defaults (that is, if no php.ini is used, or if you delete these lines,
; the builtin defaults will be identical).



; Language Options ;


engine  =   On  ; Enable the PHP scripting language engine 
under Apache
short_open_tag  =   On  ; allow the  tags are recognized.
asp_tags=   Off ; allow ASP-style <% %> tags
precision   =   14  ; number of significant digits displayed in 
floating point numbers
y2k_compliance  =   Off ; whether to be year 2000 compliant (will cause 
problems with non y2k compliant browsers)
output_buffering= Off   ; Output buffering allows you to send header lines 
(including cookies)
; even after you send body 
content, in the price of slowing PHP's
; output layer a bit.
; You can enable output 
buffering by in runtime by calling the output
; buffering functions, or 
enable output buffering for all files
; by setting this directive to 
On.
implicit_flush  = Off   ; Implicit flush tells PHP to tell the output layer to 
flush itself
; automatically after every 
output block.  This is equivalent to
; calling the PHP function 
flush() after ea

[PHP-DEV] PHP 4.0 Bug #6704 Updated: Authentication does not work with PHP4 ISAPI

2001-02-25 Thread sbergmann

ID: 6704
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: IIS related
Assigned To: 
Comments:

Does the problem persist with PHP 4.0.4pl1 or the latest snapshot from 
http://snaps.php.net/?

Previous Comments:
---

[2000-09-13 02:14:50] [EMAIL PROTECTED]
When PHP4ISAPI.DLL is added to the list of ISAPI filters, user name/password 
authentication always fails.  When it is removed from the list of filters but kept as 
an application mapping, authentication appears to be disabled for the whole service, 
allowing any user to access protected pages.  When the DLL is removed entirely, 
authentication returns to normal.

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=6704&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #6502 Updated: php4isapi "Dr Watsons" IIS when installed as filter

2001-02-25 Thread sbergmann

ID: 6502
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Reproduceable crash
Assigned To: 
Comments:

Does the problem persist with PHP 4.0.4pl1 or the latest snapshot from 
http://snaps.php.net/?

Previous Comments:
---

[2000-09-02 07:46:31] [EMAIL PROTECTED]
Err, I meant to add to my comments about building by saying that it makes it hard for 
me to help find the problem.

---

[2000-09-02 07:45:22] [EMAIL PROTECTED]
When php4isapi.dll is installed as an ISAPI filter, IIS dies on startup.

The ISAPI dll works on it's own.

Yes, this is the same bug as #4965, but there is no way for me to "me too" or 
otherwise add a comment using your bug report system.

I have the build tools and a download of the CVS from last night, but the MSVC build 
environment assumes you have an identical machine to you guys, so I can't get it all 
to build properly :-)

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=6502&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9440 Updated: Bug in php.ini parser

2001-02-25 Thread sbergmann

ID: 9440
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Scripting Engine problem
Assigned To: 
Comments:

extension = extension.dll (PHP Extension) works fine on Win32. As reported by Klaus 
Reimer this isn't the case with *.so on *NIX.


Previous Comments:
---

[2001-02-25 07:21:13] [EMAIL PROTECTED]
Seems like I copied the spelling mistake from Klaus Reimer's mail on the APL 
mailing-list, so here we go again:

  extension = my_extension.so

does not work, while 

  extension=my_extension.so

does.

Both PHP and Zend extensions are affected.



---

[2001-02-25 07:19:25] [EMAIL PROTECTED]
  extenstion = my_extension.so

does not work, while 

  extenstion=my_extension.so

does.

Both PHP and Zend extensions are affected.


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9440&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #8762 Updated: No warning when entered nonexistent dll.

2001-02-25 Thread sbergmann

ID: 8762
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: *Configuration Issues
Assigned To: 
Comments:

I get an error as "proposed" by you here with PHP 4.0.5-dev on Win32.

Previous Comments:
---

[2001-01-17 10:33:58] [EMAIL PROTECTED]
When I enter nonexistent extension into php.ini like

extension=i_do_not_exist.dll

php just gets stuck and leaves browser waiting. Instead,
I suppose it should write something like

Extension i_do_not_exist.dll was not found in
c:phpextensions.

I think this is basically a bug.


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8762&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #8755 Updated: DLL gives Access violation

2001-02-25 Thread sbergmann

ID: 8755
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: MSSQL related
Assigned To: 
Comments:

Does the problem persist with PHP 4.0.4pl1 or the latest snapshot from 
http://snaps.php.net/?

Previous Comments:
---

[2001-01-17 03:57:36] [EMAIL PROTECTED]
System is a Windows NT server running IIS and MS SQL 7.0.
Using the DLL version of the PHP server gives an "Access Violation" when using 
mssql_pconnect. mssql_connect is more stable but still occasionally reports the error 
as well. In most cases the MS Web server needs stopping/starting to correct the error.

Using the executable version of the PHP server produces no errors (i.e. change 
extensions to ".phx" and all is well and no crashes).

I have tried temporarily using MySQL instead and no errors are produced.

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8755&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9440 Updated: Bug in php.ini parser

2001-02-25 Thread sbergmann

ID: 9440
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Scripting Engine problem
Assigned To: 
Comments:

Seems like I copied the spelling mistake from Klaus Reimer's mail on the APL 
mailing-list, so here we go again:

  extension = my_extension.so

does not work, while 

  extension=my_extension.so

does.

Both PHP and Zend extensions are affected.



Previous Comments:
---

[2001-02-25 07:19:25] [EMAIL PROTECTED]
  extenstion = my_extension.so

does not work, while 

  extenstion=my_extension.so

does.

Both PHP and Zend extensions are affected.


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9440&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9440: Bug in php.ini parser

2001-02-25 Thread sbergmann

From: [EMAIL PROTECTED]
Operating system: 
PHP version:  4.0 Latest CVS (25/02/2001)
PHP Bug Type: Scripting Engine problem
Bug description:  Bug in php.ini parser

  extenstion = my_extension.so

does not work, while 

  extenstion=my_extension.so

does.

Both PHP and Zend extensions are affected.



-- 
Edit Bug report at: http://bugs.php.net/?id=9440&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9267 Updated: vars are set to "" instead of NULL

2001-02-25 Thread phanto

ID: 9267
User Update by: [EMAIL PROTECTED]
Status: Closed
Old-Bug Type: MySQL related
Bug Type: Feature/Change Request
Description: vars are set to "" instead of NULL

i think this is not an acceptable behaviour. "" could be everything, an empty string, 
an integer field with the value null or even a field set to NULL.
as you obviously noticed we are talking from database interfaces in general, not only 
mysql (as you can see we where talking about mssql in detail).

at least i would make this a feature request.

Previous Comments:
---

[2001-02-24 12:14:05] [EMAIL PROTECTED]
This seems due to PHP assuming MySQL's return values are strings, which point it is 
converted into an empty sting. Probably your best bet is to test for a "". I think 
this behaviour is documented somewhere.

James

---

[2001-02-22 13:30:58] [EMAIL PROTECTED]




---

[2001-02-22 05:26:38] [EMAIL PROTECTED]
Could you provide a short example of a code that reproduces
this?

---

[2001-02-14 17:06:49] [EMAIL PROTECTED]
don't know if this is only related to the mssql extension, but when i retrieve a NULL 
- field from the database the var will be set to "" or 0 or whatever in php.

is_null() returns false.

harald.

---


Full Bug description available at: http://bugs.php.net/?id=9267


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9319 Updated: join function joins in reverse order in one specific instance.

2001-02-25 Thread jmoore

ID: 9319
Updated by: jmoore
Reported By: [EMAIL PROTECTED]
Old-Status: Analyzed
Status: Closed
Bug Type: Arrays related
Assigned To: 
Comments:

This is the expected behaviour and wont be changed anytime soon due to breaking too 
many scripts if we do. Please use ksort() if you really need to do this.

James

Previous Comments:
---

[2001-02-24 14:08:15] [EMAIL PROTECTED]
Verified under win2k 4.0.5-dev

This might be the expected behaviour but it is also undesirable. I cant think of a 
nice way of implmenting a fix due to the fact adding a sort to sort the keys will 
break lots of peoples scripts. Perhaps just tell the end user to ksort first although 
I feel arrays with numeric keys should probably join them in order?

James


---

[2001-02-17 12:02:51] [EMAIL PROTECTED]
$arr1 = array("dog","cat","bird","fish");
echo join(" = ",$arr1);

echo "";

$arr2[0] = "dog";
$arr2[1] = "cat";
$arr2[2] = "bird";
$arr2[3] = "fish";
echo join(" = ",$arr2);

echo "";

list($arr3[0],$arr3[1],$arr3[2],$arr3[3]) = array("dog","cat","bird","fish");
echo join(" = ",$arr3);

// This last join will join in the reverse order.

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9319&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Re: PHP 4.0 Bug #9145 Updated: File Uploads > 9MB are broken. Upload stops with: Can't find server.

2001-02-25 Thread Marc Ende

Hi James

Both done before submitting the bug. The changes takes no effects...

Marc


>From: Bug Database <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: PHP 4.0 Bug #9145 Updated: File Uploads > 9MB are broken. Upload 
>stops with: Can't find server.
>Date: 24 Feb 2001 17:34:14 -
>
>ID: 9145
>Updated by: jmoore
>Reported By: [EMAIL PROTECTED]
>Old-Status: Open
>Status: Bogus
>Bug Type: *Directory/Filesystem functions
>Assigned To:
>Comments:
>
>you need to alter you php.ini to allow uploads and also you need to up the 
>max mem usage in php.ini too.
>
>James
>
>Previous Comments:
>---
>
>[2001-02-07 07:34:22] [EMAIL PROTECTED]
>
>System:
>SunOS star21 5.6 Generic_105181-21 sun4u sparc SUNW,UltraSPARC-IIi-cEngine
>
>Webserver:
>apache 1.3.9
>
>Compile Options:
>'./configure' '--prefix=/users/www/local/apache/php4' 
>'--with-apxs=/users/www/local/apache-1.3.9/bin/apxs' '--with-gd=/usr/local' 
>'--with-gdbm=/usr/local' '--with-config-file-path=/users/www/etc' 
>'--with-msql=/users/local/msql' '--with-mysql=/users/local/mysql-static' 
>'--enable-ftp'
>
>---
>
>
>
>ATTENTION! Do NOT reply to this email!
>To reply, use the web interface found at 
>http://bugs.php.net/?id=9145&edit=2
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] RE: PHP 4.0 Bug #9418 Updated: Upload image file is broken

2001-02-25 Thread Simonov I.

What info yuo need?

> -Original Message-
> From: Bug Database [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, February 25, 2001 12:24 AM
> To: [EMAIL PROTECTED]
> Subject: PHP 4.0 Bug #9418 Updated: Upload image file is broken
> 
> 
> ID: 9418
> Updated by: jmoore
> Reported By: [EMAIL PROTECTED]
> Old-Status: Open
> Status: Closed
> Bug Type: *General Issues
> Assigned To: 
> Comments:
> 
> Not enough information supplied closing.
> 
> Previous Comments:
> --
> -
> 
> [2001-02-23 05:04:14] [EMAIL PROTECTED]
> I have a problem with upload gif image (original differ from 
> upload image). With yours recommendation, i install last cvs 
> version of php4. But this not solved my problem. What i must 
> doing for solving my problem?
> 
> 
> --
> -
> 
> 
> 
> ATTENTION! Do NOT reply to this email!
> To reply, use the web interface found at 
> http://bugs.php.net/?id=9418&edit=2
> 

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9302 Updated: Fallo en la funcion sscanf

2001-02-25 Thread stas

ID: 9302
Updated by: stas
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Strings related
Assigned To: 
Comments:

Not a bug. Scanf delimits strings by whitespace, not by
arbitrary symbol. Use [pe]reg_match or split if you need to
delimit by arbitrary symbol.

Previous Comments:
---

[2001-02-19 03:04:39] [EMAIL PROTECTED]
That's an error in function sscanf. The next code don´t works properly:


 
 the ouput would be:
 
 hola;esto;es;una;prueba
 
 If we use the next code, output would be correct:



 
 And the output would be:
 
 holaestoesunaprueba
 
the function sscanf is unable to read the string under an especified format.

PD: When a bug report's section at your site written in Spanish??? It isn't so 
difficult, jani.


---

[2001-02-18 16:29:33] [EMAIL PROTECTED]
Use english ONLY when submitting bug reports.

--Jani


---

[2001-02-16 11:13:03] [EMAIL PROTECTED]
 Hay un error en la funcion sscanf ya que no realiza
 la lectura de datos segun el formato especificado.
 Por ejemplo, consideremos el siguiente codigo:
 
 
 
 La salida seria la siguiente:
 
 hola;esto;es;una;prueba
 
 Por el contrario si usamos el siguiente
 formato:
 
 
 
 la salida es correcta:
 
 holaestoesunaprueba
 
 Se ve que la funcion sólo respeta
 el formato si las zonas donde se
 indica que comienza una variable 
 (en el codigo %(tipo_de_variable))
 esta aislada, es decir, separada
 con espacios del resto de los
 caracteres del formato.
 
He realizado varias pruebas de lectura bajo
formatos especificos y no consigo que 
la funcion responda segun las especificaciones.


 Saludos desde cordoba
 


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9302&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]