[PHP-DEV] Bug #12415 Updated: changing mysql.default_socket in /etc/php.ini doesn't work

2001-07-26 Thread akoski
ID: 12415 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: MySQL related Operating System: Linux Mandrake 8.0 PHP Version: 4.0.6 New Comment: Found the problem. There was a missing ; . I thought ;'s are only used for comments... Previous Comments: -

[PHP-DEV] Bug #12416: OleMainThreadWndName when using OCIFetchInto statement

2001-07-26 Thread pim . spierenburg
From: [EMAIL PROTECTED] Operating system: Windows NT 4.0 Workstation PHP version: 4.0.6 PHP Bug Type: OCI8 related Bug description: OleMainThreadWndName when using OCIFetchInto statement OS: Windows NT 4.0 Workstation Webserver: Apache 1.3 Database: Oracle 8.1.7 PHP Versi

[PHP-DEV] Bug #12415 Updated: changing mysql.default_socket in /etc/php.ini doesn't work

2001-07-26 Thread cynic
ID: 12415 Updated by: cynic Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: MySQL related Operating System: Linux Mandrake 8.0 PHP Version: 4.0.6 New Comment: are you sure PHP actually reads that php.ini? you can see the location where PHP looks for the file in the out

Re: [PHP-DEV] Chora installed

2001-07-26 Thread Anil Madhavapeddy
Alexander Merz wrote: > > Please, could you use relative specifications ("font-size: small") > instead of absolute ("font-size: 11px") in the css? It's more > user-friendly and i don't have to look for my eyeglasses each time. Unfortunately, this isn't consistent cross-platform. http://www.alista

RE: [PHP-DEV] Security Issues

2001-07-26 Thread Marc Boeren
> >>accept_parameters($user_string); // or something similar > register_globals off. > $user_string=$HTTP_POST_VARS["user_string"]; > > This accomplishes the same thing as your example, and doesn't > introduce any new syntax... I don't really see the advantage of the > "accept_parameters" idea

Re: [PHP-DEV] Security Issues

2001-07-26 Thread Heikki Korpela
On Thu, 26 Jul 2001, Zeev Suraski wrote: > >But in this case someone has gone to the trouble to figure out what > >empty() does. And generally they use empty() on things that come from the > >user anyway. I don't think I have ever seen people use empty() to check > >to see if they themselves ha

Re: [PHP-DEV] Security Issues

2001-07-26 Thread Zeev Suraski
Well, we actually could just bump the version number to 4.1.0 for these changes alone. I don't think we should wait for *any* of the other changes that people had in mind for a major or semi major version, but bumping the number to 4.1.0 instead of staying at 4.0.8 is probably a good idea. Ze

[PHP-DEV] Bug #12415: changing mysql.default_socket in /etc/php.ini doesn't work

2001-07-26 Thread akoski
From: [EMAIL PROTECTED] Operating system: Linux Mandrake 8.0 PHP version: 4.0.6 PHP Bug Type: MySQL related Bug description: changing mysql.default_socket in /etc/php.ini doesn't work I have tried to change MySQL's socket path to something else than the default. I found that

Re: [PHP-DEV] Security Issues

2001-07-26 Thread Cynic
At 08:32 7/27/2001, Zeev Suraski wrote the following: -- Zeev, while I'll applaud to the changes you propose, I suggest this happens in 4.1. I know, this is really a cosmetic change only, and doesn't justify the bump from the perspecti

Re: [PHP-DEV] Security Issues

2001-07-26 Thread Zeev Suraski
At 08:48 26/07/2001, Rasmus Lerdorf wrote: > > Just replace your if ($ok) with if (!empty($ok)), and you have a perfect > > exploitable code that produces no warnings. > >But in this case someone has gone to the trouble to figure out what >empty() does. And generally they use empty() on things th

[PHP-DEV] Get One Thousand Per Sale! $0 Down! No Bull!!!

2001-07-26 Thread 14674826
Dear [EMAIL PROTECTED], Receive $1,000 COMMISSION on a $0 down SALE !! DID YOU MAKE $5,000 LAST MONTH? IF NOT, YOU NEED TO JOIN US TODAY! Market the hottest consumer savings package in America today and earn up to $1,000 each and every time someone joins for $0 DOWN! Imagine b

[PHP-DEV] Bug #12414: HTTP POST on lynx not supported

2001-07-26 Thread kiko
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.5 PHP Bug Type: Unknown/Other Function Bug description: HTTP POST on lynx not supported Current Lynx versions can optionally support HTTP POST; however, it doesn't work for the PHP file upload functions. I be

[PHP-DEV] Bug #11582 Updated: php segfaults upon array operation

2001-07-26 Thread sniper
ID: 11582 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Reproducible crash Operating System: linux PHP Version: 4.0.5, 4.0.6 New Comment: Fixed in CVS. Previous Comments: [20

[PHP-DEV] Bug #12296 Updated: printer

2001-07-26 Thread sniper
ID: 12296 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Bogus Bug Type: PHP options/info functions Operating System: Windows 98 PHP Version: 4.0.6 Previous Comments: [2001-07-21 11:15:16] [

[PHP-DEV] Bug #12411 Updated: Filesystem return zero

2001-07-26 Thread andy
ID: 12411 Updated by: andy Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Filesystem function related Operating System: Linux 2.4.4 PHP Version: 4.0.6 New Comment: unable to reproduce on RH Linux 7 (2.2.16-22) Previous Comments: --

[PHP-DEV] Bug #12290 Updated: Option --enable-gd-native-tt (f)

2001-07-26 Thread sniper
ID: 12290 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: PHP options/info functions Operating System: Linux PHP Version: 4.0.6 New Comment: This is fixed in CVS. Previous Comments:

[PHP-DEV] Bug #12281 Updated: base64_encode

2001-07-26 Thread sniper
ID: 12281 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Old Bug Type: Any Bug Type: Strings related Operating System: windows NT PHP Version: 4.0.4pl1 Previous Comments: [2001-07-20 09

[PHP-DEV] Bug #12278 Updated: variable variable inside a string

2001-07-26 Thread sniper
ID: 12278 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Assigned Status: Analyzed Old Bug Type: Output Control Bug Type: Scripting Engine problem Operating System: independant PHP Version: 4.0.6 Previous Comments: --

[PHP-DEV] Bug #12275 Updated: Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache

2001-07-26 Thread sniper
ID: 12275 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Old Bug Type: Apache related Bug Type: *General Issues Operating System: linux kernel 2.2.15 PHP Version: 4.0.4 New Comment: 1. Get PHP 4.0.6 2. Read the INSTALL file how to configure things right. 3. Se

[PHP-DEV] Bug #12273 Updated: error while install php4.0.6+apache 2.0.x

2001-07-26 Thread sniper
ID: 12273 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: *Configuration Issues Operating System: REDHAT 6.0 PHP Version: 4.0.6 New Comment: There isn't any configure options to configure PHP as static module for Apache2. Also you need the latest versi

[PHP-DEV] Bug #12272 Updated: Handling of file submissions from Opera incorrect

2001-07-26 Thread sniper
ID: 12272 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Old Bug Type: Unknown/Other Function Bug Type: HTTP related Operating System: Linux RedHat PHP Version: 4.0.5 New Comment: Does this happen with latest CVS snapshot from http://snaps.php.net/ ? Previo

[PHP-DEV] Bug #12271 Updated: configuration stop with sablotron not found error

2001-07-26 Thread sniper
ID: 12271 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Compile Failure Operating System: linux redhat 7.1 PHP Version: 4.0.6 New Comment: not enough info, and first your should ask this kind of support questions on [EMAIL PROTECTED] Previous Com

[PHP-DEV] Bug #12255 Updated: (In safe mode) The UID check in chdir don't test the good directory

2001-07-26 Thread sniper
ID: 12255 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Duplicate Status: Closed Bug Type: Directory function related Operating System: Debian GNU/Linux sid PHP Version: 4.0.6 New Comment: fixed -> closed. Previous Comments: -

[PHP-DEV] Bug #12413 Updated: Segmentation Fault when run httpd

2001-07-26 Thread sniper
ID: 12413 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Apache related Operating System: Solaris 8 PHP Version: 4.0.6 New Comment: Try doing this instead: ./apachectl stop ./apachectl start ie. do not restart Apache after updating it. --Jani

[PHP-DEV] Bug #12259 Updated: segmentation fault apache - pgsql

2001-07-26 Thread sniper
ID: 12259 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Old Bug Type: Apache related Bug Type: PostgreSQL related Operating System: SuSE 7.2 PHP Version: 4.0.5 New Comment: This is fixed in PHP 4.0.6 Previous Comments: ---

[PHP-DEV] Bug #12254 Updated: PHP/gd compilation problems - gd.c:95: conflicting types for `gdIOCtx'

2001-07-26 Thread sniper
ID: 12254 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Old Bug Type: *Compile Issues Bug Type: GD related Operating System: Linux 2.2.19 PHP Version: 4.0.6 New Comment: First of all you should be using the install prefix dirs with every configure option. ie

Re: [PHP-DEV] Chora installed

2001-07-26 Thread Alexander Merz
> I think it looks really good and we should probably make it the default > for http://cvs.php.net. Anybody see any reason not to do that? +1 Please, could you use relative specifications ("font-size: small") instead of absolute ("font-size: 11px") in the css? It's more user-friendly and i don't

[PHP-DEV] Bug #12249 Updated: Error compiling Apache 1.3.19

2001-07-26 Thread sniper
ID: 12249 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Old Bug Type: Apache related Bug Type: Compile Failure Operating System: AIX 4.3 PHP Version: 4.0.4pl1 New Comment: Try the latest CVS snapshot from http://snaps.php.net/ as this should be fixed. Previ

[PHP-DEV] Bug #11716 Updated: Segmentation fault(coredump) in Apache(DSO-enabled) startup

2001-07-26 Thread sniper
ID: 11716 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Apache related Operating System: AIX 4.3.3 PHP Version: 4.0.6 Previous Comments: [2001-07-12 04:04:46] [EMAIL PROTECTE

[PHP-DEV] Bug #12240 Updated: microtime.x

2001-07-26 Thread sniper
ID: 12240 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Closed Status: Bogus Bug Type: Any Operating System: Slackware 7.0 PHP Version: 4.0.6 Previous Comments: [2001-07-18 18:41:01] [EMAIL PROTECTED] The

[PHP-DEV] Bug #12232 Updated: Unresolved symbol: __umoddi3

2001-07-26 Thread sniper
ID: 12232 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Dynamic loading Operating System: HP 10.20 PHP Version: 4.0.6 New Comment: Do NOT submit new bug reports about same issue, instead, re-open the first one! Previous Comments: -

[PHP-DEV] Bug #12217 Updated: Apache + oracle + php 4.0.6 + debian

2001-07-26 Thread sniper
ID: 12217 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Reproducible crash Operating System: Debian PHP Version: 4.0.6 New Comment: Check that Apache is linked with libpthread: http://www.php.net/oci8 --Jani Previous Comments: -

[PHP-DEV] Bug #11684 Updated: Header() causes PHP to hang

2001-07-26 Thread sniper
ID: 11684 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: HTTP related Operating System: Windows 2000/IIS4 PHP Version: 4.0.5 Previous Comments: [2001-07-17 12:06:51] [EMAIL PROT

[PHP-DEV] Bug #12200 Updated: getimagesize() JPG Bug

2001-07-26 Thread sniper
ID: 12200 Updated by: sniper Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: GetImageSize related Operating System: Win 2000 PHP Version: 4.0.6 New Comment: FYI, getimagesize() doesn't use anything from GD library. Could you please try the latest CVS snapshot from here: http://www.

[PHP-DEV] Bug #12413: Segmentation Fault when run httpd

2001-07-26 Thread s956695
From: [EMAIL PROTECTED] Operating system: Solaris 8 PHP version: 4.0.6 PHP Bug Type: Apache related Bug description: Segmentation Fault when run httpd I comiled php 4.06 with mysql 3.2.32 and Apache 1.3.20 without error using option .configure --with-apache= \ --with-mysq

[PHP-DEV] Bug #12159 Updated: Make fails, both 4.0.5 and 4.0.6 during microtime...

2001-07-26 Thread sniper
ID: 12159 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Closed Status: Bogus Bug Type: *Compile Issues Operating System: Linux kernel 2.4.4 PHP Version: 4.0.6 Previous Comments: [2001-07-14 01:41:40] [EMAIL

[PHP-DEV] Bug #12122 Updated: FDF encoding problem

2001-07-26 Thread sniper
ID: 12122 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: FDF related Operating System: PHP Version: 4.0.5 New Comment: Rasmus had already got the patch but forgot to close this report.. :) Previous Comments: ---

Re: [PHP-DEV] PHP Extensions: C or C++?

2001-07-26 Thread J Smith
Stig S. Bakken wrote: > > Which search engine is this? > It's a home-brewed one, not of any particular use to most people and not likely something anybody's heard about like ht://dig or whatever. (We're developing an online educational video repository, so the search engine basically greps

[PHP-DEV] Bug #11947 Updated: pgsql.allow_persistent is ignored (w/ patch)

2001-07-26 Thread sniper
ID: 11947 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: PostgreSQL related Operating System: Linux PHP Version: 4.0.6 New Comment: This is fixed in CVS. Previous Comments: [

Re: [PHP-DEV] RE: Bug #12412 Updated: Installation on Apache Server

2001-07-26 Thread Rasmus Lerdorf
> Hmmm. I think I screwed up - I am using Apache 2.0.16, > and I guess I thought they'd work the same - in 2.0.16, > it's "enable-module" - I used it, and it worked. Once the first real Apache2 beta is released we will have real docs for installation. A lot can still change. > BTW, where do I a

[PHP-DEV] RE: Bug #12412 Updated: Installation on Apache Server

2001-07-26 Thread Harrison, JP
Hmmm. I think I screwed up - I am using Apache 2.0.16, and I guess I thought they'd work the same - in 2.0.16, it's "enable-module" - I used it, and it worked. I should have tried it on 1.3xxx first, sorryJP BTW, where do I actually put the "php.ini" file - it says in "/usr/local/lib", but i

[PHP-DEV] Bug #12138 Updated: Image broken

2001-07-26 Thread sniper
ID: 12138 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: GD related Operating System: Sparc Solaris 8 PHP Version: 4.0.6 New Comment: The example script and html both work just fine for me too. Try asking this on [EMAIL PROTECTED] as there are dozens

[PHP-DEV] Bug #12409 Updated: Form variables are unexpectedly being escaped

2001-07-26 Thread rasmus
ID: 12409 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Variables related Operating System: Solaris PHP Version: 4.0.6 New Comment: It always did Previous Comments: [2001-07-26

[PHP-DEV] Bug #12409 Updated: Form variables are unexpectedly being escaped

2001-07-26 Thread ryan . smith
ID: 12409 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Variables related Operating System: Solaris PHP Version: 4.0.6 New Comment: Ah - it looks like magic_quotes_gpc is now defaults to on. Should it? Previous Comments: ---

[PHP-DEV] Bug #9059 Updated: SNMP compile issue

2001-07-26 Thread sniper
ID: 9059 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: SNMP related Operating System: Tru64 4.0f PHP Version: 4.0.4pl1 Previous Comments: [2001-02-01 17:23:19] [EMAIL PROTECT

[PHP-DEV] Bug #12082 Updated: ImageDashedLine

2001-07-26 Thread sniper
ID: 12082 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Bogus Bug Type: GD related Operating System: Win32 PHP Version: 4.0.6 New Comment: http://www.php.net/manual/en/function.imagedashedline.php Previous Comments: -

[PHP-DEV] Bug #12125 Updated: imap-ssl configure test fails (fixed!) See 11934

2001-07-26 Thread sniper
ID: 12125 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: IMAP related Operating System: linux redhat 6.2 PHP Version: 4.0.6 New Comment: Could you please try the latest CVS snapshot from http://snaps.php.net/ since this should be fixed in it. --J

[PHP-DEV] Bug #12411 Updated: Filesystem return zero

2001-07-26 Thread gallir
ID: 12411 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Filesystem function related Operating System: Linux 2.4.4 PHP Version: 4.0.6 Edit this bug report at http://bugs.php.net/?id=12411&edit=1 -- PHP Development Mailing List

[PHP-DEV] Bug #12122 Updated: FDF encoding problem

2001-07-26 Thread sniper
ID: 12122 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: FDF related Operating System: PHP Version: 4.0.5 New Comment: Please send the patch (created against latest CVS) to me: [EMAIL PROTECTED] Use this command to create the patch: cvs diff

[PHP-DEV] Bug #11995 Updated: Conflict with MySQL - missing DLL?

2001-07-26 Thread sniper
ID: 11995 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Status: Closed Bug Type: OCI8 related Operating System: Windows 2000 PHP Version: 4.0.6 New Comment: works -> closed. Previous Comments: [2001-07-1

Re: [PHP-DEV] sockets issues ?

2001-07-26 Thread Arnauld Dravet - smurfie
Hello Leo, Thanks for your reply, because i really need that script to be made ... Okay i made a typo where you noticed it, it should be == not =. (actually it doesn't really change anything to my problem :( ) What i don't understand is why the first call: > > $sock_tab = socket_get_status($soc

Re: [PHP-DEV] Chora installed

2001-07-26 Thread Anil Madhavapeddy
Rasmus Lerdorf wrote: > > By the way, do you think it would be possible to put > the CVS commit message at the top of the long diff > coloured output? Yeah, I've already got a similar change in my local tree that shows the commit message on the checkout. I'll add it in for the diff view as well.

[PHP-DEV] Bug #12118 Updated: Apache crashes without error after some time of running

2001-07-26 Thread sniper
ID: 12118 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Reproducible crash Operating System: RedHat 6.2 - Kernel 2.4.1 PHP Version: 4.0.6 New Comment: What was the configure line used to configure PHP? Previous Comments: -

Re: [PHP-DEV] Chora installed

2001-07-26 Thread Stig S. Bakken
Chuck Hagenbuch wrote: > > Quoting "Stig S. Bakken" <[EMAIL PROTECTED]>: > > > Go ahead. I recently set up a "cvsweb" CVS module for the cvs.php.net > > website, you could put it there if we want to have version control on > > that site. > > Right now everything in the chora.php.net directory

Re: [PHP-DEV] Chora installed

2001-07-26 Thread Rasmus Lerdorf
> > Chuck installed his PHP-based cvs browsing app. It is > > available at http://chora.php.net. Go have a look. > > > > I think it looks really good and we should probably make > > it the default for http://cvs.php.net. Anybody see any reason > > not to do that? > > Cool!! A few things I noti

[PHP-DEV] Bug #12411: Filesystem return zero

2001-07-26 Thread gallir
From: [EMAIL PROTECTED] Operating system: Linux 2.4.4 PHP version: 4.0.6 PHP Bug Type: Filesystem function related Bug description: Filesystem return zero // Assume "dir/file" exists $file = "dir/file"; echo filesize($file); It always return 0 -- Edit

[PHP-DEV] Bug #12410: PHP MySQL commands don't work with MS Proxy Client

2001-07-26 Thread sgines
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.6 PHP Bug Type: IIS related Bug description: PHP MySQL commands don't work with MS Proxy Client I am running Windows 2000 (sp2) with IIS 5.0 and Microsoft Proxy Client 2.0. PHP works fine as long as I d

[PHP-DEV] Bug #12111 Updated: gdImageCreateFromPng dos not work

2001-07-26 Thread sniper
ID: 12111 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: GD related Operating System: Linux PHP Version: 4.0.6 New Comment: Check what error is given in config.log file. Also, try adding --with-zlib to your configure line. --Jani Previous Comm

[PHP-DEV] Bug #12112 Updated: crypt doesn't work

2001-07-26 Thread sniper
ID: 12112 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: *Compile Issues Operating System: OpenBSD 2.7 PHP Version: 4.0.6 New Comment: This should be fixed in CVS. Please try latest snapshot from http://snaps.php.net/ Reopen this bug report if the

[PHP-DEV] Bug #12409: Form variables are unexpectedly being escaped

2001-07-26 Thread ryan . smith
From: [EMAIL PROTECTED] Operating system: Solaris PHP version: 4.0.6 PHP Bug Type: Variables related Bug description: Form variables are unexpectedly being escaped When I sumbit a form which contains a textarea containing the quote character, the form variable generated in

Re: [PHP-DEV] Chora installed

2001-07-26 Thread Rasmus Lerdorf
> > Chuck installed his PHP-based cvs browsing app. It is available at > > http://chora.php.net. Go have a look. > > > > I think it looks really good and we should probably make it the default > > for http://cvs.php.net. Anybody see any reason not to do that? > > Go ahead. I recently set up a

Re: [PHP-DEV] Re: [PEAR-DEV] PHP and WebDAV

2001-07-26 Thread Stig S. Bakken
yavo wrote: > > > The immediately most useful stuff for PHP would be server functionality > > in cooperation with mod_dav. The client part seems to be much easier to > > implement. Both Rasmus and I fell off this project as you can see, so > > if someone want to pick it up, that'd be awesome. >

Re: [PHP-DEV] PHP Extensions: C or C++?

2001-07-26 Thread Stig S. Bakken
J Smith wrote: > > I have a few PHP extensions that I'd be willing to share but I've never > done this sort of thing before. I wrote a few extensions for work, and my > company sees no problem in donating them to the open source world and to > the PHP project, but I'm curious about something: >

Re: [PHP-DEV] Chora installed

2001-07-26 Thread Chuck Hagenbuch
Quoting "Stig S. Bakken" <[EMAIL PROTECTED]>: > Go ahead. I recently set up a "cvsweb" CVS module for the cvs.php.net > website, you could put it there if we want to have version control on > that site. Right now everything in the chora.php.net directory is just a direct checkout from cvs.hord

Re: [PHP-DEV] function basename()

2001-07-26 Thread Stig S. Bakken
Marcus wrote: > > shouldn't the function basename() return only the > script part and not the query part? > > Yes i know it would make a difference if a filesystem could have '?' in > filenames or if you wanted to handle those for search operations. But > perhaps ther could be another switch or

Re: [PHP-DEV] Chora installed

2001-07-26 Thread Stig S. Bakken
Rasmus Lerdorf wrote: > > Chuck installed his PHP-based cvs browsing app. It is available at > http://chora.php.net. Go have a look. > > I think it looks really good and we should probably make it the default > for http://cvs.php.net. Anybody see any reason not to do that? Go ahead. I recen

[PHP-DEV] CVS Account Request

2001-07-26 Thread CVS Account Request
Full name: Chris Lambert Email: [EMAIL PROTECTED] ID:clambert Purpose: To contribute with the PEAR project. According to the session @ OSCON today, this is the process to go through since there\'s no automated interface. I\'m currently working on a full Net::HTTP class, which uti

[PHP-DEV] Bug #12408: Premature end of script headers - again

2001-07-26 Thread gazoot
From: [EMAIL PROTECTED] Operating system: Win98 PHP version: 4.0.6 PHP Bug Type: Reproducible crash Bug description: Premature end of script headers - again The "Premature end of script headers" error is causing me lots of problems. And it's NOT a httpd.conf error. Here's wh

Re: [PHP-DEV] Fwd: Bug id #12378 2000 is not a leapyear!

2001-07-26 Thread Wez Furlong
Read ext/calendar/gregor.c and you will see that: $leap = $year % 4 == 0; // centennials are only leap years if they are multiples of 400 if ($year % 100 == 0 && $year % 400 != 0) $leap = false; (that boils down to somthing simpler) 2000 was definitely a leap year. --Wez. On 26/07/01, "An

[PHP-DEV] Re: Bug #12381 Updated: Data Structure Dumper Feature Needed

2001-07-26 Thread Cari D. Burstein
Sorry about that, I didn't realize at the time the serialize and unserialize existed. It might not be a bad idea to add a few more useful keywords to that documentation page in case other people like me have trouble finding it. I would have never thought to look under those names for the featu

[PHP-DEV] Bug #12396 Updated: no errors, no php

2001-07-26 Thread andy
ID: 12396 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: PWS related Operating System: win 98 PHP Version: 4.0.6 New Comment: does anything happen??? If you view the source on a .php page, do you see the php code? Try making a php page (name it so

Re: [PHP-DEV] Chora installed

2001-07-26 Thread Chuck Hagenbuch
Quoting Anil Madhavapeddy <[EMAIL PROTECTED]>: > Fix the mime_drivers.php to point to tar correctly. > http://chora.php.net/co.php/phpweb/Mirrors-htdig.tgz?sa=1&r=1.4 Got it. > and GNU Enscript in there can pretty-print C files as well, if you want. That's already set up. :) > And if you put

[PHP-DEV] Bug #12407 Updated: if else statement correct in 4.0.5 but not 4.0.6

2001-07-26 Thread andy
ID: 12407 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Open Status: Analyzed Bug Type: *General Issues Operating System: win2000 PHP Version: 4.0.6 New Comment: reproduced. If you put the if and else statement between the same tags, it works fine. Previous Comments: -

[PHP-DEV] Bug #12407: if else statement correct in 4.0.5 but not 4.0.6

2001-07-26 Thread zheng
From: [EMAIL PROTECTED] Operating system: win2000 PHP version: 4.0.6 PHP Bug Type: *General Issues Bug description: if else statement correct in 4.0.5 but not 4.0.6 the script below runs correctly in 4.0.5 but there is "parse error" in 4.0.6. It seems that you can't break if

Re: [PHP-DEV] Chora installed

2001-07-26 Thread Anil Madhavapeddy
Rasmus Lerdorf wrote: > > Chuck installed his PHP-based cvs browsing app. It is > available at http://chora.php.net. Go have a look. > > I think it looks really good and we should probably make > it the default for http://cvs.php.net. Anybody see any reason > not to do that? Cool!! A few thi

[PHP-DEV] Bug #12381 Updated: Data Structure Dumper Feature Needed

2001-07-26 Thread andy
ID: 12381 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Bogus Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.0.6 New Comment: i meant to make this bogus... Previous Comments: -

[PHP-DEV] Bug #12381 Updated: Data Structure Dumper Feature Needed

2001-07-26 Thread andy
ID: 12381 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.0.6 New Comment: have you tried something like the serialize and unserialize functions? http://php.net/manual/en/function.seriali

[PHP-DEV] Bug #12376 Updated: PHP isn't loading the extension modules...

2001-07-26 Thread andy
ID: 12376 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: GD related Operating System: Win 98 Second Edition PHP Version: 4.0.6 New Comment: can you please include your php.ini file... Previous Comments:

[PHP-DEV] Bug #12374 Updated: PHP Manual

2001-07-26 Thread andy
ID: 12374 Updated by: andy Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Feature/Change Request Operating System: Linux 2.4.3 PHP Version: 4.0.6 New Comment: try going to http://php.net/manual/browse-errata.php Previous Comments: --

[PHP-DEV] Fwd: Bug id #12378 2000 is not a leapyear!

2001-07-26 Thread Andy
Is this right??? Also, look at bug #12378 (http://php.net/bugs.php?id=12378) -- Forwarded Message -- Subject: Bug id #12378 2000 is not a leapyear! Date: Thu, 26 Jul 2001 06:01:13 -0400 From: Christian Hansen <[EMAIL PROTECTED]> Sorry i didn't write on the bugtracing system.

[PHP-DEV] Failure compiling in IMAP.

2001-07-26 Thread Joshua Butcher
I am recompiling php and apache for IMAP connectivity. I had it working, then i installed RH 7.1 (to fix another problem on my machine) and I had to recompile Apache and PHP all over again. When I go to compile PHP with IMAP connectivity (c-client.a is in the /usr/local/lib) folder, it dies. Du

[PHP-DEV] Bug #12370 Updated: Feature suggestion

2001-07-26 Thread andy
ID: 12370 Updated by: andy Reported By: [EMAIL PROTECTED] Status: Open Old Bug Type: Variables related Bug Type: Feature/Change Request Operating System: Linux 2.4.3 PHP Version: 4.0.6 New Comment: reclassified Previous Comments: --

Re: [PHP-DEV] Chora installed

2001-07-26 Thread Jason Greene
I have been using Chora internally for about 2 months, and have had no issues. I highly recommend we make this the default. -Jason - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 26, 2001 11:02 AM Subject: [PHP-DEV] Chora inst

[PHP-DEV] Bug #12406: Can't connect to MySQL through IIS

2001-07-26 Thread sgines
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.6 PHP Bug Type: IIS related Bug description: Can't connect to MySQL through IIS PHP works fine under IIS...I can run the phpinfo(); function just fine. MySQL works fine. I can go into MySQLAdmin and ad

[PHP-DEV] Bug #12405: The result of create_function should be accepable to the parser

2001-07-26 Thread ben-php
From: [EMAIL PROTECTED] Operating system: Linux (but I think all) PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: The result of create_function should be accepable to the parser While trying to build a set of higher-order search and match functions

Re: [PHP-DEV] FW: How to contribute to PHP?

2001-07-26 Thread German Shegalov
Hi, I am sorry but the output of "diff -u" against the current cvs snapshot was somewhat confusing and too big in comparison what I really changed (because of permanently changed code ofcourse). So I am going to explain the changes without it. Once again, all changes are based on PHP4.0.6 sources

Re: [PHP-DEV] sockets issues ?

2001-07-26 Thread Leo
On Thursday 26 July 2001 18:06, Arnauld Dravet - smurfie wrote: > > Then i tried that: > $sock_tab = socket_get_status($sock); > if ($sock_tab["unread_bytes"] >= 0) > { >$a_lire = true; >while ($a_lire) >{ > $bytes_left = $sock_tab["unread_bytes"]; > print("Reading from the s

[PHP-DEV] Bug #12404: ISAPI mode exec() access violation

2001-07-26 Thread ken
From: [EMAIL PROTECTED] Operating system: Win32 (all) PHP version: 4.0.6 PHP Bug Type: Reproducible crash Bug description: ISAPI mode exec() access violation I noticed the changlelog: { Fixed popen() and the exec family under Win32 (Unable to fork issue). (Daniel) } Ver

Re: [PHP-DEV] Chora installed

2001-07-26 Thread Martin Jansen
On Thu, 26 Jul 2001 09:02:10 -0700 (PDT), Rasmus Lerdorf wrote: >Chuck installed his PHP-based cvs browsing app. It is available at >http://chora.php.net. Go have a look. > >I think it looks really good and we should probably make it the default >for http://cvs.php.net. +1 - Martin -- PHP

[PHP-DEV] ftp on 64bit sparc.

2001-07-26 Thread Terje Malmedal
This union ipbox thingy in ftp.c makes a bunch of assumptions of wordsize and endianness, it does not work on my platform Solaris 8 in 64bit mode. Proposed patch, this should be as portable as possible since s_addr and sin_port must be in network byte order: diff -ur php-4.0.6/ext/ftp/ftp.c php

RE: [PHP-DEV] Security Issues

2001-07-26 Thread Brian Tanner
>>accept_parameters($user_string); // or something similar If PHP is going to break a bunch of scripts, they would probably just shut register_globals off. This would require people to do: $user_string=$HTTP_POST_VARS["user_string"]; This accomplishes the same thing as your example, and doesn'

Re: [PHP-DEV] Chora installed

2001-07-26 Thread Sebastian Bergmann
Rasmus Lerdorf wrote: > I think it looks really good and we should probably make it the > default for http://cvs.php.net. +1, chora just rocks :-) -- Sebastian Bergmann Measure Traffic & Usability http://sebastian-bergmann.de/http://phpOpenTracker.de/ --

Re: [PHP-DEV] Chora installed

2001-07-26 Thread Dan Kalowsky
Rasmus Lerdorf wrote: > > Chuck installed his PHP-based cvs browsing app. It is available at > http://chora.php.net. Go have a look. > > I think it looks really good and we should probably make it the default > for http://cvs.php.net. Anybody see any reason not to do that? Make it the defaul

[PHP-DEV] sockets issues ?

2001-07-26 Thread Arnauld Dravet - smurfie
Dear Developpers :) I have to developp a web page on which i need to connect to a game server, to send and grab some informations. The server used is coded in C++, with borland C++ Builder, and so it runs under Windows, and i don't have the source, but i know the protocol it uses, so i can commun

RE: [PHP-DEV] Security Issues

2001-07-26 Thread Marc Boeren
Would it be a good idea to declare which parameters are allowed from outside, and which are internal to the application? If you set if ($user_string=='input' && $internal_allowed=='true') { ... } anybody can spoof $internal_allowed. However, if you must set this script up like this: a

[PHP-DEV] Chora installed

2001-07-26 Thread Rasmus Lerdorf
Chuck installed his PHP-based cvs browsing app. It is available at http://chora.php.net. Go have a look. I think it looks really good and we should probably make it the default for http://cvs.php.net. Anybody see any reason not to do that? -Rasmus -- PHP Development Mailing List

[PHP-DEV] Bug #12372 Updated: LDAP calls within a function fail

2001-07-26 Thread Mike
ID: 12372 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: LDAP related Operating System: RedHat 7.0 PHP Version: 4.0.6 New Comment: OkLike I said, it seems that it only bombs when you are doing mysql calls in the same script. Take the code be

Re: [PHP-DEV] Security Issues

2001-07-26 Thread Rasmus Lerdorf
> Just replace your if ($ok) with if (!empty($ok)), and you have a perfect > exploitable code that produces no warnings. But in this case someone has gone to the trouble to figure out what empty() does. And generally they use empty() on things that come from the user anyway. I don't think I hav

[PHP-DEV] Bug #12372 Updated: LDAP calls within a function fail

2001-07-26 Thread Mike
ID: 12372 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: LDAP related Operating System: RedHat 7.0 PHP Version: 4.0.6 New Comment: OkLike I said, it seems that it only bombs when you are doing mysql calls in the same script. Take the code be

Re: [PHP-DEV] Security Issues

2001-07-26 Thread Zeev Suraski
At 21:14 25/07/2001, Rasmus Lerdorf wrote: >But you don't acknowledge here that turning on E_NOTICE by default would >effectively eliminate this coding mistake. No, because it won't. As I said, you can cleanly implement this with empty(), and there'd be no E_NOTICE's or anything. > > >The chan

  1   2   >