[PHP-DEV] Bug #15054: copy has wrong permissions

2002-01-15 Thread andy

From: [EMAIL PROTECTED]
Operating system: Linux
PHP version:  4.1.1
PHP Bug Type: Filesystem function related
Bug description:  copy has wrong permissions

copy() does not preserve file permissions.  specifically, it will add
execute permissions to the new file.
-- 
Edit bug report at: http://bugs.php.net/?id=15054&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] Bug #12237 Updated: date("T") returns null

2001-07-21 Thread andy

ID: 12237
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Date/time related
Operating System: Windows NT 4.0 Workstation (PWS)
PHP Version: 4.0.6
New Comment:

Works fine on Red Hat Linux 7.  Must be a windows/pws
problem.  Can anyone else with windows/pws test this?

Previous Comments:


[2001-07-18 17:01:34] [EMAIL PROTECTED]

// this should print "EDT" or whatever
// but it prints nothing.
echo date("T");





Edit this bug report at http://bugs.php.net/?id=12237&edit=1


-- 
PHP Development 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] Bug #11062 Updated: Sharing Violation Error Message

2001-07-21 Thread andy

ID: 11062
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Directory function related
Operating System: NT 4.0 SP6a
PHP Version: 4.0.6
New Comment:

Make sure Windows or any other app has this directory or any
files in it locked (using them.)

Previous Comments:


[2001-07-03 11:38:02] [EMAIL PROTECTED]

Yes, the purpose of the script is to display the contents of a directory and make them 
available via the IIS server.  Unfortunately, I need to make use of the NT security 
model, so switching to apache is not an option (or I would have, a long time ago).  Do 
you know if this IIS bug was fixed in IIS 5?  



[2001-06-28 19:02:46] [EMAIL PROTECTED]

Is there any chance that while testing this you have also caused IIS to serve any of 
the files in the directories up? There is an unpleasant problem with IIS whereby it 
holds files open for some time after serving them. This normally manifests itself by 
stopping you editing and saving out a html file you have just looked at via the web 
server, however it would also stop you renaming any parent directory of the file.



[2001-06-28 07:58:57] [EMAIL PROTECTED]

Yes it does.  :(   Does the folder need to have special permissions?  Right now I've 
got SYSTEM and CREATOR_OWNER with full controll, and a bunch of groups.



[2001-06-23 20:58:38] [EMAIL PROTECTED]

Does this happen with PHP 4.0.6 ?




[2001-06-04 01:27:47] [EMAIL PROTECTED]

In order to regain control over the directories, it is necessary to restart the entire 
"IIS Admin Service".  Restarting the "World Wide Web Publishing Service" alone does 
not fix the problem.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=11062


Edit this bug report at http://bugs.php.net/?id=11062&edit=1


-- 
PHP Development 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] Bug #12224 Updated: unsubscribe

2001-07-21 Thread andy

ID: 12224
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: *General Issues
Operating System: 
PHP Version: 4.0.6
New Comment:

Can you tell me the subjects of some of the emails, please?
 If I know the subjects I can figure out what list you are
subscribed to.

If you got a Welcome message, this should tell you how to
unsubscribe.

Previous Comments:


[2001-07-18 04:35:33] [EMAIL PROTECTED]

Hello, 
I'm doing all to unsubscribe from your list but I'm still getting mails from you.
please unsubscribe me now.
my email: [EMAIL PROTECTED]

Thanks
Irit





Edit this bug report at http://bugs.php.net/?id=12224&edit=1


-- 
PHP Development 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] Bug #11582 Updated: php segfaults upon array operation

2001-07-21 Thread andy

ID: 11582
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Reproducible crash
Operating System: linux
PHP Version: 4.0.5
New Comment:

Does this happen with 4.0.6?

Previous Comments:


[2001-06-20 16:41:40] [EMAIL PROTECTED]

oops..




[2001-06-20 16:41:27] [EMAIL PROTECTED]

status -> feedback




[2001-06-20 15:05:37] [EMAIL PROTECTED]

hi,

it took some time to isolate the problem, but here is the
testcase. the segfault is not triggered if PHP was compiled --enable-debug version, in 
which case it complains
that it "Cannot use scalar value as an array".




i hope this helps.

regards,
  lukas




[2001-06-20 12:38:49] [EMAIL PROTECTED]

status -> feedback




[2001-06-20 11:34:39] [EMAIL PROTECTED]

please send the shortest possible testcase that shows your problem!




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=11582


Edit this bug report at http://bugs.php.net/?id=11582&edit=1


-- 
PHP Development 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] Bug #12054 Updated: getcwd() returns empty string

2001-07-21 Thread andy

ID: 12054
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: Directory function related
Operating System: Red Hat Linux 2.2.12-20
PHP Version: 4.0.6
New Comment:

I tried your script with RH Linux 7 and this worked fine
with apache and with the shell script you presented.

Previous Comments:


[2001-07-11 10:36:52] [EMAIL PROTECTED]

Just upgraded to 4.0.6 and getcwd() no longer works.

test script:

#!/usr/bin/php


Old:
X-Powered-By: PHP/4.0.4pl1
Content-type: text/html

Current dir is /usr/local/nstats/stats/bin

New:
Extensions are not supported on this platform.
X-Powered-By: PHP/4.0.6
Content-type: text/html

Current dir is 

Configure info:
./configure \
--enable-track-vars \
--with-xml \
--enable-versioning \
--with-png-dir=/usr/local/png \
--with-zlib-dir=/usr/local/zlib \
--with-jpeg-dir=/usr/local/jpeg \
--with-freetype-dir=/usr/local/freetype \
--with-gd=/usr/local/gd-2.0.1 \
--with-gettext \
--with-socket \
--with-mysql=/usr/local/mysql-3.23.28-gamma-pc-linux-gnu-i686 
\
--with-sybase-ct=/usr/local/freetds \
--with-rrdtool

Versions:
jpeg-6b
freetype-2.0.4
zlib-1.1.3
libpng-1.0.12
gd-2.0.1
rrdtool-1.0.33 (linked to the above gd, png and zlib libs)
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 
release)
Red Hat 6.2
everything statically linked.








Edit this bug report at http://bugs.php.net/?id=12054&edit=1


-- 
PHP Development 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] Bug #8780 Updated: difference in fwrite with cgi/apachemodule

2001-07-21 Thread andy

ID: 8780
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Filesystem function related
Operating System: Windows NT/2000
PHP Version: 4.0.3pl1
New Comment:

What's the bug???  I don't see this as a bug...

Previous Comments:


[2001-01-18 08:20:51] [EMAIL PROTECTED]

If I use PHP as CGI with Apache 1.3.12, I must add chr(13).chr(10) to textfiles, when 
I write them with fwrite and I want some linefeed. If PHP is used as a Apache module, 
in textfiles there are double linefeed [one from PHP the other from chr(13).chr(10)].

Why is it different and will one or the other case be corrected?

Thanks, Rolf.





Edit this bug report at http://bugs.php.net/?id=8780&edit=1


-- 
PHP Development 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] Bug #12138 Updated: Image broken

2001-07-21 Thread andy

ID: 12138
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: *Graphics related
Operating System: Sparc Solaris 8
PHP Version: 4.0.6
New Comment:

Are you saying that the image works fine when it is
requested by itself (test.php), but not when it is
referenced by a html page (test.html)?

Previous Comments:


[2001-07-13 07:07:04] [EMAIL PROTECTED]

test.php




test.html


test

Hello




Configuration:

gd-1.8.4, apache-1.3.20, php-4.0.6

  ./configure\
--without-mysql\
--with-oci8 \
--with-oracle\
--with-imap\
--with-ldap\
--with-db3 \
--enable-sysvsem\
--enable-sysvshm\
--with-mm=/usr/local\
--enable-track-vars\
--enable-trans-sid\
--enable-shmop\
--with-gd \
--with-png-dir=/usr/local/lib \
--with-zlib-dir=/usr/local/lib \
--enable-inline-optimization \
--enable-bcmath \
--with-gettext \
--with-mcal=/usr/local/mcal \
--with-mcrypt \
--disable-debug \
--with-apxs=/usr/local/apache/bin/apxs

Desc:
When the Image (test.php) is referenced by a html file (test.html) it is shown as 
broken in the browser window.

When calling test.php directly the Image is shown correctly, but by shift-reloading 
the page (test.php) the image is broken again (a normal reload shows the image).

It did not occur with php-4.0.5





Edit this bug report at http://bugs.php.net/?id=12138&edit=1


-- 
PHP Development 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] Bug #8664 Updated: Impossible to use ImageColorTransparent under certain conditions

2001-07-21 Thread andy

ID: 8664
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: GD related
Operating System: Linux
PHP Version: 4.0.1pl2
New Comment:

Try using ImageColorExact or ImageColorClosest

The manual pages are below

http://php.net/manual/en/function.imagecolorexact.php
http://php.net/manual/en/function.imagecolorclosest.php


Previous Comments:


[2001-01-11 17:10:08] [EMAIL PROTECTED]

By limiting the use of ImageColorTransparent to working on colors
returned by ImageColorAllocate, the library prevents one from
modifying pre-existing images.  For example, suppose an existing
image has a transparent color set. Now, we load the image using
ImageCreateFromGIF. We proceed to add a text blurb, and then
issue ImageGif.  The transparency is removed, and there is no
way to set it, because there is no way to map an existing color
index in the palette to an ImageColor object(?) so that it can
be passed in to ImageColorTransparent.

Ideally, ImageColorTransparent should have been made to
work with color indexes the way the native gd routines work.
But, to avoid breaking code, I'd recommend adding a new method
called ImageColorTransparentByIndex which accepted a color
index as the second parameter instead of a color object returned
by ImageColorAllocate.





Edit this bug report at http://bugs.php.net/?id=8664&edit=1


-- 
PHP Development 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] Bug #8664 Updated: Impossible to use ImageColorTransparent under certain conditions

2001-07-21 Thread andy

ID: 8664
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: GD related
Operating System: Linux
PHP Version: 4.0.1pl2
New Comment:

Try using ImageColorExact or ImageColorClosest

The manual pages are below

http://php.net/manual/en/function.imagecolorexact.php
http://php.net/manual/en/function.imagecolorclosest.php


Previous Comments:


[2001-07-21 20:45:17] [EMAIL PROTECTED]

Try using ImageColorExact or ImageColorClosest

The manual pages are below

http://php.net/manual/en/function.imagecolorexact.php
http://php.net/manual/en/function.imagecolorclosest.php




[2001-01-11 17:10:08] [EMAIL PROTECTED]

By limiting the use of ImageColorTransparent to working on colors
returned by ImageColorAllocate, the library prevents one from
modifying pre-existing images.  For example, suppose an existing
image has a transparent color set. Now, we load the image using
ImageCreateFromGIF. We proceed to add a text blurb, and then
issue ImageGif.  The transparency is removed, and there is no
way to set it, because there is no way to map an existing color
index in the palette to an ImageColor object(?) so that it can
be passed in to ImageColorTransparent.

Ideally, ImageColorTransparent should have been made to
work with color indexes the way the native gd routines work.
But, to avoid breaking code, I'd recommend adding a new method
called ImageColorTransparentByIndex which accepted a color
index as the second parameter instead of a color object returned
by ImageColorAllocate.





Edit this bug report at http://bugs.php.net/?id=8664&edit=1


-- 
PHP Development 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] Bug #11813 Updated: ImageGammaCorrect no longer works

2001-07-21 Thread andy

ID: 11813
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: GD related
Operating System: Win NT 4.0
PHP Version: 4.0.6
New Comment:

Try setting the error_reporting level so that the script
shows EVERYTHING.  This may or may not help.

Previous Comments:


[2001-06-30 19:20:05] [EMAIL PROTECTED]

A script that worked in PHP 4.0.4 no longer works in PHP 4.0.6 (with the php_gd.dll 
bundled with the Win32 binaries). 

Here's a snippet:
$srcImgName = "SWD2.jpg";
$dstImgName = "gam_" . $srcImgName;
$srcImage = ImageCreateFromJPEG( $srcImgName );
ImageGammaCorrect( $srcImage, 1.8, 2.2 );
ImageJPEG( $srcImage, $dstImgName );

No errors are produced, and the new image is created but it is identical to the 
original -- no gamma correction has occurred.







Edit this bug report at http://bugs.php.net/?id=11813&edit=1


-- 
PHP Development 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] Bug #11929 Updated: Can't get "whether to enable truetype string function in gd..." == yes

2001-07-21 Thread andy

ID: 11929
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: GD related
Operating System: Linux; Slackware 8.0/2.4.5
PHP Version: 4.0.6
New Comment:

Make sure you have TrueType installed correctly.  Also, try
looking at the GD and PHP documentation.

Previous Comments:


[2001-07-06 08:18:39] [EMAIL PROTECTED]

Hi,

My main problem is that I can't get the truetype string function into gd since version 
4.0.5 (4.0.4pl1 works for me). On our systems gd 184 is available and freetype 1.3 and 
2.x are installed. Our server park containts about 36 servers, all installed with 
apache1320/php404pl1.

I don't know if these problems are related, but I can't get 406 work on a new machine 
with slack80.

My error:
[quote]
root@s0048:/usr/src/php-4.0.6# apachectl start
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: 
/usr/local/apache/libexec/libphp4.so: undefined symbol: TT_Open_Face
/usr/local/apache/bin/apachectl start: httpd could not be started
[/quote]

My configstring:
[quote]
./configure --enable-versioning --with-apxs=/usr/local/apache/bin/apxs --with-gd 
--with-jpeg-dir=/usr/local --with-zlib --enable-track-vars --enable-ttf 
--with-mysql=/usr/local/mysql --enable-gd-native-ttf --with-png-dir=/usr/lib 
--with-freetype-dir=/usr/local --with-ttf-dir=/usr/local/include/freetype 
--with-xpm-dir=/usr/X11R6
[/quote]

These errors don't mean much to me. What I really would like to know is what version 
of freetype should I use (1.3 or 2.x). If I use 2.x gd won't compile afther I edited 
the Makefile.

Kind regards,

Marcel Leicher
Silverpoint IS





Edit this bug report at http://bugs.php.net/?id=11929&edit=1


-- 
PHP Development 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] Bug #11976 Updated: image_copy_resized does not work properly

2001-07-21 Thread andy

ID: 11976
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: GD related
Operating System: windows 98 SE
PHP Version: 4.0.6
New Comment:

Works fine for me (I am using Linux.)  Try removing the
header function (or set it to "text/html") and see if there
are any errors/warnings that are corrupting the image.

Previous Comments:


[2001-07-09 10:04:13] [EMAIL PROTECTED]

I used this function in  a script with PHP 4.0.5. It works very well. I installed PHP 
4.0.6 and the script doesn't work anymore?
I found that it was this function who didn't work well.

Sorry about my English.

See my script:






Edit this bug report at http://bugs.php.net/?id=11976&edit=1


-- 
PHP Development 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] Bug #11994 Updated: imagettfbbox returns null

2001-07-21 Thread andy

ID: 11994
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: GD related
Operating System: WIN98
PHP Version: 4.0.6
New Comment:

Check your $font variable it will translate into
"\windows\fonts\CACVALIA.ttf" which last time I checked is
not a valid location for a font, either on windows or linux.
 Also try setting error_reporting to a high number to see
ALL of the notices, errors, warnings, etc...




Previous Comments:


[2001-07-09 20:19:28] [EMAIL PROTECTED]

imagettfbbox fails to return coordinates under distribution for win32 for PHP Version 
4.0.6 using distribution binaries.  Unzipping PHP Version 4.0.4pl1 over 4.0.6 files 
and the example works again same config used for both.

here is sample script used to test







Edit this bug report at http://bugs.php.net/?id=11994&edit=1


-- 
PHP Development 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] Bug #12200 Updated: getimagesize() JPG Bug

2001-07-21 Thread andy

ID: 12200
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: GD related
Operating System: Win 2000
PHP Version: 4.0.6
New Comment:

Please include a short sample script so I can test this.

Previous Comments:


[2001-07-17 06:58:05] [EMAIL PROTECTED]

GD library doesn't work properly when you call getimagesize() for jpeg image!It 
doesn't return proper width and height of image (usually returns -1 and -1)





Edit this bug report at http://bugs.php.net/?id=12200&edit=1


-- 
PHP Development 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] Bug #12200 Updated: getimagesize() JPG Bug

2001-07-21 Thread andy

ID: 12200
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Feedback
Old Bug Type: GD related
Bug Type: GetImageSize related
Operating System: Win 2000
PHP Version: 4.0.6
New Comment:

reclassified

Previous Comments:


[2001-07-21 20:55:42] [EMAIL PROTECTED]

Please include a short sample script so I can test this.



[2001-07-17 06:58:05] [EMAIL PROTECTED]

GD library doesn't work properly when you call getimagesize() for jpeg image!It 
doesn't return proper width and height of image (usually returns -1 and -1)





Edit this bug report at http://bugs.php.net/?id=12200&edit=1


-- 
PHP Development 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] Bug #7058 Updated: checkdnsrr bug

2001-07-21 Thread andy

ID: 7058
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Network related
Operating System: Linux 2.2.14
PHP Version: 4.0.0
New Comment:

does this happen in the current version (4.0.6)

Previous Comments:


[2000-10-06 16:11:32] [EMAIL PROTECTED]

checkdnsrr seems to be buggy.  For example, using 'checkdnsrr("mail.austasia.net", 
"MX")' returns false, whereas nslookup on the same machine shows a valid MX record.  
This does not happen with all addresses -- just some. 





Edit this bug report at http://bugs.php.net/?id=7058&edit=1


-- 
PHP Development 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] Bug #8856 Updated: gethostbyname returns hostname instead of adress

2001-07-21 Thread andy

ID: 8856
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Network related
Operating System: Linux 2.2.17
PHP Version: 4.0.4pl1
New Comment:

Works fine for me with the latest version (4.0.6)

Previous Comments:


[2001-03-10 20:21:46] [EMAIL PROTECTED]

For at least some months, gethostbyname() in sockets.c has
been replaced by gethostbyname() in ext/standard/dns.c
which does

memcpy(&in.s_addr, *(hp->h_addr_list), sizeof(in.s_addr));


Could you try the latest CVS? Could you test both
gethostbyname() and gethostbynamel() in PHP? They do it
differently. I think both should work.



[2001-03-10 17:13:23] [EMAIL PROTECTED]

>It sounds like a DNS problem to me. 
>It would be wise if you check that out too.

I though about this too at first, but the right information is in both cases stored in 
the host_struct->h_addr_list.
But the information is only correct if you memcpy it to a.s_addr, instead of 
typecasting it.




[2001-03-10 16:30:21] [EMAIL PROTECTED]

It sounds like a DNS problem to me. It would be wise if you check that out too.



[2001-03-10 16:12:27] [EMAIL PROTECTED]

Works for me just fine with latest CVS. Please try the 
latest CVS snapshot from http://snaps.php.net/

--Jani




[2001-01-23 12:28:11] [EMAIL PROTECTED]

The gethostbyname doesn't seem to work on some of the systems I use. The problem only 
occurs on some machines, others work fine. The problem only occurs on 4.0x, but not on 
3.0x on the same machine.
All machines use the same build of php4.

For example:


Result:
sql-1.vuurwerk.nl

The bug? also affects functions like mysql_connect.
I am unable to connect to a sql server unless I replace the hostname with an ip 
adress.


I've traced the problem back to sockets.c, line 817:
a.s_addr = (int) (*(host_struct->h_addr_list[0]));


If I replace the code above with the equivalent code used in php3 the problem is 
solved:
memcpy (&a.s_addr, *(host_struct->h_addr_list), sizeof (a.s_addr));


If you need more information please let me know.

Niels Leenheer
[EMAIL PROTECTED]





Edit this bug report at http://bugs.php.net/?id=8856&edit=1


-- 
PHP Development 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] Bug #8754 Updated: gethostbyname() fails

2001-07-21 Thread andy

ID: 8754
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Network related
Operating System: Linux 2.2.16 (RH7)
PHP Version: 4.0.4pl1
New Comment:

Please make sure that you're DNS server is setup correctly
and you have access to it and the internet.  Try running
"netconfig" as root from a prompt.  Also, try running
linuxconf and make sure the order in which hostnames are
setup is correct (i recommend "hosts,dns")

Also, try upgrading to the latest version of PHP.

Previous Comments:


[2001-01-17 03:53:54] [EMAIL PROTECTED]

When trying to resolv the ip address of a hostname given in /etc/hosts, 
gethostbyname() works fine. It does NOT work when trying to resolv an ip address which 
must be looked up via the DNS server though. In the latter case, 
gethostbyname($hostname) always returns $hostname, i.e. it
behaves like the hostname does not exist. However, doing a command line nslookup, the 
hostname is found, so it DOES exist.

The problem occurs with version 4.0.4pl1 (compiled on the target system) as well as 
with version 4.0.1pl2 that comes with RedHat 7.0. I'm using kernel version 2.2.16 and 
a vanilla (i.e. non-updated) RedHat 7.0.

Thanks in advance...






Edit this bug report at http://bugs.php.net/?id=8754&edit=1


-- 
PHP Development 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] Bug #11731 Updated: PHP_URL_FOPEN only doesn't work

2001-07-21 Thread andy

ID: 11731
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Network related
Operating System: Linux
PHP Version: 4.0.6
New Comment:

I have reproduced this bug in the exact form as he described
it.  Somebody needs to fix this one.

Previous Comments:


[2001-07-02 07:10:28] [EMAIL PROTECTED]

oh sorry I'am a error with my message, test this code :

http://$url";, "r");
echo "Link ($url): $link";

$url2 = "www.voyage.com";
$link2 = fopen("http://$url2";, "r");
echo "Link2 ($url2): $link2";
?>

And link2 is only empty... 



[2001-06-27 13:26:52] [EMAIL PROTECTED]

Your example script works just fine for me.
Which linux distribution is this? RH? Suse?
Do you get any error messages into logs?




[2001-06-27 05:56:51] [EMAIL PROTECTED]

http://$url";, "r");
echo "Link ($url): $link";

$url2 = "www.yahoo.com";
$link2 = fopen("http://$url2";, "r");
echo "Link2 ($url2): $link2";
?>

Yields:
Link (www.yahoo.com):  ($link is empty)
Link2 (www.voyage.com): ($link2 is empty)

version:
PHP Version 4.0.6RC3

Configure:

'../configure' '--prefix=/usr' 
'--with-apxs=/usr/bin/apxs' 
'--with-regex=system'
'--with-config-file-path=/etc/php4/apache' 
'--disable-rpath' '--with-layout=GNU'
'--enable-memory-limit' 
'--enable-calendar' 
'--enable-sysvsem' 
'--enable-sysvshm'
'--enable-track-vars' 
'--enable-trans-sid' 
'--disable-debug' 
'--disable-static'
'--enable-bcmath' 
'--with-bz2' 
'--enable-ctype' 
'--with-curl=shared,/usr' 
'--with-db2'
'--with-ndbm' 
'--with-dom=shared,/usr' 
'--enable-exif' 
'--enable-filepro' 
'--enable-ftp'
'--with-gettext' 
'--with-gd=shared,/usr' 
'--with-jpeg-dir=shared,/usr'
'--with-xpm-dir=shared,/usr/X11R6' 
'--with-png-dir=shared,/usr' 
'--with-imap=shared,/usr'
'--with-ldap=shared,/usr' 
'--with-mcal=shared,/usr' 
'--with-mm' 
'--with-mhash=shared,/usr'
'--with-mysql=shared,/usr' 
'--with-pcre-regex=/usr' 
'--without-pgsql'
'--with-sablot=shared,/usr' 
'--enable-shmop' 
'--with-snmp=shared' 
'--enable-sockets'
'--with-sybase-ct=shared,/usr' 
'--with-ttf=shared,/usr' 
'--with-t1lib=shared,/usr'
'--enable-wddx' 
'--with-xml=/usr' 
'--with-expat-dir=/usr' 
'--enable-yp' 
'--with-zlib'






Edit this bug report at http://bugs.php.net/?id=11731&edit=1


-- 
PHP Development 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] Bug #11731 Updated: PHP_URL_FOPEN only doesn't work

2001-07-21 Thread andy

ID: 11731
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Old Bug Type: Network related
Bug Type: HTTP related
Operating System: Linux
PHP Version: 4.0.6
New Comment:

reclassified

Previous Comments:


[2001-07-21 21:10:07] [EMAIL PROTECTED]

I have reproduced this bug in the exact form as he described
it.  Somebody needs to fix this one.



[2001-07-02 07:10:28] [EMAIL PROTECTED]

oh sorry I'am a error with my message, test this code :

http://$url";, "r");
echo "Link ($url): $link";

$url2 = "www.voyage.com";
$link2 = fopen("http://$url2";, "r");
echo "Link2 ($url2): $link2";
?>

And link2 is only empty... 



[2001-06-27 13:26:52] [EMAIL PROTECTED]

Your example script works just fine for me.
Which linux distribution is this? RH? Suse?
Do you get any error messages into logs?




[2001-06-27 05:56:51] [EMAIL PROTECTED]

http://$url";, "r");
echo "Link ($url): $link";

$url2 = "www.yahoo.com";
$link2 = fopen("http://$url2";, "r");
echo "Link2 ($url2): $link2";
?>

Yields:
Link (www.yahoo.com):  ($link is empty)
Link2 (www.voyage.com): ($link2 is empty)

version:
PHP Version 4.0.6RC3

Configure:

'../configure' '--prefix=/usr' 
'--with-apxs=/usr/bin/apxs' 
'--with-regex=system'
'--with-config-file-path=/etc/php4/apache' 
'--disable-rpath' '--with-layout=GNU'
'--enable-memory-limit' 
'--enable-calendar' 
'--enable-sysvsem' 
'--enable-sysvshm'
'--enable-track-vars' 
'--enable-trans-sid' 
'--disable-debug' 
'--disable-static'
'--enable-bcmath' 
'--with-bz2' 
'--enable-ctype' 
'--with-curl=shared,/usr' 
'--with-db2'
'--with-ndbm' 
'--with-dom=shared,/usr' 
'--enable-exif' 
'--enable-filepro' 
'--enable-ftp'
'--with-gettext' 
'--with-gd=shared,/usr' 
'--with-jpeg-dir=shared,/usr'
'--with-xpm-dir=shared,/usr/X11R6' 
'--with-png-dir=shared,/usr' 
'--with-imap=shared,/usr'
'--with-ldap=shared,/usr' 
'--with-mcal=shared,/usr' 
'--with-mm' 
'--with-mhash=shared,/usr'
'--with-mysql=shared,/usr' 
'--with-pcre-regex=/usr' 
'--without-pgsql'
'--with-sablot=shared,/usr' 
'--enable-shmop' 
'--with-snmp=shared' 
'--enable-sockets'
'--with-sybase-ct=shared,/usr' 
'--with-ttf=shared,/usr' 
'--with-t1lib=shared,/usr'
'--enable-wddx' 
'--with-xml=/usr' 
'--with-expat-dir=/usr' 
'--enable-yp' 
'--with-zlib'






Edit this bug report at http://bugs.php.net/?id=11731&edit=1


-- 
PHP Development 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] Bug #7058 Updated: checkdnsrr bug

2001-07-21 Thread andy

ID: 7058
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: Network related
Operating System: Linux 2.2.14
PHP Version: 4.0.0
New Comment:

I have reproduced this bug, and smoebody needs to fix this
one.  This is a real bug.

Previous Comments:


[2001-07-21 21:11:59] [EMAIL PROTECTED]

Sorry, I don't know. I upgraded to 4.0.6 but it's slow as a dog, it won't run my web 
site.  PHP gets caught in some infinite loop.

Funny, this bug has been around since the official 4.0.0 (I am still having to use a 
March snapshot).

If anyone is interested I will help trying to debug it.  However, given the amazingly 
large number of macros which makes PHP code unreadable to all but a very few, please 
don't ask me to send in a patch -- you make code unreadable, there are consequences 
;-).  But I am willing to help however I can otherwise.

Ciao,

Dre



[2001-07-21 20:59:06] [EMAIL PROTECTED]

does this happen in the current version (4.0.6)



[2000-10-06 16:11:32] [EMAIL PROTECTED]

checkdnsrr seems to be buggy.  For example, using 'checkdnsrr("mail.austasia.net", 
"MX")' returns false, whereas nslookup on the same machine shows a valid MX record.  
This does not happen with all addresses -- just some. 





Edit this bug report at http://bugs.php.net/?id=7058&edit=1


-- 
PHP Development 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] Bug #5026 Updated: ftp_size and transfer mode

2001-07-21 Thread andy

ID: 5026
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: FTP related
Operating System: Linux 2.2
PHP Version: 4.0
New Comment:

This is an old bug and needs to be closed.

Previous Comments:


[2001-02-10 14:20:40] [EMAIL PROTECTED]

refiled as bug against 4.0.



[2000-06-14 11:40:27] [EMAIL PROTECTED]

I am using the ftp_size command to connect to a NcFTPd server.  NcFTPd does not 
support the size command in ascii mode. Information is at :

http://www.ncftpd.com/ncftpd/doc/faq/func.html#size_ascii

Is there any way that this could be changed to binary mode, ie insert about line 602 
of function/ftp.c the following: 

if (!ftp_type(ftp, FTPTYPE_IMAGE))
return -1;

Or for consistancy of the API have an optional mode parameter to this function.

Thanks for the newly added ftp support and thank you for your assistance.





Edit this bug report at http://bugs.php.net/?id=5026&edit=1


-- 
PHP Development 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] Bug #8874 Updated: ftp_nlist and rawlist not working

2001-07-21 Thread andy

ID: 8874
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: FTP related
Operating System: Windows 2000 Advanced Server
PHP Version: 4.0.4
New Comment:

Please submit a short script for me the analyze.  This will
also clarify your bug a little bit.

Previous Comments:


[2001-01-23 22:23:49] [EMAIL PROTECTED]

The ftp_nlist and ftp_rawlist functions failed to work for me.  I am using PHP.EXE 
v4.0.4 from a Windows 2000 machine connecting to a Free BSD box running the following 
FTP server:

Our.ftp.server FTP server (Version wu-2.6.1(1) Mon Jul 3 03:07:01 EDT 2000)

Both ftp_nlist and ftp_rawlist return a single blank string ("") into the result 
array.






Edit this bug report at http://bugs.php.net/?id=8874&edit=1


-- 
PHP Development 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] Bug #8999 Updated: difference ftp_fget() cgi and module

2001-07-21 Thread andy

ID: 8999
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: FTP related
Operating System: Windows
PHP Version: 4.0.4pl1
New Comment:

If it works as a CGI, I say just go back to the CGI version.

But, if you don't then answer these questions.

-Does it still happen in the latest version of PHP?
-Are there any error messages (either on the page or logs)

Previous Comments:


[2001-01-30 07:16:07] [EMAIL PROTECTED]

Until now I was using PHP4 in CGI-Mode. Now I want to change to Apache Module. So I 
made the nessecary changes in httpd.conf and rebotted the Windows 2000 server.

Since PHP is running as an Apache Module, the function ftp_fget() doesn't work 
correctly anymore.

I read a jpg from a FTP Server and display it with the  tag. In Module Mode the 
file is transferred and the width and height is correct, but the content is wrong 
(wrong colors in the completely wrong places). When PHP is running in cgi mode, 
everything is correct.

Thanks for any help, Rolf.

Code Sample:

class Foto_class
{

  var $fotoname;

  function Foto_class( $verwender )
  {
global $const_ftp_host, $const_ftp_user, $const_ftp_passwd, $const_ftp_dir;
$select_file = "foto.jpg";
$ftp = ftp_connect( $const_ftp_host );
if ( $ftp )
{
  ftp_login( $ftp, $const_ftp_user, urldecode( $const_ftp_passwd ) );
}
if ( $const_ftp_dir == "" )
{
  $const_ftp_dir = FTP_DIRROOT;
}
$const_ftp_dir = $const_ftp_dir . FTP_DIRROOT . $verwender;
if ( ( ! $ftp ) || ( ! @ftp_chdir( $ftp, $const_ftp_dir ) ) )
{
  @ftp_quit( $ftp );
}
else
{
  srand( ( double ) microtime() * 100 );
  $randval = rand();
  $tmpfile = $select_file . "." . $randval;
  $showfile = $this->filename( $tmpfile );
  $fp = fopen( $showfile, "w" );
  if ( ! @ftp_fget( $ftp, $fp, $select_file, FTP_BINARY ) )
  {
ftp_quit( $ftp );
  }
  else
  {
ftp_quit( $ftp );
$this->fotoname = $showfile;
  }
  @fclose( $fp );
}
  }

  function filename($f_name)
  {
$dir = "./temp/sess_".session_id();
if (!file_exists($dir)) mkdir($dir,0700);
return $dir."/".$f_name;
  }

  function out()
  {
return $this->fotoname;
  }

}






Edit this bug report at http://bugs.php.net/?id=8999&edit=1


-- 
PHP Development 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] Bug #11000 Updated: ftp_connect(...) produces ftpbuf 0 "error"

2001-07-21 Thread andy

ID: 11000
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: FTP related
Operating System: NT 4.0
PHP Version: 4.0.4pl1
New Comment:

Are you saying that 127.0.0.1 only works when you are
connected to the internet, but localhost works anytime?

Previous Comments:


[2001-05-21 22:30:13] [EMAIL PROTECTED]

Now the third answer for [EMAIL PROTECTED] (Hi Jani, I saw your question unfortunately 
just after I sent my last report):

I used the ftp-server WAR-FTPD 1.67-05 (freeware, downloadable from 
http://www.jgaa.com) and tried it localy installed on my NT4.0 Worsstation with an 
external NT4.0 Intranet-Webserver (Apache with PHP 4.04).At home I used a Windows 2000 
Workstation with local running Apache and PHP 4.0.4 first, 4.0.5 after a meanwhile 
update.

The original error-message on all configurations was:
"Warning: Unable to find ftpbuf 0 in e:\eigene dateien\php\liegenschaften\upload.php4 
on line 10"

Some new information:
To my surprise this error does not occur at home, when I am connected to Internet. 
After dialing in the script runs also with "127.0.0.1" without any warnings, after 
shutting down the Internet-connection only $ftp_server = "localhost" or 
$ftp_server="#DNS_name_of_server#" is accteptd.
This is also the reason for my second "workaround" as described before, this is no 
one, because '127.0.0.1' is only accepted when internet-connection is open.

Hope, this will help you!
bye... kni



[2001-05-21 21:15:19] [EMAIL PROTECTED]

Send this bug-message this morning, got two answers myself this evening:
Obviously php does not understand ftp-server-adresses in form of "127.0.0.1" or 
somehow, but when I used "localhost" or the name of the server defined in the 
Apache-Konfiguration the script below ran without any error-message. 
Another workaround: using '127.0.0.1' ran also without problems!?!
kni



[2001-05-21 16:45:19] [EMAIL PROTECTED]

Have you tried with some public ftp-server?
Does it work then? And what is the full error message?

--Jani




[2001-05-21 15:39:36] [EMAIL PROTECTED]

I installed the PHP4 software (actual Windows binary 4.04pl1) with the actual 
Apache-Server on a NT 4.0 server. The FTP-Server I try to contact runs localy on my 
NT4.0 PC.
The following script

causes "Warning: Unable to find ftpbuf 0 in ".
$conn_id is null, it seems, that there is no connection.
I found some similar error-messages in the php-FAQ's, but no answer.
bye...






Edit this bug report at http://bugs.php.net/?id=11000&edit=1


-- 
PHP Development 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] Bug #11025 Updated: ftp_connect() does not work with IP address

2001-07-21 Thread andy

ID: 11025
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Duplicate
Bug Type: FTP related
Operating System: Windows NT4 Server
PHP Version: 4.0.5
New Comment:

Whoa!  This is exactly the OPPOSITE of what I expected.
Usually in something like this, the IP works, and the name
doesn't.  I have no clue what would cause that.  Can anyone
duplicate this?

Previous Comments:


[2001-05-22 13:34:53] [EMAIL PROTECTED]

Setup:
Windows NT4 Server with Apache 39 and PHP 4.0.5 as downloaded (big package) from 
PHP.NET

Situation:
phpInfo() says FTP is enabled.
ftp_connect('192.168.0.55') does not give connection handle whereas an ftp client on 
the same machine works perfectly. Tried all kinds of quotes, no success.

Solution:
Entered a line in local hosts lookup file to replace the IP with a literal name. 
Replaced the faulty line with
ftp_connect("theName")
and got the connection right away.





Edit this bug report at http://bugs.php.net/?id=11025&edit=1


-- 
PHP Development 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] Bug #9445 Updated: error message when using fopen or file functions

2001-07-21 Thread andy

ID: 9445
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: HTTP related
Operating System: FreeBSD 4.2
PHP Version: 4.0.4pl1
New Comment:

The problem is probably caused by the REALLY long line.  Try
upgrading to the current version.  If that still doesn't
work, re-open.

Previous Comments:


[2001-02-25 15:18:42] [EMAIL PROTECTED]

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.



[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.





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


-- 
PHP Development 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] Bug #9700 Updated: Multipart form submission fails

2001-07-21 Thread andy

ID: 9700
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: HTTP related
Operating System: NT 4.0, Win 2000
PHP Version: 4.0.4pl1
New Comment:

This script is totally useless, why would you want to submit
a multipart/encoded form to a page that does nothing with it.

Previous Comments:


[2001-03-12 07:09:23] [EMAIL PROTECTED]




  
Upload: 
Var: 


  






Php 4.0 pl1 for win32, default installation. Only auto_prepend_file pointing to 
phplib's "prepend.php".
-

It happens that sometimes phpinfo reflects the fact that i'm submitting data 
(HTTP_POST_VARS and HTTP_POST_FILES filled) and sometimes doesn't. HTTP_GET_VARS 
always show the "action=test" sent by the form action.
More Info: 
- php.ini has the correct values (file_uploads=On; upload_max_filesize = 2M) cause 
i've never tried and upload bigger then 300k. 
- I'm prepending a modified version of the standard prepend.php from PHPLIB, so i'm 
sending the session id trough cookies or, sometimes url rewriting. In both cases 
phpinfo reflects that fact. 
- I've changed the environment from NT4.0 SP6a to Win2000 Sever SP1. From IBM HTTP 
Server (based on Apache 1.3.12) to Apache 1.3.19, and to IIS4.0 and IIS5.0 and from 
PHP 4.02 to PHP4.04 PL1 with or without Zend Optimizer, as ISAPI filter or as CGI. But 
i always get the same: Sometimes works, sometimes doesn't. 






Edit this bug report at http://bugs.php.net/?id=9700&edit=1


-- 
PHP Development 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] Bug #10033 Updated: Function file does not work with remote files

2001-07-21 Thread andy

ID: 10033
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: HTTP related
Operating System: aix 4.3.3
PHP Version: 4.0.4pl1
New Comment:

See if this works (this and EXACTLY this)

http://www.php.net/";);
for ($i=0;$i

If this doesn't work, make sure you DNS/Internet Server is
running correctly.

Previous Comments:


[2001-03-29 15:34:55] [EMAIL PROTECTED]


Hi Jani,

Thank you for your suggestion.

I have just tried the lates version php4-latest from http://snaps.php.net on my AIX 
4.3.3 box, I got the same 
error when using function 'file': bad file number. 

Raymond




[2001-03-29 11:29:38] [EMAIL PROTECTED]

Could you please try the latest CVS snapshot from http://snaps.php.net/ ?

--Jani




[2001-03-27 18:00:39] [EMAIL PROTECTED]

script:

http://www.php.net";);
?>

Error: bad file number



Options compilated with PHP:

CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure 
--with-mysql=/usr/local/mysql --with-gd --enable-track-vars 
--with-apache=/usr/local/apache_1.3.12

Notes: I tried to use different compilers such as gcc, cc or xlC_r,  I got the same 
error about file function (bad file number). With the same option of 
compilateion, the script works in LINUX.






Edit this bug report at http://bugs.php.net/?id=10033&edit=1


-- 
PHP Development 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] Bug #10800 Updated: File uploads take ~70 times longer than downloading files on Apache/PHP.

2001-07-21 Thread andy

ID: 10800
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: HTTP related
Operating System: NT 2000
PHP Version: 4.0.5
New Comment:

Could you please include the script that accepts the form
input and uploads the file (the ACTION param of the form.)

-Andy

Previous Comments:


[2001-05-10 17:51:00] [EMAIL PROTECTED]

I logged this prior to PHP 4.0.5 and was told to do it again if it still occurs. 
Please help:

ID: 9294 
Updated by: andi 
Reported By: [EMAIL PROTECTED] 
Old-Status: Open 
Status: Closed 
Bug Type: Performance problem 
PHP Version: 4.0.2 
Assigned To:  
Comments: 
 
Please try PHP 4.0.4pl1 or 4.0.5 which is due out tomorrow and open a new bug report 
if this still happens. 
 
Previous Comments: 
--- 
 
[2001-02-16 03:59:04] [EMAIL PROTECTED] 
Sorry - I'm also using code like this to do the upload: 
 
 
 
Send this file:  
 
 
 
--- 
 
[2001-02-16 03:57:16] [EMAIL PROTECTED] 
When performing a file upload, PHP runs the CPU to 100% and takes 3.5-4 minutes on 
a Pentium III 850MHz CPU to upload a 10MB file when downloading the same file on 
Apache/PHP only takes 3 seconds on the same host and client. It appears the file 
is being parsed when being uploaded. Is there an option to tell PHP to upload the 
data and nothing else? Otherwise, it is roughly 70 times slower to upload a file 
than to download one. 
 
I'm using Nusphere's CD when installing the software. 
 





Edit this bug report at http://bugs.php.net/?id=10800&edit=1


-- 
PHP Development 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] Bug #11058 Updated: php_network_getaddresses: getaddrinfo failed

2001-07-21 Thread andy

ID: 11058
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: HTTP related
Operating System: OpenBSD 2.6
PHP Version: 4.0.5
New Comment:

Please check that your nameserver is running and setup
correctly.  Check the same with your internet server.

Previous Comments:


[2001-05-23 11:58:00] [EMAIL PROTECTED]

I've seen this issue posted here a few times, and I think my problem is similar to Bug 
id #7880.

fopen(), fsockopen(), and file() will not work with URL or IP address parameters. 
include() has the same issue. I believe it has something to do with getaddrinfo.

Before upgrading to PHP4, I was running 3.0.16 and all of these functions were working 
perfectly with URL parameters. 

My configure script looks like this:

./configure  --with-apache=/usr/temp/apache_1.3.19 --with-mysql=/usr/local 
--enable-track-vars --with-xml --with-openssl=/usr/local/ssl

My php.ini DOES contain the line "allow_url_fopen = On"

The fopen() script looks like this:

$fd = fopen( "http://www.php.net/";, "r" );
if( !$fd )
{
echo "Cannot open URL";
} else {
while ( !feof( $fd ) ) {
$buffer = fgets( $fd, 4096 );
echo $buffer;
}
fclose ( $fd );
}

and produces this output:

Warning: php_network_getaddresses: getaddrinfo failed: name or service is not known in 
/var/www/patrickhaney.com/www/weather/test.php on line 24

Warning: fopen("http://www.php.net/","r";) - Bad file descriptor in 
/var/www/patrickhaney.com/www/weather/test.php on line 24
Cannot open URL 

and yes, I can resolve php.net to 208.247.106.187. Using the IP address in place of 
the hostname produces the same output.

If I use the fsockopen() function with this script:

fsockopen("http://www.php.net/";, 80, &$errno, &$errstr, 30);
if(!$fp) {
echo "Error: $errstr ($errno)\n";
} else {
fputs($fp,"GET / HTTP/1.0\n\n");
while(!feof($fp)) {
echo fgets($fp,128);
}
fclose($fp);
}

I get this output:

Error: (0)







Edit this bug report at http://bugs.php.net/?id=11058&edit=1


-- 
PHP Development 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] Bug #11684 Updated: Header() causes PHP to hang

2001-07-21 Thread andy

ID: 11684
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: HTTP related
Operating System: Windows 2000/IIS4
PHP Version: 4.0.5
New Comment:

A cause may be that you are echoing "foobar" before you call
the header() function.  Try switching the order of these
functions.

Previous Comments:


[2001-07-17 12:06:51] [EMAIL PROTECTED]

Yes - I thought I corrected that when I first submitted the bug. Guess not. Anyway, I 
-am- using the correct header calls - it works correctly on my home machine, but not 
my work machine. The header call doesn't always fail, but in certain script, it will 
always fail.

It's probably just a local config problem.



[2001-07-17 11:55:01] [EMAIL PROTECTED]

BTW: header("http://foo.com/bar.html";) does not make a valid HTTP header. Didn't you 
mean something like: header("Location: http://foo.com/bar.html";)?



[2001-07-16 11:26:02] [EMAIL PROTECTED]

Double checked my config, yes, it's IIS 5. It may just be a combonation of factors on 
my end - it is IIS after all. Anyway, no big deal, just thought someone might know 
something about it.



[2001-07-16 07:47:51] [EMAIL PROTECTED]

Is anybody else able to reproduce this?  I'm not.

BTW, I assume you're using IIS 5...





[2001-06-25 22:58:17] [EMAIL PROTECTED]

http://foo.com/bar.html";);
ob_end_flush();
?>

Win2k/IIS4/CGI mode/Standard setup, standard modules + image modules

calls to the header() function cause that instance of PHP to hang (infinite loop?).
Timeout occurs 4 or 5 times longer than max_execution_time allows. Can continue to run 
scripts in
a seperate browser session. Executable memory footprint is 4-5 MB.

I have not been able to reproduce this on a Win98 machine with an identical PHP
environment.




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=11684


Edit this bug report at http://bugs.php.net/?id=11684&edit=1


-- 
PHP Development 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] Bug #6200 Updated: fputs doesn't send, do not fflush after fgets.

2001-07-21 Thread andy

ID: 6200
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Sockets related
Operating System: Linux 2.2.14
PHP Version: 4.0.1pl2
New Comment:

Please upgrade to the latest version and try the script
again.  Re-open if problem still exists.

Previous Comments:


[2001-01-30 05:00:48] [EMAIL PROTECTED]

reclassify




[2000-08-17 04:42:03] [EMAIL PROTECTED]

I have to communicate with a perl daemon that gives me an hash when I connect
the port. After that I have to complete the data with this hash an send it in the
same connection back to the daemon.

What I have todo is a fgets for the first string and after sending the comleted data
with an fputs. The daemons never receive my data's after the fputs.

I tried the newest snap to use the fflush. But this didn't solve the problem.




[2000-08-16 14:10:33] [EMAIL PROTECTED]

that's a nice piece of code, but totally useless. COuld you clarify it bit more?



[2000-08-16 14:02:57] [EMAIL PROTECTED]

$fd = fsockopen( $server, $port, &$errno, &$errstr );
if( ! $fd ) {
   print( "Couldn't connect to $server, errno: $errno, errstr: $errstr\n" );
   exit;
}

set_socket_blocking( $fd, false );
$ret = '';
while( ! feof( $fd ) )
{
   $ret .= fgets( $fd, 128 );
}

if( trim( $ret ) <> '' ) {
   $key = strip_crlf( $ret );
} else {
   print( "Couldn't get key\n" );
   exit;
}
print( "got key: ---$key---\n" );
$hash = md5( "$passwd.$key" );
$tmp = "$serviceid:$username:$hash";
fputs( $fd, "$tmp\n", strlen( $tmp ) + 1 );
fflush( $fd );

$ret = '';
while( ! feof( $fd ) )
{
   $r = fgets( $fd, 128 );
   print( "-" . $r . "-" );
   $ret .= $r;
}
print( "received id: $ret\n" );

fclose( $fd );






Edit this bug report at http://bugs.php.net/?id=6200&edit=1


-- 
PHP Development 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] Bug #6778 Updated: fsockopen: timeout does not work when nameserver unreachable

2001-07-21 Thread andy

ID: 6778
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Sockets related
Operating System: Debian 2.2
PHP Version: 4.0.1pl2
New Comment:

Please upgrade to the latest version of PHP.  Re-open if
still exists.

Previous Comments:


[2000-09-16 16:20:46] [EMAIL PROTECTED]

When doing a plain
fsockopen ("www.anyhost.com",$port,&$errno,&$errstr,$timeout) ...
and the nameserver for this host does not respond, is unreachable or at least 
extremely slow (host www.anyhost.com produces 'A record not found'), fsockopen won't 
return after $timeout (3secs for example)!
It hangs for at least 100-120 s.





Edit this bug report at http://bugs.php.net/?id=6778&edit=1


-- 
PHP Development 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] Bug #6778 Updated: fsockopen: timeout does not work when nameserver unreachable

2001-07-21 Thread andy

ID: 6778
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Sockets related
Operating System: Debian 2.2
PHP Version: 4.0.1pl2
New Comment:

Please upgrade to the latest version of PHP.  Re-open if
still exists.

Previous Comments:


[2001-07-21 21:55:50] [EMAIL PROTECTED]

Please upgrade to the latest version of PHP.  Re-open if
still exists.



[2000-09-16 16:20:46] [EMAIL PROTECTED]

When doing a plain
fsockopen ("www.anyhost.com",$port,&$errno,&$errstr,$timeout) ...
and the nameserver for this host does not respond, is unreachable or at least 
extremely slow (host www.anyhost.com produces 'A record not found'), fsockopen won't 
return after $timeout (3secs for example)!
It hangs for at least 100-120 s.





Edit this bug report at http://bugs.php.net/?id=6778&edit=1


-- 
PHP Development 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] Bug #10702 Updated: levenshtein doesn't handle odd arguments well

2001-07-21 Thread andy

ID: 10702
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Strings related
Operating System: Win2k
PHP Version: 4.0.5
New Comment:

Please see the related documentation.

http://php.net/manual/en/function.levenshtein.php


Previous Comments:


[2001-05-07 09:06:47] [EMAIL PROTECTED]

Hello Hartmut,

levenshtein ('foot','fot','0','0','1');
 - and -
levenshtein ('foot','fot','0','1','1');

return the following error:

Warning:  levenshtein(): argument string(s) too long in 
f:/xitami/pub/php_er/mysql/test.php on line 3

--zak





Edit this bug report at http://bugs.php.net/?id=10702&edit=1


-- 
PHP Development 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] Bug #10702 Updated: levenshtein doesn't handle odd arguments well

2001-07-21 Thread andy

ID: 10702
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Strings related
Operating System: Win2k
PHP Version: 4.0.5
New Comment:

Please see the related documentation.

http://php.net/manual/en/function.levenshtein.php


Previous Comments:


[2001-07-21 21:59:37] [EMAIL PROTECTED]

Please see the related documentation.

http://php.net/manual/en/function.levenshtein.php




[2001-05-07 09:06:47] [EMAIL PROTECTED]

Hello Hartmut,

levenshtein ('foot','fot','0','0','1');
 - and -
levenshtein ('foot','fot','0','1','1');

return the following error:

Warning:  levenshtein(): argument string(s) too long in 
f:/xitami/pub/php_er/mysql/test.php on line 3

--zak





Edit this bug report at http://bugs.php.net/?id=10702&edit=1


-- 
PHP Development 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] Bug #586 Updated: configure does not support apache shadow tree

2001-07-22 Thread andy

ID: 586
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Feature/Change Request
Operating System: Solaris
PHP Version: 4.0
New Comment:

Isn't it about time this bug is closed?

Previous Comments:


[2001-02-24 15:54:59] [EMAIL PROTECTED]

Changing to feature request.



[2001-02-10 12:57:34] [EMAIL PROTECTED]

really refiled.



[2001-02-10 12:24:03] [EMAIL PROTECTED]

refiling as real bug against 4.0. (not verified.)



[1999-07-03 12:14:44] [EMAIL PROTECTED]

Looks like Apache's shadow source feature doesn't work in Apache 1.3.6. Moving to 
feature request.



[1998-07-27 20:15:31] [EMAIL PROTECTED]

As item 4.2 in the FAQ states, configure only supports being told the location of the 
top level apache dir.  But when apache is built using shadow dirs (as in 
apache/src.sun4u-sun-solaris2.260 configure cannot handle it).

The following patch modifies configure.in (for the APACI case only - sorry) to first 
check if the withval was actually a src dir and if so use it.

Oh and I just noticed that php does not handle being built in a separate dir.

--sjg

*** configure.in.~1~Mon Jul 20 07:55:47 1998
--- configure.inTue Jul 28 09:56:33 1998
***
*** 213,221 
  withval=/usr/local/etc/httpd
fi
if test "$withval" != "no"; then
! if test -f $withval/src/include/httpd.h; then
!   APACHE_INCLUDE="-I$withval/src/include -I$withval/src/os/unix"
!   APACHE_TARGET=$withval/src/modules/php3
if test ! -d $APACHE_TARGET; then
mkdir $APACHE_TARGET
fi
--- 213,228 
  withval=/usr/local/etc/httpd
fi
if test "$withval" != "no"; then
!   x=`dirname $withval`
!   if test -f $x/src/include/httpd.h; then
!   withval_src=$withval
!   withval=$x
!   else
!   withval_src=$withval/src
!   fi
! if test -f $withval_src/include/httpd.h; then
!   APACHE_INCLUDE="-I$withval_src/include -I$withval_src/os/unix"
!   APACHE_TARGET=$withval_src/modules/php3
if test ! -d $APACHE_TARGET; then
mkdir $APACHE_TARGET
fi
***
*** 228,249 
AC_DEFINE(APACHE)
AC_MSG_RESULT(yes - Shared Apache 1.3.x)
STRONGHOLD=
!   if test -f $withval/src/include/ap_config.h; then
AC_DEFINE(HAVE_AP_CONFIG_H)
fi
!   if test -f $withval/src/include/ap_compat.h; then
AC_DEFINE(HAVE_AP_COMPAT_H)
!   if test ! -f $withval/src/include/ap_config_auto.h; then
AC_MSG_ERROR(Please run Apache's configure or src/Configure program once and 
try again)
fi
else
!   if test -f $withval/src/include/compat.h; then
AC_DEFINE(HAVE_OLD_COMPAT_H)
fi
fi
else
AC_MSG_RESULT(no)
!   AC_MSG_ERROR(Invalid Apache directory - unable to find httpd.h under 
$withval/src/include)
  fi
fi
AC_SUBST(APACHE_INCLUDE)
--- 235,256 
AC_DEFINE(APACHE)
AC_MSG_RESULT(yes - Shared Apache 1.3.x)
STRONGHOLD=
!   if test -f $withval_src/include/ap_config.h; then
AC_DEFINE(HAVE_AP_CONFIG_H)
fi
!   if test -f $withval_src/include/ap_compat.h; then
AC_DEFINE(HAVE_AP_COMPAT_H)
!   if test ! -f $withval_src/include/ap_config_auto.h; then
AC_MSG_ERROR(Please run Apache's configure or src/Configure program once and 
try again)
fi
else
!   if test -f $withval_src/include/compat.h; then
AC_DEFINE(HAVE_OLD_COMPAT_H)
fi
fi
else
AC_MSG_RESULT(no)
!   AC_MSG_ERROR(Invalid Apache directory - unable to find httpd.h under 
$withval_src/include)
  fi
fi
AC_SUBST(APACHE_INCLUDE)






Edit this bug report at http://bugs.php.net/?id=586&edit=1


-- 
PHP Development 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] Bug #997 Updated: can't use name in script tag

2001-07-22 Thread andy

ID: 997
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.0
New Comment:

I think it is about time this bug is closed...

Previous Comments:


[2001-02-10 12:56:04] [EMAIL PROTECTED]

really refiled this time.



[2001-02-10 12:39:26] [EMAIL PROTECTED]

refiling against 4.0.



[2000-08-05 12:35:03] [EMAIL PROTECTED]

Well, this is more like feature request than a real bug (i.e., it is so by design)



[2000-08-05 00:54:27] [EMAIL PROTECTED]

problem still exists in php3 & 4



[1998-12-18 12:08:15] [EMAIL PROTECTED]

When using the '

[PHP-DEV] Bug #1027 Updated: fprintf() please

2001-07-22 Thread andy

ID: 1027
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Feature/Change Request
Operating System: 
PHP Version: 4.0
New Comment:

Is fprintf going to be added or should this request be closed?

Previous Comments:


[2001-02-10 12:55:39] [EMAIL PROTECTED]

really moved to 4.0 this time.



[2001-02-10 12:40:17] [EMAIL PROTECTED]

still no fprintf. refiled against 4.0.



[1999-01-05 04:09:14] [EMAIL PROTECTED]

Quite often my PHP3-scripts take input from the user, and writes it into a file. I can 
do

  fputs($fp,sprintf("%2d\n",$variable));

but it really looks ghastly. Fprintf would be nice to have.

I would also suggest that you take all the stdio-derived functions which is dispersed 
throughout the manual (in Filesystem and Strings) and collect them in a new section 
called "File I/O" or equivalent.






Edit this bug report at http://bugs.php.net/?id=1027&edit=1


-- 
PHP Development 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] Bug #1029 Updated: printf (& sprintf) dosn't handle exponential format for floats correctly

2001-07-22 Thread andy

ID: 1029
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.0
New Comment:

Should this request be closed?  It's really old...

Previous Comments:


[2001-02-10 12:55:06] [EMAIL PROTECTED]

really reassigned to 4.0 this time.



[1999-11-12 11:31:07] [EMAIL PROTECTED]

Moving to feature req.



[1999-01-05 06:29:54] [EMAIL PROTECTED]

System: Linux, Apache with PHP-module
Problem: printf (& sprintf) dosn't handle exponential format for floats correctly

Comment: This isn't actually a bug since it isn't documented to work in the manual.
I nedded exponential format in my application and since the function
"formatted_print.c" already had some support for exp. format (but
not working correctly) the simplest solution was to fix it in the php 
source code.
Below is my patch to  "formatted_print.c" if you would like to include 
it 
in a future rease of PHP.
Thanks for a great tool for building web interfaces to databases !

Regards,
   -leif



*** formatted_print.c.org   Mon Jan  4 21:06:38 1999
--- formatted_print.c   Mon Jan  4 21:13:09 1999
***
*** 257,263 
} else if (precision > MAX_FLOAT_PRECISION) {
precision = MAX_FLOAT_PRECISION;
}
!   cvt = _php3_cvt(number, precision, &decpt, &sign, (fmt == 'e'));
  
if (sign) {
numbuf[i++] = '-';
--- 257,266 
} else if (precision > MAX_FLOAT_PRECISION) {
precision = MAX_FLOAT_PRECISION;
}
!   if (fmt == 'e')
!   cvt = _php3_cvt(number, precision+1, &decpt, &sign, 1);
!   else
!   cvt = _php3_cvt(number, precision, &decpt, &sign, 0);
  
if (sign) {
numbuf[i++] = '-';
***
*** 288,294 
while (cvt[j]) {
numbuf[i++] = cvt[j++];
}
! 
numbuf[i] = '\0';
  
if (precision > 0) {
--- 291,311 
while (cvt[j]) {
numbuf[i++] = cvt[j++];
}
!   if (fmt == 'e') {
!   int exponent = decpt-1;
!   numbuf[i++] = 'e';
!   if (exponent < 0)
!   numbuf[i++] = '-';
!   else
!   numbuf[i++] = '+';
!   exponent = abs(exponent);
!   if (exponent > 99)  {
!   numbuf[i++] = '0' + exponent / 100;
!   exponent = exponent % 100;
!   }
!   numbuf[i++] = '0' + exponent / 10;
!   numbuf[i++] = '0' + exponent % 10;
!   }
numbuf[i] = '\0';
  
if (precision > 0) {






Edit this bug report at http://bugs.php.net/?id=1029&edit=1


-- 
PHP Development 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] Bug #1432 Updated: fgets() fails on certain sockets

2001-07-22 Thread andy

ID: 1432
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Old Bug Type: Feature/Change Request
Bug Type: Sockets related
Operating System: Win32
PHP Version: 4.0
New Comment:

reclassified

Previous Comments:


[2001-02-10 13:17:18] [EMAIL PROTECTED]

refiling as a bug against 4.0.



[1999-05-28 07:52:28] [EMAIL PROTECTED]

fgets recognizes a carriage return (CR, '\n', 0xod)  as a end-of-line only. The site 
in question uses line feeds (LF, ´\r´, 0x0a) as line delimiters.

Moving the report over to feature requests.



[1999-05-21 04:28:24] [EMAIL PROTECTED]

I use PHP/3.06 win32 for writing a web crawler which
indexes URL's.

The indexer has no problems, except on ONE url that I
know of so far which seems to be, as far as I
can ascertain related to the fgets()
function failing to work.

fgets() will not read data from any socket connected
via fsockopen to www.hutman.com port 80. I know this might
seem very strange, but fgets() never seems to be able to determine EOF and hence sits 
there forever doing nothing.
I have used a raw telnet session to try and debug this and cannot find why PHP would 
do this -- it works fine on every
other URL in the database.

Here is some code that may help:

$sock = fsockopen("www.hutman.com",80);

if ($sock)
{
  fputs($sock,"HEAD /dreg/facade/songs/aftk.mp3 HTTP/1.1\n");
  fputs($sock,"Host: www.hutman.com\n");
  fputs($sock,"User-Agent: HTTP-crawler/1.0\n");
  fputs($sock,"Connection: close\n\n");

/* at this point the server responds .. and it indeed does in a telnet session, but 
PHP simply wont read the data returned AT ALL. */

  while ($buf = fgets($sock,128))
  {
$response = $response . $buf;
echo $buf;
  }

No variations of this will work.. the fgets() function will timeout after a while.

i have tried while (!feof($sock)) as well, which exhibits similar behaviour, but seems 
to NEVER return from the fgets() call .. never times out.







Edit this bug report at http://bugs.php.net/?id=1432&edit=1


-- 
PHP Development 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] Bug #1504 Updated: New function to set the http status

2001-07-22 Thread andy

ID: 1504
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.0
New Comment:

It seems like this bug needs to be closed.

Previous Comments:


[2001-02-10 13:22:29] [EMAIL PROTECTED]

refiling against 4.0 (perhaps it could be addressed in sapi layer since 
header('status: 404 not found') may not work with all web servers).



[1999-06-07 21:09:00] [EMAIL PROTECTED]

When having a line like this "ErrorDocument 404 /404.php3", in your apache httpd.conf, 
the first line of the HTTP respone would be something like "HTTP/1.1 404 Object Not 
Found". It would be nice to be able to change this to fx. "HTTP/1.1 200 OK".
Right now php only makes it possible to add new lines after the first line of the 
header, and doing a header("status: 200 OK"); will not work on all clients.






Edit this bug report at http://bugs.php.net/?id=1504&edit=1


-- 
PHP Development 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] Bug #1552 Updated: show_source is extremely ugly and inefficient.

2001-07-22 Thread andy

ID: 1552
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating System: Linux/Red Hat 5.1
PHP Version: 4.0
New Comment:

closed

Previous Comments:


[2001-02-10 13:27:17] [EMAIL PROTECTED]

refiling against 4.0.



[1999-06-16 17:06:13] [EMAIL PROTECTED]

The show_source function translates all spaces into "& nbsp ;"'s, which really 
disturbs tables and makes pages wider. Complete ugliness, and it also wastes bandwidth 
by sending unnecessary information.

I realize that not replacing the spaces will result in wrapping of the source, perhaps 
using the <nobr> tag would help?

If not, then perhaps whether or not to translate the spaces should be an argument?





Edit this bug report at http://bugs.php.net/?id=1552&edit=1


-- 
PHP Development 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] Bug #6925 Updated: ext/java

2001-07-22 Thread andy

ID: 6925
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Java related
Operating System: windows 2000
PHP Version: 4.0.2
New Comment:

no feedback

Previous Comments:


[2001-06-22 00:56:38] [EMAIL PROTECTED]

This looks like a configuration problem on your end. php4/ext/java/README has a long 
list of different JVM configurations, please have a look at it.



[2000-09-28 12:06:53] [EMAIL PROTECTED]

Well after fighting with win98 and the java extension i tryed it on my 2000 box.. it 
worked fine.. but now i'll run the jver.php example.. and exactly every other time i 
run it i get the error unable to start java virtual machine..

i tryed it with jdk1.2 and jdk1.3

error:
Fatal error: Unable to create Java Virtual Machine in 
D:\Inetpub\wwwroot\cgi-bin\jver.php on line 4

no error:
Java version=1.2.2 
Java vendor=Sun Microsystems Inc. 
OS=Windows NT 5.0 on x86 
Thursday, September 28, 2000 at 12:03:58 AM Pacific Daylight Time 







Edit this bug report at http://bugs.php.net/?id=6925&edit=1


-- 
PHP Development 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] Bug #8065 Updated: Form POST results in HTTP 500 - Internal server error

2001-07-22 Thread andy

ID: 8065
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: IIS related
Operating System: WinNT 4.0 Server
PHP Version: 4.0.3pl1
New Comment:

no feedback

Previous Comments:


[2001-06-15 12:21:13] [EMAIL PROTECTED]

Does this happen with PHP 4.0.5?




[2000-11-30 21:06:18] [EMAIL PROTECTED]

Any form post will fail. Two simple scripts that fail:

hello.php:




 0)
 {
// WARNING:  Error checking removed for clarity...
printf("Content-Type: text/html\r\n\r\n");
_setmode( _fileno( stdin ), _O_BINARY );   
char* szBuf = new char[nCL + 1];
fread(szBuf + nRead, sizeof(char), nCL-nRead, stdin);
szBuf[nCL] = '\0';
// Do something with szBuf... 
delete [] szBuf;
 }
  }
  return 0;
   } 



STATUS
This behavior is by design. 



MORE INFORMATION
>From the HTTP 1.1 Specification (RFC2068):

NOTE: Certain buggy HTTP/1.0 client implementations generate an extra CRLF's after a 
POST request. To restate what is explicitly forbidden by the BNF, an HTTP/1.1 client 
must not preface or follow a request with an extra CRLF. 

Which implies that server applications cannot rely on client's sending an extra CRLF.

You should also be aware that similar problems could result in scripts as well as 
executables. While some script interpreters may internally buffer up the posted data 
before executing the actual script resulting in correct script behavior, the scripts 
should adhere to the correct behavior. 



REFERENCES
The third-party contact information included in this article is provided to help you 
find the technical support you need. This contact information is subject to change 
without notice. Microsoft in no way guarantees the accuracy of this third-party 
contact information.


For more information on the Common Gateway Interface 1.1 Specification see the 
following website at: 







Edit this bug report at http://bugs.php.net/?id=8065&edit=1


-- 
PHP Development 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] Bug #8590 Updated: PHP dbm module not compatible with dbmmanage or mod_auth_dbm

2001-07-22 Thread andy

ID: 8590
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Feedback
Bug Type: DBM/DBA related
Operating System: Linux Red Hat 6.2
PHP Version: 4.0.3pl1
New Comment:

no feedback

Previous Comments:


[2001-06-14 15:42:02] [EMAIL PROTECTED]

1) have tried a more recent version of PHP?
2) if this still continues in a more recent example, can you please post a sample 
script to reproduce the problem?



[2001-01-08 05:22:52] [EMAIL PROTECTED]

Hi,
I'm in trouble with php and I hope you can help me.
I wish to use php to authorize new users to access to a reserved area of my web 
server. My web server is Apache 1.3.12 and I use db or dbm.
I've download the latest version of gdbm and Barkeley DB and I've compiled both php 
and Apache with them.
Now, if I create a database with dbmmanage it works with Apache db module but if I try 
to open the database with dbmopen I receive an error message (gbdm open error). If I 
create a database with dbmopen nor Apache nor dbmmanage can read it.
I've tried to use --without-gdbm --with-db=\usr but nothing changes.
Can you help me?
Tanks 


Dante






Edit this bug report at http://bugs.php.net/?id=8590&edit=1


-- 
PHP Development 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] Bug #8590 Updated: PHP dbm module not compatible with dbmmanage or mod_auth_dbm

2001-07-22 Thread andy

ID: 8590
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: DBM/DBA related
Operating System: Linux Red Hat 6.2
PHP Version: 4.0.3pl1
New Comment:

meant to close it...oops

Previous Comments:


[2001-07-22 12:44:49] [EMAIL PROTECTED]

no feedback



[2001-06-14 15:42:02] [EMAIL PROTECTED]

1) have tried a more recent version of PHP?
2) if this still continues in a more recent example, can you please post a sample 
script to reproduce the problem?



[2001-01-08 05:22:52] [EMAIL PROTECTED]

Hi,
I'm in trouble with php and I hope you can help me.
I wish to use php to authorize new users to access to a reserved area of my web 
server. My web server is Apache 1.3.12 and I use db or dbm.
I've download the latest version of gdbm and Barkeley DB and I've compiled both php 
and Apache with them.
Now, if I create a database with dbmmanage it works with Apache db module but if I try 
to open the database with dbmopen I receive an error message (gbdm open error). If I 
create a database with dbmopen nor Apache nor dbmmanage can read it.
I've tried to use --without-gdbm --with-db=\usr but nothing changes.
Can you help me?
Tanks 


Dante






Edit this bug report at http://bugs.php.net/?id=8590&edit=1


-- 
PHP Development 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] Bug #8705 Updated: Compile fails with java support. Possibly due to compile script error?

2001-07-22 Thread andy

ID: 8705
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Java related
Operating System: Linux
PHP Version: 4.0.4pl1
New Comment:

no feedback

Previous Comments:


[2001-06-22 08:41:45] [EMAIL PROTECTED]

Could you please try the PHP 4.0.6 as I can not reproduce
this bug. What exactly is your system? RH? Debian? 






[2001-01-15 00:35:27] [EMAIL PROTECTED]

Configure was run with the following options.

./configure --with-mysql --enable-inline-optimization --with-ldap=/usr/local 
--disable-debug --enable-track-vars --with-apxs=/usr/sbin/apxs --disable-short-tags 
--prefix=/usr --with-config-file-path=/etc/httpd --enable-safe-mode 
--with-exec-dir=/usr/bin --with-zlib --with-java=/usr/local/java --with-gd 
--with-png-dir --with-jpeg-dir --with-t1lib --enable-freetype-4bit-antialias-hack

The jdk1.2.2 file from java was used and an alias placed from /usr/local/jdk1.2.2 to 
/usr/local/java.  Then make was run and the following error was produced.

--- Begin Compile error ---
/root/httpdserver/php-4.0.4pl1/build/shtool mkdir -p net/php
javac net/php/reflect.java
/usr/bin/jar cf php_java.jar net/php/*.class net/php/*.properties
net/php/*.class: no such file or directory
make[3]: *** [php_java.jar] Error 2
make[3]: Leaving directory `/root/httpdserver/php-4.0.4pl1/ext/java'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/httpdserver/php-4.0.4pl1/ext/java'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/httpdserver/php-4.0.4pl1/ext'
make: *** [all-recursive] Error 1

--- End Compile error ---

I was able to complete the compile phase through the following steps.
>From the php4.0.4pl1 dir I ran the following commands

cd ./ext/java/net/php/net/php/
cp reflect.class ../../
cd ../../../../../../
make

I then got a second error

--- Begin error ---
rmdir: net/php: Directory not empty
make[3]: *** [php_java.jar] Error 1
--- End error ---

I then ran the following commands.

cd ext/java/net/php/
rm -rf net
cd ../../../../

After rerunning make this time everything worked without a problem.  Hopefully this 
can be fixed in a later release.

Thanks for the kickin piece of software.





Edit this bug report at http://bugs.php.net/?id=8705&edit=1


-- 
PHP Development 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] Bug #8812 Updated: Calling zend_error during module shutdown causes PHP to crash.

2001-07-22 Thread andy

ID: 8812
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Scripting Engine problem
Operating System: Solaris, Linux
PHP Version: 4.0.3pl1
New Comment:

no feedback

Previous Comments:


[2001-06-18 10:04:05] [EMAIL PROTECTED]

have you tried this with one of the latest releases or RC's?



[2001-01-19 16:06:40] [EMAIL PROTECTED]

If you call zend_error during the shutdown sequence for a module then you
get a core because there is no longer a valid error_filename.

We eliminated this from our code, at some cost to its generality, but then the same 
error occurs if, eg, you can't rollback your oracle transaction during
the shutdown of the Oracle module.

Simple fix:  in zend_error, test to see if you are in the middle of shutdown
and don't attempt to write to error_filename if so.

Better fix:  close error_filename AFTER all the modules are shutdown.

Traceback follows:
'
(gdb) bt
#0  0xfe8b6da4 in strlen () from /usr/lib/libc.so.1
#1  0xfe8ffe18 in _doprnt () from /usr/lib/libc.so.1
#2  0xfe901ad0 in snprintf () from /usr/lib/libc.so.1
#3  0xe3b88 in php_error_cb (type=2, 
error_filename=0x5a5a5a5a , 
error_lineno=0, format=0x36e760 "%s: %s", args=0xffbee1cc) at main.c:388
#4  0x1ea440 in zend_error (type=2, format=0x36e760 "%s: %s") at zend.c:596
#5  0x12dde8 in oci_error (err_p=0x93dac4, 
what=0x36e670 "failed to rollback outstanding transactions!", status=-1)
at oci8.c:747
#6  0x12dad4 in _oci_conn_list_dtor (connection=0xbf5740) at oci8.c:658
#7  0x1f32b0 in list_entry_destructor (ptr=0x638260) at zend_list.c:253
#8  0x1f0a0c in zend_hash_apply_deleter (ht=0x411d10, p=0xbf68a0)
at zend_hash.c:619
#9  0x1f0cc8 in zend_hash_graceful_destroy (ht=0x411d10) at zend_hash.c:670
#10 0x1f3434 in zend_destroy_rsrc_list () at zend_list.c:298
#11 0x1db664 in shutdown_executor () at zend_execute_API.c:179
#12 0x1ea16c in zend_deactivate () at zend.c:513
#13 0xe4738 in php_request_shutdown (dummy=0x0) at main.c:669
#14 0xe0ab0 in php_apache_request_shutdown ()
#15 0x28320c in run_cleanups () at atx_prop.cpp:94
#16 0x280980 in ap_clear_pool () at atx_prop.cpp:94
#17 0x280a10 in ap_destroy_pool () at atx_prop.cpp:94
#18 0x280968 in ap_clear_pool () at atx_prop.cpp:94
#19 0x298058 in child_main () at atx_prop.cpp:94
#20 0x298aec in make_child () at atx_prop.cpp:94
#21 0x298c10 in startup_children () at atx_prop.cpp:94
#22 0x299600 in standalone_main () at atx_prop.cpp:94
#23 0x29a1fc in main () at atx_prop.cpp:94







Edit this bug report at http://bugs.php.net/?id=8812&edit=1


-- 
PHP Development 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] Bug #9154 Updated: HTTPD Memory Utilization Spike

2001-07-22 Thread andy

ID: 9154
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Performance problem
Operating System: RH Linux 6.2, Kernel 2.2.14
PHP Version: 4.0.4pl1
New Comment:

no feedback and I think this has been fixed anyway...

Previous Comments:


[2001-06-21 09:51:13] [EMAIL PROTECTED]

Reassign status



[2001-05-08 19:25:33] [EMAIL PROTECTED]

Is this fairly reproducible?
If it is, any chance you could build Apache with debug information (--enable-debug in 
configure), attach to an offending process (gdb /path/to/httpd ), and run a 
backtrace ('bt')?




[2001-02-07 11:55:47] [EMAIL PROTECTED]

Using ezxmlrpc 1.0 library from ez systems to write web services.  Ezxmlrpc uses the 
qtdom option to process XML.  Web services are reading from and writing to Postgres 
7.0.3 database.  Web services are working properly, but when they are called 
repeatedly (anywhere from 6 to 25 times in a row), one of the httpd processes eats all 
of the CPU and memory utilization spikes to over 100MB.  PHP interpreter eventually 
stops because max execution time of 30 secs is exceeded.  Then, memory utilization for 
that process drops back down to around 3MB.

I am using apache 1.3.14 and have php built as a DSO.  I do not seem to get a core 
dump, so I can not include a backtrace.

My configure line follows:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-magic_quotes --with-dom 
--with-qtdom --with-pgsql --enable-debug

I am classifying this as a performance problem, even though I know it is not.  Don't 
know how else to clasify it.  I know this is not enough info to begin debugging this 
problem.  Can someone give me some tips on how I can narrow this down?





Edit this bug report at http://bugs.php.net/?id=9154&edit=1


-- 
PHP Development 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] Bug #9240 Updated: unserialize fails non-determenistic on large objects

2001-07-22 Thread andy

ID: 9240
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Scripting Engine problem
Operating System: RedHat 6.2
PHP Version: 4.0.4pl1
New Comment:

no feedback after 37 days.

Previous Comments:


[2001-06-15 10:41:24] [EMAIL PROTECTED]

And that example object is where? The small one?




[2001-03-20 07:53:15] [EMAIL PROTECTED]

I have noticed a tendancy for this to occur when the server is particularly short on 
memory.  My impression is that it is failing with a "can't unserialize at" error 
instead of a memory error.



[2001-02-22 10:54:03] [EMAIL PROTECTED]

Could you please send me smallest possible object that has
this behaviour? If it's large, please compress it.



[2001-02-13 10:38:17] [EMAIL PROTECTED]

I'm unserializing a large object using the following test script:

for ($i = 0; $i < 20; $i++)
{
echo "$i\n";
$ObjectToCreate = array();
if (!$fp = fopen('test.ser', 'r'))
return false;
$ObjectToCreate = unserialize(fread ($fp, filesize ('test.ser')));
fclose($fp);
}

I get the following output:

0
1
2
3
4
5
6
PHP Warning:  unserialize() failed at offset 2150380 of 3601223 bytes in test.inc on 
line 8

Warning:  unserialize() failed at offset 2150380 of 3601223 bytes in 
test.inc on line 8
7
8
9
10
11
PHP Warning:  unserialize() failed at offset 2822123 of 3601223 bytes in test.inc on 
line 8

Warning:  unserialize() failed at offset 2822123 of 3601223 bytes in 
test.inc on line 8
12
13
14
15
16
17
18
19

Repeatedly running the script produces different output each time with different 
numbers of failures at different offsets.  So far the lowest offset at which I have 
had a problem is about 65.

I can supply the 'test.ser' file on request but for obvious reasons do not wish to 
include it in this error report!





Edit this bug report at http://bugs.php.net/?id=9240&edit=1


-- 
PHP Development 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] Bug #9280 Updated: HTTP/1.1 Expect: header not honoured

2001-07-22 Thread andy

ID: 9280
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Apache related
Operating System: Linux
PHP Version: 4.0.4pl1
New Comment:

no feedback after 38 days.

Previous Comments:


[2001-06-14 20:45:53] [EMAIL PROTECTED]

Do you have any example script that can be used to reproduce
this behaviour? (I'm being lazy here.. :)





[2001-02-15 09:10:32] [EMAIL PROTECTED]

When a PHP page is requested via HTTP/1.1, and the HTTP
header "Expect: 100-continue" is supplied, PHP does not
honour the request.  This is because it is failing
to call ap_should_client_block().

The file sapi/apache/mod_php4.c needs modification. The
following change has been tested and works. Hopefully
someone can make sense of this diff output:

--- sapi/apache/mod_php4.c   Wed Jan  3 22:07:59 2001
+++ sapi/apache_modified/mod_php4.c  Thu Feb 15 13:56:12 2001
@@ -159,14 +159,16 @@
void (*handler)(int);

handler = signal(SIGPIPE, SIG_IGN);
-   while (total_read_byteshttp://bugs.php.net/?id=9280&edit=1


-- 
PHP Development 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] Bug #9269 Updated: Premature end of script headers error

2001-07-22 Thread andy

ID: 9269
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Scripting Engine problem
Operating System: Radhat 7.0
PHP Version: 4.0.4pl1
New Comment:

no feedback after 30+ days.

Previous Comments:


[2001-06-18 10:05:30] [EMAIL PROTECTED]

have you configured apache to handle PHP page parsing?



[2001-02-14 19:39:11] [EMAIL PROTECTED]

I compiled and installed php4 for the first time and it seems that all went right 
,execute normal html page and CGI page such as .cgi .pl no any problem ,but when I try 
to execute any sort of php script I´m stuck with an
 Internal Server error and error_log says:

  Premature end of script headers: /usr/local/httpd/cgi-bin/test.php

 I check the system as following:

   a. -/httpd -l : it list all the compile module , the "mod_php4.c" include in it .
   b. check the server_software with perl is : "Apache/1.3.17 (unix)php/4.0.4pl1"

 Thanks for reply.






Edit this bug report at http://bugs.php.net/?id=9269&edit=1


-- 
PHP Development 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] Bug #9359 Updated: inline not defined in zend_static_allocator.c

2001-07-22 Thread andy

ID: 9359
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Compile Failure
Operating System: OS400
PHP Version: 4.0.4pl1
New Comment:

no feedback after 30+ days.

Previous Comments:


[2001-06-16 12:37:15] [EMAIL PROTECTED]

status -> feedback




[2001-06-16 12:37:01] [EMAIL PROTECTED]

Does this happen with PHP 4.0.5 ?
And if it does, what is in your main/php_config.h
for inline?





[2001-02-21 02:23:37] [EMAIL PROTECTED]

Thanks for your report. In the current Zend CVS, that file does not seem to be used at 
all.  Suspending.



[2001-02-20 16:29:08] [EMAIL PROTECTED]

Zend/zend_static_allocator.c does not include the proper include file that defines 
inline.  Thus, file fails to compile when using compilers that do not support inline.





Edit this bug report at http://bugs.php.net/?id=9359&edit=1


-- 
PHP Development 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] Bug #9600 Updated: PHP chashing on IRIX

2001-07-22 Thread andy

ID: 9600
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Reproducible crash
Operating System: IRIX 6.5
PHP Version: 4.0.4pl1
New Comment:

no feedback after 30+ days.

Previous Comments:


[2001-06-14 22:25:34] [EMAIL PROTECTED]

Sorry to bother again, but there have been some fixes
since that. Could you try again? the latest snapshot..




[2001-03-13 22:19:01] [EMAIL PROTECTED]

User feedback:
--
Sorry, but it is the same problem with the latest vesrion from http://snaps.php.net/
/Mats Gustavsson

--




[2001-03-10 23:40:33] [EMAIL PROTECTED]

Please try the latest CVS snapshot from http://snaps.php.net/

--Jani




[2001-03-07 05:51:40] [EMAIL PROTECTED]

I sucessfully install php-3.0.18 togeter with 
apache_1.3.17 When doing the same with php-4.0.4pl1
PHP crash. 
When tracining it gives the following error message:

Fatal Error: attempted access to unresolvable symbol 
in ...libexec/libphp4.so:  _array_init

I hope that this can be of use.

/Best Regards Mats Gustavsson





Edit this bug report at http://bugs.php.net/?id=9600&edit=1


-- 
PHP Development 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] Bug #9860 Updated: Unable to load dynamic library php_interbase.dll

2001-07-22 Thread andy

ID: 9860
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Feedback
Bug Type: Dynamic loading
Operating System: WinNT 4.0 SP6
PHP Version: 4.0.4pl1
New Comment:

no feedback after 40 days.

Previous Comments:


[2001-06-12 10:50:09] [EMAIL PROTECTED]

does D:\php\extensions\php_interbase.dll exist?  



[2001-03-20 03:40:52] [EMAIL PROTECTED]

>- What do you know by "it show *subj*"?
it means that when i try dl("php_interbase.dll") or uncomment 
extension=php_interbase.dll in php.ini as result i got system message "unable to load 
dynamic library d:\php\extensions\php_interbase.dll"

>- Are the Interbase client libraries correctly installed?
sure.




[2001-03-20 03:33:58] [EMAIL PROTECTED]

- What do you know by "it show *subj*"?

- Are the Interbase client libraries correctly installed?




[2001-03-20 03:31:41] [EMAIL PROTECTED]

other libraries loading is ok, but when i try to load php_interbase.dll it show *subj*.





Edit this bug report at http://bugs.php.net/?id=9860&edit=1


-- 
PHP Development 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] Bug #9864 Updated: In php.ini file.Enabled the ldap utility by removing the semicolon

2001-07-22 Thread andy

ID: 9864
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Bogus
Bug Type: Dynamic loading
Operating System: windows NT
PHP Version: 4.0.4pl1
New Comment:

no feedback after 40 days.

Previous Comments:


[2001-06-12 10:50:38] [EMAIL PROTECTED]

do you have a php_ldap.dll on your machine?



[2001-03-20 06:42:09] [EMAIL PROTECTED]

In php.ini file.Enabled the ldap utility by removing the semicolon given in the 
extension and restarted the web server when i run any of the php program it throws a 
message box saying that unable to load dymanic link library
c:\program files\php\extensions\php_ldap.dll the specified module could not be 
found.please answer to this query asap
thanks
santhosh






Edit this bug report at http://bugs.php.net/?id=9864&edit=1


-- 
PHP Development 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] Bug #10008 Updated: Can not create shared libraries

2001-07-22 Thread andy

ID: 10008
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Compile Failure
Operating System: Linux - arm - netwinder (redhat
PHP Version: 4.0.4pl1
New Comment:

no feedback after 30 days.

Previous Comments:


[2001-06-22 09:16:55] [EMAIL PROTECTED]

User feedback (next time, use the WEB interface to answer):
---
I have tried to reply to previous emails but all email attempts keep
bouncing.

We are STILL having the problem - and according to the manufacturer of the
server, there IS a bug with PHP4.0 on StrongArm chip systems.

I have not yet attempted to compile 4.0.6RC2 on the system - when I get a
chance I will try that. Does it specifically address the strong arm chip
issues?
---

I'm not 100% sure but I think this might have been addressed
in the latest CVS which uses libtool 1.4. The 4.0.6 does NOT
use it so the problem might still be in it.

Unfortunately we don't have any ARM/Linux systems to test
this on. Could you provide us an access to one?

--Jani





[2001-06-21 23:31:04] [EMAIL PROTECTED]

No feedback and most likely a user error / broken system.




[2001-06-03 20:24:17] [EMAIL PROTECTED]

Is this problem still valid? Does it happen with PHP 4.0.5?
And what about PHP 4.0.6RC2 from here:

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

--Jani




[2001-03-26 23:42:40] [EMAIL PROTECTED]

When attempting to compile php4.0p11 for our netwinder (which is an arm based server 
running a variant of RedHat see www.netwinder.com for more info) I am running into 
consistant difficulties in compiling and linking. If I attempt to build using:

./configure --without-mysql --with-apxs 

the make appears to work - but the subsequent make install does NOT create any shared 
objects.

Using a wide array of other options does NOT seem to solve these problems -though some 
options to the configure will move the error to the: make .

Your help is much appreciated!

Here are the contents of my config.log file.

- config.log --

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:1299: checking for a BSD compatible install
configure:1352: checking whether build environment is sane
configure:1409: checking whether make sets ${MAKE}
configure:1448: checking for working aclocal
configure:1461: checking for working autoconf
configure:1474: checking for working automake
configure:1487: checking for working autoheader
configure:1500: checking for working makeinfo
configure:1530: checking whether to enable maintainer-specific portions of Makefiles
configure:1559: checking host system type
configure:1587: checking for gawk
configure:1621: checking for bison
configure:1655: checking bison version
configure:1668: checking for gcc
configure:1781: checking whether the C compiler (gcc  ) works
configure:1797: gcc -o conftestconftest.c  1>&5
configure:1823: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1828: checking whether we are using GNU C
configure:1856: checking whether gcc accepts -g
configure:1888: checking how to run the C preprocessor
configure:1968: checking for AIX
configure:2013: checking for gcc option to accept ANSI C
configure:2093: checking for ranlib
configure:2122: checking whether gcc and cc understand -c and -o together
configure:2173: checking whether ln -s works
configure:2200: checking for flex
configure:2233: checking for flex
configure:2267: checking for yywrap in -lfl
configure:2309: checking lex output file root
configure:2330: checking whether yytext is a pointer
configure:2372: checking for working const
configure:2543: gcc -o conftest -g -O2 -pthread   conftest.c  1>&5
configure:2563: checking for pthreads_cflags
configure:2625: checking for pthreads_lib
configure:2722: checking for AOLserver support
configure:2796: checking for Apache module support via DSO through APXS
configure:3127: checking for mod_charset compatibility option
configure:3197: checking for Apache 2.0 module support via DSO through APXS
configure:3324: checking for Caudium support
configure:3600: checking for fhttpd module support
configure:3645: checking for Zeus ISAPI support
configure:3707: checking for NSAPI support
configure:3786: checking for PHTTPD support
configure:3847: checking for Pi3Web Support
configure:4025: checking for Roxen/Pike support
configure:4127: checking for Servlet support
configure:4254: checking for thttpd
configure:4260: checkin

[PHP-DEV] Bug #10388 Updated: File to file I/O problems

2001-07-22 Thread andy

ID: 10388
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Filesystem function related
Operating System: Windows 98
PHP Version: 4.0.4
New Comment:

no feedback after 30+ days.

Previous Comments:


[2001-06-14 16:10:39] [EMAIL PROTECTED]

Without complete (but short) script it's hard to tell.
And have you tried with php 4.0.5 ?

--Jani




[2001-04-18 19:25:10] [EMAIL PROTECTED]

Whenever I read from file and write directly to another, such as in this line:
fwrite($fileout,fread($filein,255));
Any occurances of the byte 0x0A will be replaced by 0x0D0A. If I try to read 
indirectly, like this:
$out = fread($filein,255);
fwrite($fileout,$out);
The file will always be saved as ASCII, even if I add the "b" flag to fopen. Is this a 
bug, or am I making a stupid mistake?
Your time and effort are greatly appreciated.
 ~ Joe Ferris ~
P.S. Magic quotes are off





Edit this bug report at http://bugs.php.net/?id=10388&edit=1


-- 
PHP Development 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] Bug #10470 Updated: Authorization not read by getallheaders()

2001-07-22 Thread andy

ID: 10470
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: HTTP related
Operating System: Linux (Mandrake 7.2)
PHP Version: 4.0.4pl1
New Comment:

no feedback after 40 days.

Previous Comments:


[2001-06-12 16:22:07] [EMAIL PROTECTED]

can you please post a sample script so that we might try to reproduce this?



[2001-04-24 05:19:33] [EMAIL PROTECTED]

I cannot read the Authorization header via getallheaders function.
But if i use phpinfo() in the same generated page, the Authorization header is 
viewable.

I act under Novell IChain Server & eDirectory, and Authentification is used to give 
access to protect ressources.

The script is the standard script shows as example for getallheaders and the phpinfo 
function that don't return the same data.

Configure Line
. /usr/local/bin/oraenv
./configure  \
--prefix=/usr \
--localstatedir=/var/log/httpd \
--enable-track-vars \
--enable-force-cgi-redirect \
--enable-safe-mode  \
--enable-magic-quotes  \
--enable-sigchild \
--enable-inline-optimization \
--enable-trans-sid \
--enable-sysvsem  \
--enable-sysvshm  \
--enable-ftp \
--with-apxs=/usr/sbin/apxs  \
--with-oracle  \
--with-oci8 \
--with-regex=php \
--with-config-file-path=/etc/httpd/conf \
--with-ttf \
--with-ldap=/etc/openldap

PHP.ini
[PHP_4]

engine  =On ; 
short_open_tag= On;
asp_tags=Off;
precision=14;
y2k_compliance= On; 

safe_mode=On
safe_mode_exec_dir=
safe_mode_allowed_env_vars = PHP_, ORACLE_ ;
safe_mode_protected_env_vars = LD_LIBRARY_PATH, PATH;

highlight.string=   #DD
highlight.comment   =   #FF8000
highlight.keyword   =   #007700
highlight.bg=   #FF
highlight.default   =   #BB
highlight.html  =   #00


expose_php=Off;

charset = iso-8859-1  ; This sets the charset for the default text/html type served up 
by PHP

max_execution_time = 30 ; Maximum execution time of each script, in seconds
memory_limit = 8388608  ; Maximum amount of memory a script may consume (8MB)


error_reporting =   7;
display_errors  =   On  ; Print out errors (as a part of the HTML script)
log_errors  =   On  ; Log errors into a log file (server-specific 
log, stderr, or error_log (below))
track_errors=   On  ; Store the last error/warning message in 
$php_errormsg (boolean)
error_prepend_string = ""   ; string to output before an error 
message
error_append_string = ""; string to output after an error 
message
error_log   =   /var/log/httpd/php_log  ; log errors to specified file
;error_log  =   syslog  ; log errors to syslog (Event Log on NT, not 
valid in Windows 95)
warn_plus_overloading   =   On  ; warn if the + operator is used with 
strings


magic_quotes_gpc=   Off; magic quotes for incoming GET/POST/Cookie data
magic_quotes_runtime=   Off ; magic quotes for runtime-generated data, 
e.g. data from SQL, from exec(), etc.
magic_quotes_sybase =   Off ; Use Sybase-style magic quotes 
(escape ' with '' instead of \')
track_vars  =   On  ; enable $HTTP_GET_VARS[], 
$HTTP_POST_VARS[] and $HTTP_COOKIE_VARS[] arrays
;auto_prepend_file  = 
;auto_append_file   =


;
; Paths and Directories ;
;
include_path="."   ; UNIX: "/path1:/path2"  Windows: 
"\path1;\path2"
;doc_root   =   ; the root of the php 
pages, used only if nonempty
;user_dir   =   ; the directory under 
which php opens the script using /~username, used only if nonempty
;upload_tmp_dir =   ; temporary directory for HTTP uploaded files 
(will use system default if not specified)
upload_max_filesize = 2097152   ; 2 Meg default limit on file uploads
extension_dir   =   /usr/libexec/   ; directory in which the 
loadable extensions (modules) reside


;UNIX Extensions
;extension=pgsql.so
;extension=mysql.so
;extension=imap.so
;extension=ldap.so

;;;
; Module Settings ;
;;;

[Syslog]
define_syslog_variables = Off   ; Whether or not to define the various syslog 
variables,
; e.g. $LOG_PID, 
$LOG_CRON, etc.  Turning it off is a
; good idea 
performance-wise.  In runtime, you can define
; t

[PHP-DEV] Bug #10634 Updated: #2293 related: to many Slashes s.t.

2001-07-22 Thread andy

ID: 10634
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Scripting Engine problem
Operating System: Linux 2.4.2
PHP Version: 4.0.4pl1
New Comment:

no feedback after 30+ days.

Previous Comments:


[2001-06-19 08:31:15] [EMAIL PROTECTED]

Someone had similar problems and said they were fixed
in PHP 4.0.6RC3:

http://www.php.net/~andi/php-4.0.6RC3.tar.gz

(if above link doesn't work, try with RC4)




[2001-06-18 08:43:32] [EMAIL PROTECTED]

No, magic quotes are turned off, it's not that simple.



[2001-06-17 05:08:19] [EMAIL PROTECTED]

Take a look at magic quotes and make sure you have it set to on or off. The manual has 
information about magic quotes in it, I would imagine this is whats causing your 
problems.

- James



[2001-05-03 10:27:26] [EMAIL PROTECTED]

Hi,
sometimes strings from a DB or a textfile are added with backslashes all over one 
page. if you reload the page it could be that it is normal. 
I don't use session_start() only include (like in the solution of problem #2293)
What can I do?






Edit this bug report at http://bugs.php.net/?id=10634&edit=1


-- 
PHP Development 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] Bug #10753 Updated: php4isapi get 'PHP Stack overflow' or server 500 error

2001-07-22 Thread andy

ID: 10753
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Reproducible crash
Operating System: Windows 2000 Server SP1
PHP Version: 4.0.5
New Comment:

no feedback after 30+ days.

Previous Comments:


[2001-06-14 22:14:11] [EMAIL PROTECTED]

Does this happen WITHOUT the optimizer?
Under which webserver? Apache?
As CGI or module?

--Jani




[2001-05-09 10:38:57] [EMAIL PROTECTED]

I am using the base PHP.ini file with
the latest Zend Optimizer for 4.0.5, using encoded files.

Site 1 is running it fine in high (Isolated) protection mode on the HOME DIRECTORY 
tab.

If I try to load any other site on the same server at any protection mode the site 
will give me a 'Server 500 error' or a PHP Stack Overflow error. Site 1 continues to 
work ok.









Edit this bug report at http://bugs.php.net/?id=10753&edit=1


-- 
PHP Development 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] Bug #10853 Updated: PConnect through firewall

2001-07-22 Thread andy

ID: 10853
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Sybase (dblib) related
Operating System: RH6.2
PHP Version: 4.0.4pl1
New Comment:

no feedback after 40 days.

Previous Comments:


[2001-06-12 17:43:55] [EMAIL PROTECTED]

Could you try with server that is NOT behind firewall?
Does this happen then?




[2001-05-14 11:54:38] [EMAIL PROTECTED]

When I use persistent connections to a MS Sql server that is behind a firewall, If I 
refresh the page fast enough (about 10 refreshes per second) one of the connections 
will be opened with problems. I'm using ADODB and the mssql extension. However I had 
the same problem with the raw functions of php. This is the code:

Class Data_Mensajes {

function Load(&$objMensajesNegocio) {
$objMensajes = &$objMensajesNegocio;

include('/usr/local/apache/componentes/adodb/adodb.inc.php');
ADOLoadCode('mssql');
//Nos conectamos al servidor de BD
$con = &ADONewConnection();

if($con->PConnect("200.52.76.2","Mexmatch","qf3ae$+as","MexMatch")) {
$query= "Select * From Mensaje Where IDUsuarioPara = 'WERA'";
$result = $con->Execute($query);
$i=0;
while(!$result->EOF) {
//$objBusiness_Mensaje[$i] = new Business_Mensaje();
$objBusiness_Mensaje = new Business_Mensaje();

$objBusiness_Mensaje->setIDMensaje($result->fields[0]);

$objBusiness_Mensaje->setIDUsuarioDe($result->fields[1]);

$objBusiness_Mensaje->setIDUsuarioPara($result->fields[2]);
$objBusiness_Mensaje->setSubject($result->fields[3]);
$objBusiness_Mensaje->setCuerpo($result->fields[4]);
$objBusiness_Mensaje->setFecha($result->fields[5]);
$objMensajes->setMensajes($objBusiness_Mensaje);
$result->MoveNext();
$i++;
}
}
$result->Close();
$con->Close();
}
} // Fin de Clase Data_Mensajes





Edit this bug report at http://bugs.php.net/?id=10853&edit=1


-- 
PHP Development 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] Bug #11101 Updated: Php has caused an error in PHP4TS.DLL

2001-07-22 Thread andy

ID: 11101
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Reproducible crash
Operating System: Windows ME
PHP Version: 4.0.5
New Comment:

no feedback after 35+ days.

Previous Comments:


[2001-06-14 22:34:11] [EMAIL PROTECTED]

Does this happen with other scripts?
Have you tried reinstalling? I had troubles with
having two different versions of php4ts.dll in my system..

--Jani




[2001-05-24 19:00:35] [EMAIL PROTECTED]

Hi,

I have the following machine:

- Windows ME
- Xitami server(just installed)
- PHP 4.05 (just installed)

When running this script:
-
http://www.devhome.net/php/
// On October 21, 2000
// Updated February 24, 2001
// Now passes RC4 Vector Harness

class rc4crypt {

function endecrypt ($pwd, $data, $case) {

if ($case == 'de') {

$data = urldecode($data);

}

$key[] = "";
$box[] = "";
$temp_swap = "";
$pwd_length = 0;

$pwd_length = strlen($pwd);

for ($i = 0; $i <= 255; $i++) {

$key[$i] = ord(substr($pwd, ($i % $pwd_length), 1));
$box[$i] = $i;

}

$x = 0;

for ($i = 0; $i <= 255; $i++) {

$x = ($x + $box[$i] + $key[$i]) % 256;
$temp_swap = $box[$i];

$box[$i] = $box[$x];
$box[$x] = $temp_swap;

}

$temp = "";
$k = "";

$cipherby = "";
$cipher = "";

$a = 0;
$j = 0;

for ($i = 0; $i < strlen($data); $i++) {

$a = ($a + 1) % 256;
$j = ($j + $box[$a]) % 256;

$temp = $box[$a];
$box[$a] = $box[$j];

$box[$j] = $temp;

$k = $box[(($box[$a] + $box[$j]) % 256)];
$cipherby = ord(substr($data, $i, 1)) ^ $k;

$cipher .= chr($cipherby);

}

if ($case == 'de') {

$cipher = urldecode(urlencode($cipher));

} else {

$cipher = urlencode($cipher);

}

return $cipher;

}


}


$rc4 = new rc4crypt; 

echo "";
$msg="mmm3";
$d = $rc4->endecrypt("hi div", $msg, "");
echo $d;

?>

--
I get the following error:
--

"Php has caused an error in PHP4TSDLL.
Php will now close.

If you continue to experience problems,
try restarting your computer."

--
...and I did restart... but the message wont go away! I uploaded the script to a unix 
server running apache with PHP v. 4.01pl and it works fine...

Also, if we change the variable $msg to, for example, "abc" it works...

Any ideas?!





Edit this bug report at http://bugs.php.net/?id=11101&edit=1


-- 
PHP Development 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] Bug #11302 Updated: problem with nsapi in make

2001-07-22 Thread andy

ID: 11302
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Compile Failure
Operating System: Solaris 8
PHP Version: 4.0.4pl1
New Comment:

no feedback after 40 days.

Previous Comments:


[2001-06-06 01:37:39] [EMAIL PROTECTED]

First update to PHP 4.0.5 and the if it fails too, 
add your configure line used into this bug report.
Also find out WHERE nsapi.h IS located in your system.

And which version of iplanet is this?

--Jani





[2001-06-05 21:27:12] [EMAIL PROTECTED]

here is what I get when I do the make

# make
Making all in Zend
Making all in main
/bin/sh /export/home/mkeller/php-4.0.4pl1/libtool --silent --mode=compile gcc  -I. 
-I/export/home/mkeller/php-4.0.4pl1/main -I/export/home/mkeller/php-4.0.4pl1/main 
-I/export/home/mkeller/php-4.0.4pl1 -I/usr/netscape/server4/include 
-I/export/home/mkeller/php-4.0.4pl1/Zend -I/usr/local/include 
-I/export/home/mkeller/php-4.0.4pl1/ext/mysql/libmysql -I/OraHome1/rdbms/public 
-I/OraHome1/rdbms/demo -I/export/home/mkeller/php-4.0.4pl1/ext/xml/expat/xmltok 
-I/export/home/mkeller/php-4.0.4pl1/ext/xml/expat/xmlparse 
-I/export/home/mkeller/php-4.0.4pl1/TSRM  -D_POSIX_PTHREAD_SEMANTICS 
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DXML_BYTE_ORDER=21 -I../TSRM -DTHREAD=1 -g 
-O2 -pthreads  -c internal_functions.c
/bin/sh /export/home/mkeller/php-4.0.4pl1/libtool --silent --mode=link gcc  -I. 
-I/export/home/mkeller/php-4.0.4pl1/main -I/export/home/mkeller/php-4.0.4pl1/main 
-I/export/home/mkeller/php-4.0.4pl1 -I/usr/netscape/server4/include 
-I/export/home/mkeller/php-4.0.4pl1/Zend -I/usr/local/include 
-I/export/home/mkeller/php-4.0.4pl1/ext/mysql/libmysql -I/OraHome1/rdbms/public 
-I/OraHome1/rdbms/demo -I/export/home/mkeller/php-4.0.4pl1/ext/xml/expat/xmltok 
-I/export/home/mkeller/php-4.0.4pl1/ext/xml/expat/xmlparse 
-I/export/home/mkeller/php-4.0.4pl1/TSRM  -D_POSIX_PTHREAD_SEMANTICS 
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DXML_BYTE_ORDER=21 -I../TSRM -DTHREAD=1 -g 
-O2 -pthreads   -o libmain.la  main.lo internal_functions.lo snprintf.lo 
php_sprintf.lo  safe_mode.lo fopen-wrappers.lo alloca.lo  php_ini.lo SAPI.lo 
rfc1867.lo php_content_types.lo strlcpy.lo  strlcat.lo mergesort.lo reentrancy.lo 
php_variables.lo php_ticks.lo  network.lo php_open_temporary_file.lo php_logos.lo  
Making all in ext
Making all in gd
Making all in ldap
Making all in mysql
Making all in libmysql
Making all in oci8
Making all in pcre
Making all in pcrelib
Making all in posix
Making all in session
Making all in standard
Making all in xml
Making all in expat
Making all in xmltok
Making all in xmlparse
Making all in sapi
Making all in nsapi
/bin/sh /export/home/mkeller/php-4.0.4pl1/libtool --silent --mode=compile gcc  -I. 
-I/export/home/mkeller/php-4.0.4pl1/sapi/nsapi 
-I/export/home/mkeller/php-4.0.4pl1/main -I/export/home/mkeller/php-4.0.4pl1 
-I/usr/netscape/server4/include -I/export/home/mkeller/php-4.0.4pl1/Zend 
-I/usr/local/include -I/export/home/mkeller/php-4.0.4pl1/ext/mysql/libmysql 
-I/OraHome1/rdbms/public -I/OraHome1/rdbms/demo 
-I/export/home/mkeller/php-4.0.4pl1/ext/xml/expat/xmltok 
-I/export/home/mkeller/php-4.0.4pl1/ext/xml/expat/xmlparse 
-I/export/home/mkeller/php-4.0.4pl1/TSRM  -D_POSIX_PTHREAD_SEMANTICS 
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DXML_BYTE_ORDER=21 -I../TSRM -DTHREAD=1 -g 
-O2 -pthreads  -c nsapi.c
nsapi.c:50: nsapi.h: No such file or directory
nsapi.c:51: base/pblock.h: No such file or directory
nsapi.c:52: base/session.h: No such file or directory
nsapi.c:53: frame/req.h: No such file or directory
nsapi.c:54: frame/protocol.h: No such file or directory
nsapi.c:55: base/util.h: No such file or directory
nsapi.c:56: frame/log.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `nsapi.lo'
Current working directory /export/home/mkeller/php-4.0.4pl1/sapi/nsapi
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/mkeller/php-4.0.4pl1/sapi/nsapi
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/mkeller/php-4.0.4pl1/sapi
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'






Edit this bug report at http://bugs.php.net/?id=11302&edit=1


-- 
PHP Development 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] Bug #11305 Updated: Apache child procs arbitrary segfault

2001-07-22 Thread andy

ID: 11305
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Scripting Engine problem
Operating System: Slack/Linux 2.2.17
PHP Version: 4.0.4pl1
New Comment:

no feedback for 35+ days.

Previous Comments:


[2001-06-14 17:03:14] [EMAIL PROTECTED]

We're now at RC3..and soon RC4 so change that part in URL..




[2001-06-06 13:01:08] [EMAIL PROTECTED]

Does this happen with PHP 4.0.6RC2 from

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

and if it does, please include a GDB backtrace of the crash.

--Jani





[2001-06-06 05:11:13] [EMAIL PROTECTED]

instead of:
it also shows this error on sites that display
fine.

i should have said it also shows this error on RECORDS that display fine

thanks in advance



[2001-06-06 02:40:35] [EMAIL PROTECTED]

Howdy. I and having a prob with a function in a php script. It crashes at random 
points and only with ceartain records, but i can't figure out what the diffrence is 
between functional and non functional records. It just started doing this after 
upgrading from php 4.0.1/apache 1.3.12 to php 4.0.4pl1/apache 1.3.19.

php configure:
./configure --with-mysql --with-apache=../apache_1.3.19 --enable-track-vars 
--with-tiff-dir=/usr/local --with-jpeg-dir=/usr/local --with-pdflib 
--with-zlib-dir=/usr/local --with-png-dir=/usr/local --with-gd --enable-debug

apache config.status:
./configure \
"--with-layout=Apache" \
"--prefix=/usr/local/apache" \
"--activate-module=src/modules/php4/libphp4.a" \
"--enable-module=ssl" \
"--enable-module=rewrite"

below is the snippit i've tracked it down to... this is the only code on the site i've 
found that causes the error.

  function fdate($dateid) {
global $db, $tablebody;
if($GLOBALS[PHP_AUTH_USER] == 'admin') { print "1"; }
$result = mysql_query("SELECT date_value, date_text, date_checked, checklist" .
" FROM date_data WHERE dateid = $dateid", $db);
if($GLOBALS[PHP_AUTH_USER] == 'admin') { print "2"; }

$date = mysql_fetch_array($result);
if($GLOBALS[PHP_AUTH_USER] == 'admin') { print "3"; }
if ($result) {mysql_free_result($result);}
if ($date[date_value] == '' || $date[date_value] == '-00-00') { $tdate = 
$date[date_text]; }
else {
  list($yr, $mnth, $dy) = split("-", $date[date_value]);
  $tdate = date("m\/d\/y", mktime(0, 0, 0, $mnth, $dy, $yr));
}
if($GLOBALS[PHP_AUTH_USER] == 'admin') { print "4"; }
if ($date[date_checked]) { $ndate = '*' . $tdate; $bg = "bgcolor='$tablebody' "; }
if($GLOBALS[PHP_AUTH_USER] == 'admin') { print "5"; }
print(" $ndate\n");
  }

note the print 1,2 etc ... it crashes at random places too. (sometimes before one, and 
at all points in between it seems. other times it works fine )

below is what was in apache's error_log. it also shows this error on sites that 
display fine.

[Tue Jun  5 17:27:03 2001]  Script:  '/usr/local/web/search.html'
---
zend_execute_API.c(261) : Block 0x08426128 status:
zend_variables.c(62) : Actual location (location was relayed)
Beginning:  OK (allocated on datetime.c:307, 7 bytes)
  End:  Overflown (magic=0x2A8FCC00 instead of 0x2A8FCC84)
1 byte(s) overflown
---
datetime.c(307) :  Freeing 0x0842614C (7 bytes), 
script=/usr/local/web/search.html Last leak repeated 15 times






Edit this bug report at http://bugs.php.net/?id=11305&edit=1


-- 
PHP Development 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] Bug #11317 Updated: Specified module could not be found error

2001-07-22 Thread andy

ID: 11317
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Dynamic loading
Operating System: W2K
PHP Version: 4.0.5
New Comment:

no feedback after 40 days.

Previous Comments:


[2001-06-07 01:58:16] [EMAIL PROTECTED]

Try placing the extension_dir value in quotes, ie:

extension_dir="C:\PHP\extensions"

--Jani




[2001-06-06 15:15:55] [EMAIL PROTECTED]

We downloaded the smaller CGI binary file and we have a PHP4/IIS5/MySQL combo which is 
stable and works fine but we need to switch over to SQLServer 7 instead of MySql 
-using the same binary file we just amended php.ini to include the extension for 
php_mssql.dll (which we downloaded and extracted from the larger 4Mb download file) 
but now php complains that "The specified module cannot be found" yet it all appears 
correct.
 
Relevant lines from php.ini are,
 
; Directory in which the loadable extensions (modules) reside.
extension_dir = C:\PHP\extensions
 
;Windows Extensions
;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
;
extension=php_mssql.dll 
 
the file lives in C:\PHP\extensions 
 
Anbody got any ideas ?
 
Thanks
 
Mike






Edit this bug report at http://bugs.php.net/?id=11317&edit=1


-- 
PHP Development 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] Bug #11340 Updated: utf8_encode and utf8_decode go boom()

2001-07-22 Thread andy

ID: 11340
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: XML related
Operating System: Debian GNU/Linux 2.2 (Potato)
PHP Version: 4.0.5
New Comment:

no feedback after 35+ days.

Previous Comments:


[2001-06-14 13:32:46] [EMAIL PROTECTED]

I can not reproduce this with PHP 4.0.6RC3.
Please try it:

http://www.php.net/~andi/php-4.0.6RC3.tar.gz

(if the link doesn't seem to work, just pump up the x in RCx . ie RC3 -> RC4 ..etc.)  




[2001-06-07 16:38:42] [EMAIL PROTECTED]

for ($i;$i<1000;$i++) { $foo=utf8_encode('test' . $i);
$foo2=utf8_decode('test' . $i);
}
Gives random segfaults and various unwanted side effects (killing other variables, 
messing with functions etc etc). The segfaults happen randomly, you need to reload the 
page many times (20 to 30) to get it to crash.

More serious pages (with many variables etc) will crash much sooner.

Loaded modules: xml, ldap and pgsql. My brother had, by pure incident, also problems 
with xml today; he has a totally different setup (most stuff compiled in, only 
Interbase module loaded) but was able to reproduce the problem.

Problem also acknowledged with 4.0.3pl1.





Edit this bug report at http://bugs.php.net/?id=11340&edit=1


-- 
PHP Development 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] Bug #11351 Updated: array_shift breaks numeric index key association in PHP4.05

2001-07-22 Thread andy

ID: 11351
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Arrays related
Operating System: RH6.2
PHP Version: 4.0.5
New Comment:

no feedback after 40+ days.

Previous Comments:


[2001-06-08 14:33:53] [EMAIL PROTECTED]

Did this work in 4.0.4pl1?
Does it work with the latest RC sources:

http://www.php.net/~andi/php-4.0.6RC3.tar.gz

--Jani




[2001-06-08 05:56:01] [EMAIL PROTECTED]

This is perhaps more appropriate for posting to the list, please excuse my form. :)


 "Item A",
213 => "Item B",
348 => "Item C",
967 => "Item D",
);

print_r($my_array);
array_shift($my_array);
print_r($my_array);

?>


Produces:

Array
(
[101] => Item A
[213] => Item B
[348] => Item C
[967] => Item D
)
Array
(
[0] => Item B
[1] => Item C
[2] => Item D
)



[2001-06-08 05:48:10] [EMAIL PROTECTED]

Hi guys,

This is perhaps not a bug, more an anomaly, perhaps.

 "Service ID",
1 => "Daily News Feed",
2 => "Search For Your Site",
3 => "Instant Access to Experts",
4 => "Submit to the Search Engines",
5 => "Link Checker",
6 => "Free Email @yourdomain.com",
7 => "Generate Meta Tags",
9 => "HTML Toolbox",
10 => "Shrink your graphics",
12 => "Cheap Domain Registration",
13 => "Targetted Traffic",
14 => "Community Forums",
15 => "Log Analysis",
20 => "Free, Color, Business Cards",
16 => "Royalty Free Images",
17 => "Search Engine Optimizer",
18 => "Search Engine Starter",
19 => "Web Server Monitor",
21 => "FlashBlaster",
22 => "EchoTools",
23 => "SitePoint Tip Feed",
24 => "Website Appraisal & Benchmark Service"
);

print_r($my_array);
array_shift($my_array);
print_r($my_array);

?>

produces the following result (notice that there is no item #8 or #11 in the first 
list).  Notice that all I want to do is remove the first item, whilst keeping the key 
integrity.  What happens is that the data is reindexed and the keys are lost.

Perhaps this is desired behaviour?  Just thought I'd pop you an email anyway.

Array
(
[0] => Service ID
[1] => Daily News Feed
[2] => Search For Your Site
[3] => Instant Access to Experts
[4] => Submit to the Search Engines
[5] => Link Checker
[6] => Free Email @yourdomain.com
[7] => Generate Meta Tags
[9] => HTML Toolbox
[10] => Shrink your graphics
[12] => Cheap Domain Registration
[13] => Targetted Traffic
[14] => Community Forums
[15] => Log Analysis
[20] => Free, Color, Business Cards
[16] => Royalty Free Images
[17] => Search Engine Optimizer
[18] => Search Engine Starter
[19] => Web Server Monitor
[21] => FlashBlaster
[22] => EchoTools
[23] => SitePoint Tip Feed
[24] => Website Appraisal & Benchmark Service
)
Array
(
[0] => Daily News Feed
[1] => Search For Your Site
[2] => Instant Access to Experts
[3] => Submit to the Search Engines
[4] => Link Checker
[5] => Free Email @yourdomain.com
[6] => Generate Meta Tags
[7] => HTML Toolbox
[8] => Shrink your graphics
[9] => Cheap Domain Registration
[10] => Targetted Traffic
[11] => Community Forums
[12] => Log Analysis
[13] => Free, Color, Business Cards
[14] => Royalty Free Images
[15] => Search Engine Optimizer
[16] => Search Engine Starter
[17] => Web Server Monitor
[18] => FlashBlaster
[19] => EchoTools
[20] => SitePoint Tip Feed
[21] => Website Appraisal & Benchmark Service
)

By the way, did you see our "Building a DataBase Drive Website Using PHP and MySQL" is 
now the feature article on the front page of MySQL.com?  Would PHP.net like to 
consider something similar?

http://www.mysql.com/articles/ddws/index.html
http://www.sitepoint.com/article.php/228

Cheers,

Jason.

___

Jason Donald
Chief Technology Officer/Co-Founder
SitePoint - Master the Web

e: [EMAIL PROTECTED]
w: www.sitepoint.com
p: +613 9495 6600
f: +613 9495 6611
___






Edit this bug report at http://bugs.php.net/?id=11351&edit=1


-- 
PHP Development 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] Bug #11380 Updated: htaccess

2001-07-22 Thread andy

ID: 11380
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Apache related
Operating System: Linux 7.0
PHP Version: 4.0.5
New Comment:

no feedback after 40+ days.

Previous Comments:


[2001-06-09 23:02:33] [EMAIL PROTECTED]

Does this happen if you DON'T have that .htaccess file
there? And what's in prepend.php3??
Does it happen if you disable PHP from Apache? (ie. comment
the lines for loading the module)

--Jani




[2001-06-09 21:56:53] [EMAIL PROTECTED]

when i'm using .htaccess file in mhy documentroot directory with the following options 
:
php_value include_path ".:/var/cult.bg/php"
php_value auto_prepend_file prepend.php3
php_flag magic_quotes_gpc off
php_flag magic_quotes_runtime off
php_flag magic_quotes_sybase off

it always gives me the popup window for authenticating - that apache stuff - maybe 
it's apache related problem, i'm not sure.

so my question (?) is how can i send the admin password for example - i just want it 
to work - nevermind how or which password it will use

p.s. thanks in advance





Edit this bug report at http://bugs.php.net/?id=11380&edit=1


-- 
PHP Development 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] Bug #11385 Updated: While with For loop inside, crashes PHP

2001-07-22 Thread andy

ID: 11385
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Reproducible crash
Operating System: Win98.2 and Compaq Alpha Tru64
PHP Version: 4.0.5
New Comment:

no feedback after 35+ days.

Previous Comments:


[2001-06-10 14:05:09] [EMAIL PROTECTED]

Please include a working script that can be used to reproduce this. Not just a part of 
it..
Also make it a self contained function ie. one that
doesn't use any databases, etc. IF it isn't the problem..

--Jani





[2001-06-10 13:06:15] [EMAIL PROTECTED]

Tried this While with For loop inside on many diff. installations now, and allways 
with the same result.
PHP crashes and don't leave any messages anywhere.
There are other ways to deal with this probelm, but anyway...
It is not the use of ODBC, cause I tried with other function combinations to.
while( odbc_fetch_row( $db_cur)){
for( $x=0; $x<$cur_length; $x++){
$tmp2 = $odbc_result( $db_cur, $x);
  }
}

I don't have access to neither the WIn98.2 or Compaq Alpha Tru64's system, and can't 
get a backtrace.





Edit this bug report at http://bugs.php.net/?id=11385&edit=1


-- 
PHP Development 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] Bug #11405 Updated: compile fails

2001-07-22 Thread andy

ID: 11405
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Compile Failure
Operating System: AIX 4.3.3
PHP Version: 4.0.5
New Comment:

no feedback after 35+ days.

Previous Comments:


[2001-06-13 15:49:34] [EMAIL PROTECTED]

Could you please try with latest CVS snapshot from
http://snaps.php.net/

as the HEAD branch used libtool 1.4 which might have
got this fixed..

--Jani




[2001-06-13 15:15:05] [EMAIL PROTECTED]

It gives a different error message:

cd ..; xlc  -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_SSL=206103 
-DMOD_PERL -DUSE_PERL_SSI -qnolm -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE 
-qmaxmem=16384 -I/.../dce.psu.edu/fs/users/n/u/nucci/php-4.0.6RC3 
-I/.../dce.psu.edu/fs/users/n/u/nucci/php-4.0.6RC3/main 
-I/.../dce.psu.edu/fs/users/n/u/nucci/php-4.0.6RC3/main 
-I/.../dce.psu.edu/fs/users/n/u/nucci/php-4.0.6RC3/Zend 
-I/.../dce.psu.edu/fs/users/n/u/nucci/php-4.0.6RC3/Zend 
-I/.../dce.psu.edu/fs/users/n/u/nucci/php-4.0.6RC3/TSRM 
-I/.../dce.psu.edu/fs/users/n/u/nucci/php-4.0.6RC3/TSRM 
-I/.../dce.psu.edu/fs/users/n/u/nucci/php-4.0.6RC3 -DEAPI -DEAPI_MM -DUSE_EXPAT 
-I./lib/expat-lite -DNO_DL_NEEDED -qnolm -G make `./apaci` -I. 
-I/usr/opt/perl5/lib/5.00503/aix/CORE -I./../../mm-1.0.12  -lm  
-L/usr/ladmin/src/secserv/openssl-0.9.6 -L/usr/ladmin/src/secserv/rsaref-2.0/local 
-L./../../mm-1.0.12/.libs  -o helpers/dummy helpers/dummy.c   
-L/usr/ladmin/mysql/lib/mysql  -L/usr/ladmin/mysql/lib/mysql -Lmodules/php4 
-L../modules/php4 -L../../modules/php4 -lmodphp4   -ldl -lmysqlclient -lcrypt -lbind 
-lm -ldl -lssl -lcrypto -lRSAglue -lrsaref 
-bE:/usr/opt/perl5/lib/5.00503/aix/CORE/perl.exp -s 
/usr/opt/perl5/lib/5.00503/aix/auto/DynaLoader/DynaLoader.a 
-L/usr/opt/perl5/lib/5.00503/aix/CORE -lperl -lnsl -ldbm -ldl -lld -lm -lc -lcrypt 
-lbsd -lPW -lC_r -bE:./modules/perl/mod_perl.exp  -lmm
xlc: 1501-228 input file make not found
make: The error code from the last command is 252.


The message: 

  xlc: 1501-228 input file make not found

is likely the text 'make' appearing after the -G above. The xlc -G option is:

  -GTells the linkage editor to create a dynamic library.

I tried leaving off the make (CFLAGS=-G) but then received errors about entry points 
not found.







[2001-06-13 15:02:20] [EMAIL PROTECTED]

Could you please try making like this:

# CFLAGS=-G make 

--Jani




[2001-06-13 10:22:49] [EMAIL PROTECTED]

Sorry, this wasn't it

# find /usr -name libdl.a  -print
/usr/lib/libdl.a
/usr/ccs/lib/libdl.a
/usr/ccs/lib/inst_updt/libdl.a

it seems like a type mismatch problem, but gcc doesn't seem to care. The real problem 
is I cannot successfully build apache with gcc (it wants xlc) and I can't mix gcc 
compiled php modules with xlc compiled apache.



[2001-06-12 19:12:22] [EMAIL PROTECTED]

Sounds like broken dlopen()..
Could this be of any help:

http://www.unixguide.net/ibm/faq/faq2.26.shtml

ie. Do you have that libdl.a somewhere in your system?








The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=11405


Edit this bug report at http://bugs.php.net/?id=11405&edit=1


-- 
PHP Development 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] Bug #11422 Updated: web start error

2001-07-22 Thread andy

ID: 11422
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: iPlanet related
Operating System: Solaris 2.6
PHP Version: 4.0.5
New Comment:

no feedback after 40 days.

Previous Comments:


[2001-06-12 12:36:43] [EMAIL PROTECTED]

Please try the solution found in bug report #9612.

--Jani




[2001-06-12 05:37:49] [EMAIL PROTECTED]

[https-testweb]: start failed. (2: unknown early startup error)
[https-testweb]: server terminated (signal 6): watchdog is restarting it 
[https-testweb]: failure: server initialization failed 






Edit this bug report at http://bugs.php.net/?id=11422&edit=1


-- 
PHP Development 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] Bug #11428 Updated: Duplicate record insertion using SQL

2001-07-22 Thread andy

ID: 11428
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: MySQL related
Operating System: Win NT4 PWS
PHP Version: 4.0.5
New Comment:

no feedback after 40 days.

Previous Comments:


[2001-06-12 12:41:29] [EMAIL PROTECTED]

I have never experienced such problems with Mysql.
Please try shortening your code to shortest
possible that still causes this.

Also, I suggest you don't use this kind of constructs:

"blaablaa"."blaablaa"

And all the data inserted to db should be quoted. ie. 
use addslashes() on it.

--Jani




[2001-06-12 06:28:30] [EMAIL PROTECTED]

The script was fine for an Access database but when I changed it over for a MySQL 
database the insertion queries sometimes (most of the time but not all the time) adds 
two records to the database.

Heres my connection:

$db_hostname   = "jd";
$db_username   = "john";
$db_password   = "nirvana";
$db_database   = "neuquote";

$conn = mysql_connect($db_hostname, $db_username, $db_password)
  or die ('Unable to connect to database');

$db = mysql_select_db($db_database,$conn)
  or die ('Unable to connect to database');

Heres my queries:

$today = getdate();
$today = $today['mday']."/".$today['mon']."/".$today['year']." 
".$today['hours'].":".$today['minutes'].":".$today['seconds'];

// Insert new company
$sql="INSERT INTO Company 
(CompanyName,CompanyAddress1,CompanyAddress2,CompanyAddress3,CompanyAddress4,CompanyArea,CompanyCountryId,CompanyPostalCode,CompanyTel,CompanyFax,CompanyEmail,CompanyURL,CompanyDesc,CompanyStatus,TimeCompanyCreated)
 ". 
 "VALUES 
('$company_name','$company_address1','$company_address2','$company_address3','$company_address4','$company_area',$company_country,'$company_postal_code','$company_tel','$company_fax','$company_email','$company_url','$company_desc',0,'$today')";


$res_insert_company = mysql_query($sql,$conn);

//create a new hash to insert into the db and the confirmation email
$hash=md5($email.$hidden_hash_var);
$sql="INSERT INTO CompanyContact 
(ContactTitle,ContactFirstName,ContactSurname,ContactMiddleInitial,ContactAddress1,ContactAddress2,ContactAddress3,ContactAddress4,ContactArea,ContactCountryId,ContactPostalCode,ContactTel,ContactExt,ContactFax,ContactEmail,ContactPositionId,ContactUsername,ContactPassword,ContactRemoteAddress,ContactConfirmHash,ContactStatus,TimeContactCreated,CompanyId)
 ". 
"VALUES 
($title,'$first_name','$surname','$middle_initial','$address1','$address2','$address3','$address4','$area',$country_code,'$postal_code','$tel','$ext','$fax','$email',$pos,'$user_name','".
 md5($password1) ."','$GLOBALS[REMOTE_ADDR]','$hash',0,'$today',$company_id)";

$res_insert_contact=mysql_query($sql,$conn);

Most of the time two companies are added to the db and sometimes two companycontacts, 
this is not consistent though as sometimes it works fine.

I have checked the submit button is not being clicked twice and the code is running 
one insert for company and one for companycontact.

Is this a common problem with MySQL and PHP?





Edit this bug report at http://bugs.php.net/?id=11428&edit=1


-- 
PHP Development 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] Bug #11436 Updated: Using method="POST" and enctype="multipart/form-data" causes form data invisibl

2001-07-22 Thread andy

ID: 11436
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: HTTP related
Operating System: Linux Slackware 7.1
PHP Version: 4.0.5
New Comment:

no feedback after 35+ days.

Previous Comments:


[2001-06-13 11:53:00] [EMAIL PROTECTED]

Works for me just fine.
(you have one $ missing when printing the password)

Could you please explain WHAT doesn't work? 
It works with or without the enctype for me.

--Jani




[2001-06-12 09:28:39] [EMAIL PROTECTED]

I have apache-1.3.20 with PHP-4.0.5 compiled in.

This script works good only if $method="get".
It works also if $method="post" but without a
enctype="multipart/form-data".

password=password";} else{ ?>
 
  Enter name:
  
  Enter password:
  
  
 
   





Edit this bug report at http://bugs.php.net/?id=11436&edit=1


-- 
PHP Development 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] Bug #11473 Updated: Crushes when using output functions (buffering)

2001-07-22 Thread andy

ID: 11473
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Output Control
Operating System: Windows 2000
PHP Version: 4.0.5
New Comment:

no feedback after 35+ days.

Previous Comments:


[2001-06-14 20:20:01] [EMAIL PROTECTED]

I can not reproduce this. Please include the shortest 
possible script which reproduces this.
Also, what is the webserver you use? Apache?
Is PHP installed as CGI or module?

--Jani




[2001-06-13 16:42:56] [EMAIL PROTECTED]

A good way to crush it is to buffer dynamic image data (feel free to call ob_start, 
then read-in some GIF image from a file, print it to buffer, then call ob_end and... 
it crushes).






Edit this bug report at http://bugs.php.net/?id=11473&edit=1


-- 
PHP Development 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] Bug #11478 Updated: setcookie with time problem

2001-07-22 Thread andy

ID: 11478
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: HTTP related
Operating System: freeBSD 4.2
PHP Version: 4.0.5
New Comment:

no feedback after 35+ days.

Previous Comments:


[2001-06-19 08:29:04] [EMAIL PROTECTED]

Please add a complete but short example script into
this report which can be used to reproduce this problem.

And I assume you know that if you use the path / host
the cookies are visible on only that path and host.

Also, many browsers handle them differently. 
So please include the browser and version into this
bug report with which you get this.

--Jani




[2001-06-14 02:03:12] [EMAIL PROTECTED]

Let me clarify and you can tell if this is not a bug. PHP is suppossed to declare 
cookies based of the NS cookie standard. 
http://developer.netscape.com:80/docs/manuals/js/client/jsguide/cookies.htm 

I have a situation where if I set a cookie as:

setcookie("test", "value");

It works

If I set it just like php says it is set (based on these standards):
int setcookie (string name [, string value [, int expire [, string path [, string 
domain [, int secure])

setcookie("test", "value", time()+15000, "/", ".mysite.com");

Then the cookie does not exsist. I have tested it off of Linux and it has been fine as 
the same format, same Apache server, same version of PHP. Am I way over stepping my 
boundries here or would you call that a bug?

--Tait



[2001-06-13 23:00:50] [EMAIL PROTECTED]

This is not bug and this place is not the correct place
to ask support questions.




[2001-06-13 21:12:26] [EMAIL PROTECTED]

When sending a cookie and using the time to expire in it the cookie wil not show but 
PHP thinks it was delivered (from a logical statement). 

config line:   
./configure --enable-track-vars --with-mysql --with-apxs=/usr/local/apache/bin/apxs

Server setup Freebsd 4.2, mysql 3.23, Apache 1.14-i386 build_freeBSD, php 4.0.5





Edit this bug report at http://bugs.php.net/?id=11478&edit=1


-- 
PHP Development 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] Bug #11492 Updated: Cookie function being parsed by PHP

2001-07-22 Thread andy

ID: 11492
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: HTTP related
Operating System: freeBSD 4.2
PHP Version: 4.0.5
New Comment:

no feedback after 30+ days.

Previous Comments:


[2001-06-19 09:44:29] [EMAIL PROTECTED]

Could you add a complete but short example script that
doesn't work into this report? Also, does it happen
with ALL browsers? Or only with some specific ones?

--Jani




[2001-06-14 16:24:04] [EMAIL PROTECTED]

I left the domain out and it is still the same issue. It seems to be only in when I 
issue a expiration time into the the cookie. Could the problem be that I use an IP 
address instead of a domain. Could it be that I installed the DSO version of PHP? I am 
so lost on why one version of the setcookie would work and soon as I add one attribute 
it fails. Also sessions are not being envoked as well. I am reading each line of the 
ini file and all seems to be well. Their is DNS attached to the IP but no domain name. 
I also tried to set a javascript cookie with an expiration time and it worked fine. It 
was sceduled to expire in 10 minutes and it worked perfect. Is there some work around 
for this?



[2001-06-14 14:50:03] [EMAIL PROTECTED]

Works for me just fine with NS 4.77 and IE 5.5.
Try leaving the domain out. And if that helps,
then check what the domain in url is when you 
access the page..ie. if you access it with url:

http://localhost/cookie.php

it wont work.

--Jani




[2001-06-14 14:05:46] [EMAIL PROTECTED]

I wanted to point out something for the parsing of a setcookie function in PHP on 
Apache/FreeBSD.

If I set a cookie with no attributes like:

setcookie("cookietype", "chocolateChip");

It seems to work fine I can place it before the headers and call it after I select a 
link. Your function list on the quickref page states that setcookie is involved in the 
NS cookie standard format.

i.e. int setcookie("cookie_name", "cookie_value", expire_time, "location", "url", 
security);

When I set a cookie as:

setcookie("cookieType", "oatmealRaisen", time()+45000, "/",
".foo.com");

It will not show up or even set. I cleared all of my cookies and accessed the page. My 
script sets the cookie before the header information and then I click a link to a test 
page that calls the cookie and tries to echo the value. No value, check my cookies 
folder and no cookie. Do I need to modify the cookie function in PHP source to work on 
freeBSD or is it missong some special module that parses cookies responsibly.


--Jimmy





Edit this bug report at http://bugs.php.net/?id=11492&edit=1


-- 
PHP Development 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] Bug #11500 Updated: imap_header imap_fetchstructure can't return any value when ...

2001-07-22 Thread andy

ID: 11500
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: IMAP related
Operating System: linux 7.0
PHP Version: 4.0.4pl1
New Comment:

no feedback after 35+ days.

Previous Comments:


[2001-06-15 10:06:06] [EMAIL PROTECTED]

It's most likely the connection that dies.
Try adding some check for that into the script.
Also try adding sleep(1); before the imap_fetchstructure().
This might be some timing issue. Also check what your 
imap servers logs have got about this.





[2001-06-15 06:05:28] [EMAIL PROTECTED]

Imap_fetchstructure can't return values when a script includes a cycle ,for example 
'while' getting parameters from mailbox using imap_fetchstructure.
example:

   while($i<300)
   ...
$partinfo=imap_fetchstructure($mailstream,$i);
  ...
When $i  is large than certain number such as 200 but variable by different users  
and other situation,$partinfo return null array.
 

I hope that you will do me a favour!





Edit this bug report at http://bugs.php.net/?id=11500&edit=1


-- 
PHP Development 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] Bug #11501 Updated: Can't find module

2001-07-22 Thread andy

ID: 11501
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: IIS related
Operating System: Windows NT
PHP Version: 4.0.5
New Comment:

no feedback after 35+ days.

Previous Comments:


[2001-06-15 11:50:35] [EMAIL PROTECTED]

Does it say in  output that the
extensions dir is that?





[2001-06-15 09:14:44] [EMAIL PROTECTED]

Hi,

   I've installed PHP on my IIS 4 webserver no problem, however, I'm trying to get the 
mssql extension.  I've removed the semi-colon(;) and my extensions path is set to 
c:\php\entensions  but when I load up a test page, it reports back that it can't find 
the php_mssql.dll file.  I double checked to make sure the php_mssql.php is in the 
folder and its there.  Is there anything else I need to do?

thanks,
Kim





Edit this bug report at http://bugs.php.net/?id=11501&edit=1


-- 
PHP Development 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] Bug #11515 Updated: Segfault

2001-07-22 Thread andy

ID: 11515
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: mcrypt related
Operating System: RedHat 7.1
PHP Version: 4.0.5
New Comment:

no feedback after 30+ days.

Previous Comments:


[2001-06-19 07:18:13] [EMAIL PROTECTED]

Please provide a backtrace of this crash. How to do can be found here:
http://bugs.php.net/bugs-generating-backtrace.php

You can also try a newer version of mcrypt, as there where quite a lot of fixes in the 
library.



[2001-06-16 13:14:23] [EMAIL PROTECTED]

$this->_CBC = new Crypt_CBC(pack('H*', $private_key), $this->crypt_type );

crypt_type=BLOWFISH makes apache segfault.  works with DES

libmcrypt-2.4.9-1 
apache-1.3.19-5
php-4.0.6RC3-1





Edit this bug report at http://bugs.php.net/?id=11515&edit=1


-- 
PHP Development 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] Bug #11516 Updated: multipart/form-data doesn't accept a NULL character

2001-07-22 Thread andy

ID: 11516
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Variables related
Operating System: winnt4.0
PHP Version: 4.0.5
New Comment:

no feedback after 30+ days.

Previous Comments:


[2001-06-17 13:53:46] [EMAIL PROTECTED]

This works for me just fine. Could you please try
the latest snapshot from http://www.zend.com/snapshots/




[2001-06-16 19:37:27] [EMAIL PROTECTED]

Hi,


first of all, I'm not 100% sure this is a bug, but I think it is. anyway, here goes:

I manually connect to a php script, by simulating a browser's call. I want to sent 
some data by simulating a multipart/form-data POST. The data I sent is binary, but 
since I want to put this data directly into a database, I don't want to use the 
Content-Disposition: form-data; name="whatever"; filename="C:\whatever.exe" header.

This header would cause php to create a file in the tmp dir, and I don't want this. I 
simply want the binary data I send in a variable.

What I did was to set the following header: Content-Disposition: form-data; 
name="whatever"
(without the filename="C:\whatever.exe" part). After that I sent the binary data.

This should create a variable $whatever on the server. 
Everything works just fine until my binary data contains a NULL [chr(0)]. What happens 
is that php creates the variable $whatever, but truncates everything after the NULL 
character (including the NULL character itself).

Of course you wouldn't be able to send a NULL from a normal multipart form input box 
or textarea on the web, but I think php should be able to create a variable which 
contains my NULL character and everything that follows when I manually connect. It 
correctly creates a file (including the NULL) when I sent the 'filename="whatever"' 
header.

By the way, if my form contains more parts after the binary part with the NULL 
character, php creates those variables correctly... but it just truncates everything 
after a NULL when I don't send something like filename="c:\whatever.exe".

here is a copy of the headers I manually sent:
START
POST /script.php HTTP/1.1
Content-Type: multipart/form-data; boundary=---7d12b732260086
Host: www.myserver.com
Content-Length: [The correct length]

-7d12b732260086
Content-Disposition: form-data; name="whatever"

123[NULL]456
-7d12b732260086
Content-Disposition: form-data; name="foo"

normal text, not binary
-7d12b732260086--
END

my script on the server now has 2 variables; $whatever and $foo.
print $foo; #this prints "normal text, not binary"
print $whatever; #this prints "123". it should have printed "123 456" (the space here 
simulating the unprintable NULL character)


I hope this all makes sense (I'm not sure it does :) ). But please email me if this 
message is not completely clear.

I hope you get back to me.


thanks in advance
Jeroen





Edit this bug report at http://bugs.php.net/?id=11516&edit=1


-- 
PHP Development 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] Bug #11531 Updated: imap_sort function fails on huge mailboxes

2001-07-22 Thread andy

ID: 11531
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: IMAP related
Operating System: FreeBSD
PHP Version: 4.0.5
New Comment:

no feedback after 30+ days.

Previous Comments:


[2001-06-18 09:00:15] [EMAIL PROTECTED]

Because the IMAP version is still 4.1 (the protocol).
But does it still fail on huge mailboxes?
What is 'huge' for you? 1 MB? 1 GB? Does Pine (a mail client that uses also c-client 
lib) work on them?

--Jani





[2001-06-18 02:20:25] [EMAIL PROTECTED]

Thank you for your advices. My IMAP Client version was really old. Now I
have updated it to IMAP 2000, and updated my PHP to 4.0.5. But it did not
work! phpinfo() still shows IMAP Client ver 4.1
Why?
What can you advice me?
Thanks,
Elnar C Hajiev





Edit this bug report at http://bugs.php.net/?id=11531&edit=1


-- 
PHP Development 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] Bug #11552 Updated: ld: fatal: Symbol referencing errors

2001-07-22 Thread andy

ID: 11552
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Compile Failure
Operating System: Sun Solaris 2.6
PHP Version: 4.0.5
New Comment:

no feedback after 30+ days.

Previous Comments:


[2001-06-19 12:55:01] [EMAIL PROTECTED]

And what exactly was the configure line used here?

--Jani




[2001-06-19 04:44:57] [EMAIL PROTECTED]

Making all in TSRM
Making all in regex
Making all in .
/bin/sh /export/home/pgalan/php405cgi/php-4.0.5/libtool --mode=link gcc  -I. 
-I/export/home/pgalan/php405cgi/php-4.0.5/
-I/export/home/pgalan/php405cgi/php-4.0.5/main 
-I/export/home/pgalan/php405cgi/php-4.0.5 -I/export/home/pgalan/php405cgi
/php-4.0.5/Zend -I/opt/ifxsdk250/incl/esql 
-I/opt/netscape/server4/plugins/include/ldapsdk31/include -I/usr/local/includ
e -I/export/home/pgalan/php405cgi/php-4.0.5/ext/xml/expat/xmltok 
-I/export/home/pgalan/php405cgi/php-4.0.5/ext/xml/expat
/xmlparse -I/export/home/pgalan/php405cgi/php-4.0.5/TSRM  -D_POSIX_PTHREAD_SEMANTICS 
-DSUPPORT_UTF8 -DXML_BYTE_ORDER=21
-g -O2 -I/opt/ifxsdk250/incl/esql -Wall   -o php -export-dynamic stub.lo libphp4.la
gcc -I. -I/export/home/pgalan/php405cgi/php-4.0.5/ 
-I/export/home/pgalan/php405cgi/php-4.0.5/main -I/export/home/pgalan/
php405cgi/php-4.0.5 -I/export/home/pgalan/php405cgi/php-4.0.5/Zend 
-I/opt/ifxsdk250/incl/esql -I/opt/netscape/server4/pl
ugins/include/ldapsdk31/include -I/usr/local/include 
-I/export/home/pgalan/php405cgi/php-4.0.5/ext/xml/expat/xmltok -I/e
xport/home/pgalan/php405cgi/php-4.0.5/ext/xml/expat/xmlparse 
-I/export/home/pgalan/php405cgi/php-4.0.5/TSRM -D_POSIX_PTH
READ_SEMANTICS -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -I/opt/ifxsdk250/incl/esql 
-Wall -o php stub.o .libs/libphp4.a
-L/usr/ucblib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3 
-L/opt/ifxsdk250/lib -L/opt/ifxsdk250/lib/esql -L/exp
ort/home/pgalan/php405cgi/php-4.0.5/ext/informix 
-L/opt/netscape/server4/plugins/include/ldapsdk31/lib -L/usr/local/lib
-ldl -lmhash -lldap30 -lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsocket -lsocket -lgcc 
-lifsql -lifasf -lifgen -lifos -l
ifgls -lnsl -lsocket -laio -ldl -lelf -lphp_ifx -lifglx -ldl -lmhash -lldap30 -lm -ldl 
-lcrypt -lgcc -lifsql -lifasf -li
fgen -lifos -lifgls -lnsl -lsocket -laio -ldl -lelf -lphp_ifx -lifglx  -R/usr/ucblib 
-R/usr/local/lib/gcc-lib/sparc-sun-
solaris2.6/2.95.3 -R/opt/ifxsdk250/lib -R/opt/ifxsdk250/lib/esql 
-R/export/home/pgalan/php405cgi/php-4.0.5/ext/informix
-R/opt/netscape/server4/plugins/include/ldapsdk31/lib -R/usr/local/lib -R/usr/ucblib 
-R/usr/local/lib/gcc-lib/sparc-sun-
solaris2.6/2.95.3 -R/opt/ifxsdk250/lib -R/opt/ifxsdk250/lib/esql 
-R/export/home/pgalan/php405cgi/php-4.0.5/ext/informix
-R/opt/netscape/server4/plugins/include/ldapsdk31/lib -R/usr/local/lib
Undefined   first referenced
 symbol in file
_libc_prepare_atfork/usr/lib/libthread.so.1
_libc_unregister_forkhandler/usr/lib/libnsl.so
_libc_register_forkhandler  /usr/lib/libnsl.so
_libc_child_atfork  /usr/lib/libthread.so.1
_libc_parent_atfork /usr/lib/libthread.so.1
ld: fatal: Symbol referencing errors. No output written to php
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `php'
Current working directory /export/home/pgalan/php405cgi/php-4.0.5
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'





Edit this bug report at http://bugs.php.net/?id=11552&edit=1


-- 
PHP Development 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] Bug #11562 Updated: PHP crashes everytime with little syntax error

2001-07-22 Thread andy

ID: 11562
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Reproducible crash
Operating System: Windows 98
PHP Version: 4.0.5
New Comment:

no feedback after 30 days.

Previous Comments:


[2001-06-22 08:46:28] [EMAIL PROTECTED]

User feedback (next time, use the web interface to answer):
---
YES.. when i correct the syntax error, it doesn't crash. Also when i remove 
the foreach, or when i remove the 2nd include, or when i remove the "a" 
from echo, or when i make a different syntax error, it doesn't crash. It 
only happens in this particular case. really weird. but i guess it's not so 
important, since it doesn't happen on Linux or any other OS, only windows. 
btw.. I use windows 98 with apache.
--

Did you try the snapshot??

--Jani




[2001-06-21 14:30:10] [EMAIL PROTECTED]

The correct url is of course:

http://www.zend.com/snapshots/





[2001-06-20 09:50:20] [EMAIL PROTECTED]

Another question: I assume it does NOT crash if you don't have errors in your scripts?




[2001-06-20 02:32:26] [EMAIL PROTECTED]

I tried this on Linux with PHP 4.0.7dev as CGI executable and Apache static module, it 
just gives me a parse error.
Can you possibly try one of the snapshots from http://www.zend.com/shapshots/ and see 
if the problem does still exists?



[2001-06-19 11:13:48] [EMAIL PROTECTED]

create 3 files

test.php:


test1.php:


test2.php:



now run test.php.. PHP crashes. There's a little syntax error in test1.php: echo"a"); 
should be echo("a");






Edit this bug report at http://bugs.php.net/?id=11562&edit=1


-- 
PHP Development 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] Bug #11574 Updated: Using $thok()

2001-07-22 Thread andy

ID: 11574
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Reproducible crash
Operating System: Windows Me
PHP Version: 4.0.4pl1
New Comment:

no feedback after 30+ days.

Previous Comments:


[2001-06-20 10:16:12] [EMAIL PROTECTED]

This works fine for me on Linux with php 4.0.6RC4, can you try
one of the snapshots from www.zend.com/snapshots and see if the problem still exists?



[2001-06-20 07:07:39] [EMAIL PROTECTED]

" ;
$co++;
}
?>





Edit this bug report at http://bugs.php.net/?id=11574&edit=1


-- 
PHP Development 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] Bug #11579 Updated: errors in output

2001-07-22 Thread andy

ID: 11579
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Scripting Engine problem
Operating System: win nt server 4.0 sp5
PHP Version: 4.0.5
New Comment:

no feedback after 30+ days.

Previous Comments:


[2001-06-20 12:34:21] [EMAIL PROTECTED]

And the example script (short one) is where?
Please include it here.




[2001-06-20 09:27:53] [EMAIL PROTECTED]

I just upgraded to 4.0.5 from 4.0.4 but the problem remains.
It seems that when the output is very long the engine inserts strange characters like 
"ffb" , "1005" , "108e". It seems also that this errors repeats regularly into the 
output. NB: the output is generated through "while" cycle inner a recursive function.





Edit this bug report at http://bugs.php.net/?id=11579&edit=1


-- 
PHP Development 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] Bug #11391 Updated: No uninstaller

2001-07-22 Thread andy

ID: 11391
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Old Bug Type: *General Issues
Bug Type: Feature/Change Request
Operating System: Win 98
PHP Version: 4.0.5
New Comment:

reclassified

Previous Comments:


[2001-06-10 23:33:38] [EMAIL PROTECTED]

The Windows installer does not create an uninstall entry. Since it places several 
files (you don't know about) in Windows directorys it is not easy to uninstall by 
hand.

If the installer increases the reference counters for the dlls in the registry (and it 
should do so) it is nearly impossible to uninstll by hand.

Please, don't say: Who want's to uninstall this great software? There must be a chance 
to test it without corrupting the system.






Edit this bug report at http://bugs.php.net/?id=11391&edit=1


-- 
PHP Development 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] Bug #10715 Updated: -0 Returns true as an integer

2001-07-22 Thread andy

ID: 10715
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Math related
Operating System: Debian GNU/Linux
PHP Version: 4.0.5
New Comment:

I believe this is probably because the negative sign is
stripped from -0, so the variable just reads 0 (which is an
integer.)  Can anybody else verify this?

Previous Comments:


[2001-05-07 15:04:22] [EMAIL PROTECTED]

$number = -0;
if (is_integer($number) == true) 
{
echo "number is an integer";
}
else {
echo "number is not an integer";
}

/* -0 just generally works as a number it probably shouldn't */ 





Edit this bug report at http://bugs.php.net/?id=10715&edit=1


-- 
PHP Development 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] Bug #11108 Updated: Problem in rand() on win2000 (or all win32?)

2001-07-22 Thread andy

ID: 11108
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Math related
Operating System: Windows 2000 SP2
PHP Version: 4.0.5
New Comment:

try using a better seed for the random number, such as

srand((double) microtime() * 100);

this fixed the problem on my machine.

Previous Comments:


[2001-05-25 04:02:39] [EMAIL PROTECTED]

// Sample code for problem  
srand(time());
for($counter = 0; $counter<= 20 ; $counter++){
print(rand(0,5 );
print("");
}

for some reason this always returns the same number as the first number returned, 
until the file is modified.  The first number, after that, the numbers seem to be 
random.  

I'm using the latest apache & php on a win2k SP2 laptop





Edit this bug report at http://bugs.php.net/?id=11108&edit=1


-- 
PHP Development 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] Bug #8754 Updated: gethostbyname() fails

2001-07-22 Thread andy

ID: 8754
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Network related
Operating System: Linux 2.2.16 (RH7)
PHP Version: 4.0.4pl1
New Comment:

Ooops, I read that too fast.  Ok, so it works on the command
line, but not in PHP.  Does this still happen in the current
version?

Previous Comments:


[2001-07-21 21:03:44] [EMAIL PROTECTED]

Please make sure that you're DNS server is setup correctly
and you have access to it and the internet.  Try running
"netconfig" as root from a prompt.  Also, try running
linuxconf and make sure the order in which hostnames are
setup is correct (i recommend "hosts,dns")

Also, try upgrading to the latest version of PHP.



[2001-01-17 03:53:54] [EMAIL PROTECTED]

When trying to resolv the ip address of a hostname given in /etc/hosts, 
gethostbyname() works fine. It does NOT work when trying to resolv an ip address which 
must be looked up via the DNS server though. In the latter case, 
gethostbyname($hostname) always returns $hostname, i.e. it
behaves like the hostname does not exist. However, doing a command line nslookup, the 
hostname is found, so it DOES exist.

The problem occurs with version 4.0.4pl1 (compiled on the target system) as well as 
with version 4.0.1pl2 that comes with RedHat 7.0. I'm using kernel version 2.2.16 and 
a vanilla (i.e. non-updated) RedHat 7.0.

Thanks in advance...






Edit this bug report at http://bugs.php.net/?id=8754&edit=1


-- 
PHP Development 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] Bug #9730 Updated: When following redirects, username and password ignored

2001-07-22 Thread andy

ID: 9730
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: *URL Functions
Operating System: Linux
PHP Version: 4.0 Latest CVS (13/03/2001)
New Comment:

Please register at the PHP Development Mailing List at
[EMAIL PROTECTED] and email them your patch.
Thanks.

Previous Comments:


[2001-03-13 19:50:27] [EMAIL PROTECTED]

fopen() and friends when opening "http://user:pass@site";  do not send username and 
password when following a redirect.

This patch would solve the problem:

Index: http_fopen_wrapper.c
===
RCS file: /repository/php4/ext/standard/http_fopen_wrapper.c,v
retrieving revision 1.7
diff -u -3 -p -r1.7 http_fopen_wrapper.c
--- http_fopen_wrapper.c2001/02/26 06:07:17 1.7
+++ http_fopen_wrapper.c2001/03/13 18:45:50
@@ -71,9 +71,9 @@
 FILE *php_fopen_url_wrap_http(char *path, char *mode, int options, int *issock, int 
*socketd, char **opened_path)
 {
FILE *fp=NULL;
-   php_url *resource=NULL;
+   php_url *resource=NULL, *resource_new=NULL;
char tmp_line[128];
-   char location[512];
+   char location[512], location_new[512];
char hdr_line[8192];
int body = 0;
char *scratch;
@@ -269,12 +269,42 @@ FILE *php_fopen_url_wrap_http(char *path
if (!reqok) {
SOCK_FCLOSE(*socketd);
*socketd = 0;
-   free_url(resource);
if (location[0] != '\0') {
zval **response_header_new, *entry, **entryp;
+
+   if (resource->user == NULL || resource->pass == NULL) {
+ strcpy(location_new, location);
+   } else {   /* we have username and password */
+ resource_new = url_parse((char *) location);
+ if (resource_new == NULL) {
+   php_error(E_WARNING, "Invalid redirect URL, %s", 
+location);
+   *issock = BAD_URL;
+   free_url(resource);
+   return NULL;
+ }
+
+ /* use port 80 if one wasn't specified */
+ if (resource_new->port == 0) {
+   resource_new->port = 80;
+ }
+
+ snprintf (location_new, sizeof(location_new), 
+"http://%s:%s@%s:%d";, resource->user, resource->pass, resource_new->host, 
+resource_new->port);
+
+ if (resource_new->path != NULL) {
+   strlcat (location_new, resource_new->path, sizeof 
+(location_new));
+ }
+ if (resource_new->query != NULL) {
+   strlcat (location_new, "?", sizeof(location_new));
+   strlcat (location_new, resource_new->query , 
+sizeof(location_new));
+ }
+ free_url(resource_new);
+   }
+
+
+   free_url(resource);
ELS_FETCH();
 
-   fp = php_fopen_url_wrap_http(location, mode, options, issock, 
socketd, opened_path);
+   fp = php_fopen_url_wrap_http(location_new, mode, options, 
+issock, socketd, opened_path);
if (zend_hash_find(EG(active_symbol_table), 
"http_response_header", sizeof("http_response_header"), (void **) 
&response_header_new) == SUCCESS) {
entryp = &entry;
MAKE_STD_ZVAL(entry);
@@ -289,6 +319,7 @@ FILE *php_fopen_url_wrap_http(char *path
}
goto out;
} else {
+   free_url(resource);
fp = NULL;
goto out;
}






Edit this bug report at http://bugs.php.net/?id=9730&edit=1


-- 
PHP Development 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] Bug #12308 Updated: want to know the email address of the surfer

2001-07-22 Thread andy

ID: 12308
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Bogus
Status: Closed
Bug Type: *Mail Related
Operating System: linux
PHP Version: 4.0.4
New Comment:

no

Previous Comments:


[2001-07-22 16:14:10] [EMAIL PROTECTED]

This is a bug submission form, not a support forum (or a spam how-to, FTM - gathering 
email addresses without user consent is unethical)



[2001-07-22 16:12:29] [EMAIL PROTECTED]

hi...
there is one problem... now i want to know the email ids of all the surfers who logs 
in to my website... 
is there any way to get hold of the email ids without their knowledge on the server 
side..

Sarosh.:)





Edit this bug report at http://bugs.php.net/?id=12308&edit=1


-- 
PHP Development 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] Bug #11961 Updated: \r\n or \n

2001-07-22 Thread andy

ID: 11961
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Old Bug Type: Unknown/Other Function
Bug Type: Strings related
Operating System: Win98 SE
PHP Version: 4.0.6
New Comment:

reclassified

Previous Comments:


[2001-07-08 18:45:59] [EMAIL PROTECTED]

I've submitted this bug some days before but I didn't get very kind reply. I decided 
to resubmit it.

test.php:
".count(split("\r\n", $str));
?>

And I've put 3 random lines in test.txt
OK, my PHP is running as Apache module, so when I type "localhost/test.php", I got the 
output "31".

Then, I run this script in CGI mode. This can be done simply by the command 
"c:\php_path\php.exe test.php", and I will get the output "33".

OK, so PHP is not portable, even in the same platform but different PHP running mode. 
CGI PHP and module PHP interpret "\r\n" differently.






Edit this bug report at http://bugs.php.net/?id=11961&edit=1


-- 
PHP Development 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] Bug #11961 Updated: \r\n or \n

2001-07-22 Thread andy

ID: 11961
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Strings related
Operating System: Win98 SE
PHP Version: 4.0.6
New Comment:

reclassified

Previous Comments:


[2001-07-22 16:17:51] [EMAIL PROTECTED]

reclassified



[2001-07-08 18:45:59] [EMAIL PROTECTED]

I've submitted this bug some days before but I didn't get very kind reply. I decided 
to resubmit it.

test.php:
".count(split("\r\n", $str));
?>

And I've put 3 random lines in test.txt
OK, my PHP is running as Apache module, so when I type "localhost/test.php", I got the 
output "31".

Then, I run this script in CGI mode. This can be done simply by the command 
"c:\php_path\php.exe test.php", and I will get the output "33".

OK, so PHP is not portable, even in the same platform but different PHP running mode. 
CGI PHP and module PHP interpret "\r\n" differently.






Edit this bug report at http://bugs.php.net/?id=11961&edit=1


-- 
PHP Development 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] Bug #12130 Updated: field values in multipart/form

2001-07-22 Thread andy

ID: 12130
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Unknown/Other Function
Operating System: RedHat 7.0
PHP Version: 4.0.4pl1
New Comment:

works fine for me.  Please update to the latest version and
tell me if it still doesn't work.

Previous Comments:


[2001-07-13 03:26:25] [EMAIL PROTECTED]

when using ENCTYPE="multipart/form" for a , PHP receives the values of fields 
with a prepended \n e.g. with:









if I enter "Hello" into the field and submit the form I get:

/
Hello/

what's the deal?? I've read through all the user comments on the file uploads section 
but no one seems to have run into this.  is it a bug or did I miss some docs 
somewhere?

1k thx - e r i c k






Edit this bug report at http://bugs.php.net/?id=12130&edit=1


-- 
PHP Development 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] Bug #12308 Updated: want to know the email address of the surfer

2001-07-22 Thread andy

ID: 12308
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Closed
Status: Bogus
Bug Type: *Mail Related
Operating System: linux
PHP Version: 4.0.4
New Comment:

sorry zak, I set it to bogus now :)

Previous Comments:


[2001-07-22 16:14:27] [EMAIL PROTECTED]

no



[2001-07-22 16:14:10] [EMAIL PROTECTED]

This is a bug submission form, not a support forum (or a spam how-to, FTM - gathering 
email addresses without user consent is unethical)



[2001-07-22 16:12:29] [EMAIL PROTECTED]

hi...
there is one problem... now i want to know the email ids of all the surfers who logs 
in to my website... 
is there any way to get hold of the email ids without their knowledge on the server 
side..

Sarosh.:)





Edit this bug report at http://bugs.php.net/?id=12308&edit=1


-- 
PHP Development 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] Bug #1289 Updated: system, exec, and passtru always returns -1

2001-07-22 Thread andy

ID: 1289
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Misbehaving function
Operating System: linux--Redhat 5.2
PHP Version: 3.0.7
New Comment:

why would you want to put a bogus hostname in your
ServerName directive?

Previous Comments:


[1999-04-05 01:35:09] [EMAIL PROTECTED]

When ServerName in httpd.conf is set differently then the actual host's name, the 
return values of anything called with system, exec, and passthru (except for running 
the "/bin/date") is always -1.  For instance, we have a machine named phony.wwc.edu, 
but in apache we set the ServerName to hotnest.wwc.edu.  Suddenly doing something like 
 system("echo blah",$errno); print $errno; prints -1 instead of 0.  This is completely 
unrelated to safe mode, btw. (which was our first suspect)





Edit this bug report at http://bugs.php.net/?id=1289&edit=1


-- 
PHP Development 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]




  1   2   3   >