[PHP-DEV] PHP 4.0 Bug #8817 Updated: $foo-getbar()-getfoobar()-method()

2001-01-20 Thread waldschrott

ID: 8817
Updated by: waldschrott
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Suspended
Old-Bug Type: Class/Object related
Bug Type: Feature/Change Request
Assigned To: andi
Comments:

we know :)
it is not available yet 

Previous Comments:
---

[2001-01-19 22:24:46] [EMAIL PROTECTED]
Hi there.

It would imho be useful to be abeled to code
$foo-getbar()-getfoobar()-method();
instead of having to save each return value into a variable like:
$bar = $foo-getbar();
$foobar = $bar-getfoobar();
$foobar-method();

Thanx.

---


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


-- 
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] Fwd: mysql compression

2001-01-20 Thread André Langhorst


Hi. This is the qmail-send program at php.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

[EMAIL PROTECTED]:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is a copy of the message.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 12446 invoked from network); 20 Jan 2001 12:05:39 -
Received: from unknown (HELO strahler.kreuzfeuer.de) (213.69.66.68)
  by www.php.net with SMTP; 20 Jan 2001 12:05:39 -
Received: from php.net (localhost [127.0.0.1])
by strahler.kreuzfeuer.de (8.11.2/8.11.2/SuSE Linux 8.11.0-0.4) with ESMTP id 
f0KC5Lw08832;
Sat, 20 Jan 2001 13:05:31 +0100
Message-ID: [EMAIL PROTECTED]
Date: Sat, 20 Jan 2001 13:03:38 +0100
From: =?ISO-8859-1?Q?Andr=E9?= Langhorst [EMAIL PROTECTED]
Organization: php-qat -  http://qa.php.net
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; 0.7) Gecko/20010109
X-Accept-Language: de, en, fr
MIME-Version: 1.0
To: Michael Widenius [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: mysql, compression
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hi Monty,
does it make sense to mess around with mysqls compression support. I 
want to enable it in PHP, but I saw HAVE_COMPRESSION commented out and I 
still wonder why it is not implemented, any problems here?

or will this be automatically covered by your upcoming patch
(http://marc.theaimsgroup.com/?l=php-devm=97370854024082w=2)
with mysql_options()?

regards,
andré


-- 
· André Langhorst   · t: +49 571 3201801 ·
· [EMAIL PROTECTED]   · m: +49 173 9558736 ·
· PHP Quality Assurance · http://qa.php.net  ·




-- 
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] PHP 4.0 Bug #8215 Updated: passthru() orphans processes if aborted

2001-01-20 Thread thies

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

it's already fixed in cvs. 

you should be able to replace ext/stadard/exec with the CVS version from 
http://cvs.php.net/viewcvs.cgi/php4/ext/standard/exec.c


Previous Comments:
---

[2001-01-18 17:50:14] [EMAIL PROTECTED]
Checked with 4.0.4pl1 -- still buggy.

---

[2001-01-15 08:59:47] [EMAIL PROTECTED]
this should be fixed. can you confirm this?

---

[2000-12-12 17:19:25] [EMAIL PROTECTED]
I have a script that sends large files using:

passthru("cat $filename");

With 4.0.3pl1, if a user aborts the download, the cat process becomes orphaned and 
cannot be killed.  I just recently upgraded from 4.0RC1 and did not experience this 
problem until after I upgraded.

---


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


-- 
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]




AW: [PHP-DEV] PHP 4.0 Bug #8816: cross subscript object variable access

2001-01-20 Thread Harald Radi

hi,

we had the same problem. the solution is to instanciate the providerclass
with

$provider = new ProviderClass();

another solution would be to implement a static function in your subclass
that acts as a classfactory:

function providerFactory($ProviderInstance)
{
$ProviderInstance-FOO = new SubClass();
}


hope that helps.
harald.


 -Ursprngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Gesendet: Samstag, 20. Jnner 2001 04:16
 An: [EMAIL PROTECTED]
 Betreff: [PHP-DEV] PHP 4.0 Bug #8816: cross subscript object variable
 access


 From: [EMAIL PROTECTED]
 Operating system: linux
 PHP version:  4.0.4
 PHP Bug Type: Class/Object related
 Bug description:  cross subscript object variable access

 I today found out a strange thing about the PHP4 object/variable
 handling that I can not understand.

 My main script first clones a provider class and stores the new
 object into $MAINPROV;

 Then it includes two files that give back two elements of the page.

 My provider class has some subclasses. These shall be loaded on
 demand with functions like getFooProvider(). Theese functions
 test via preis_object($this-FOO)/pre if the class is already
 loaded. If not it includes the file containing the class
 definition and spawns pre$this-FOO = new foo($this)/pre.

 Now listen to this: If I use the load-function in the main script
 all works fine. But if the class is loaded from one of the
 subclasses (into the main provider class object that is a
 variable in the main script) it cannot be accessed in the other
 subscript, the second element. This causes the foo-class-file to
 be reloaded and throws out an error message because the class is
 already defined.

 If anybody can help, it would be very very sad if I had to
 workaround pre-loading every subclass that can be used on this
 page, because I wanted to make it dynamically load the classes. Thanks!


 --
 Edit Bug report at: http://bugs.php.net/?id=8816edit=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 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] PHP 4.0 Bug #8819: dbm functions do not work correctly

2001-01-20 Thread trout

From: [EMAIL PROTECTED]
Operating system: Win32
PHP version:  4.0.4pl1
PHP Bug Type: DBM/DBA related
Bug description:  dbm functions do not work correctly

DBM functions seem not to work correctly on Win32 (PHP/Apache). The problem probably 
has to do with with unix/dos ascii file EOL identifiers. I've tried the same code on 
another server with PHP/Apache installed on Linux and it works correctly there.




-- 
Edit Bug report at: http://bugs.php.net/?id=8819edit=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] PHP 4.0 Bug #8820: PHP breaks ASP

2001-01-20 Thread altinos

From: [EMAIL PROTECTED]
Operating system: Windows NT workstation 4.0/SP6
PHP version:  4.0.4pl1
PHP Bug Type: PWS related
Bug description:  PHP breaks ASP

After configuring PHP and getting it to work with PWS 4.0, now none of my ASP pages 
will display, I get error 500: Internal Server Error.  PHP works just fine.  I've 
tried reinstalling PWS and I get the same errors.  PHP tags are still set as ?

Has anyone else encountered this?


-- 
Edit Bug report at: http://bugs.php.net/?id=8820edit=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] PHP 3.0 Bug Summary Report

2001-01-20 Thread php-dev

 PHP 3.0 Bug Database summary - http://bugs.php.net

 Num Status Summary (681 total including feature requests)
===[*General Issues]==
4180 Open   is_link returns false when target doesnt exist (should return true)
8083 Open   3.0.17 causes segm. faults with --enable-versioning
===[*Install and Config]==
7386 Feedback   referenced symbol not found when starting Apache
===[Compile Failure]==
1145 Open   Ypu cannot compile with --with-ldap using the Solaris7 bundled 
ldap-libs/header
1298 Open   need to use -taso with Netscape LDAP libs
1461 Open   won't compile with Stronghold 2.2 or 2.3
1933 Open   Unable to compile PHP3 with Oracle8 support
1997 Open   Compilation Problems
2225 Open   Compile error in ldap.c
2282 Open   Compile failure with Stronghold 2.4.1
2490 Open   Perl regular expression functions not available in windows binary
2585 Open   Error linking Oracle 7.3.2 libraries on SCO OpenServer 5.0.4
2629 Feedback   ldap.c fails to compile with PHP3.0.12 and PHP4b2
2658 Open   error while compiling PHP as apache module
2729 Open   Fatal error: Unable to open ???  in - on line 0
2751 Open   Storage size of "buf isn't known
2771 Open   bison.exe and the -S option not supported
2823 Open   undefined symbol: SQLParamData
2824 Open   Inconsistent parameter list declaration for...
2903 Open   fails to compile ifx.ec, report a syntax-error
2941 Suspended  compile fails with imap and sybase-ct (other function than reported 
before)
3033 Open   Fatal compile error on functions/ldap.c
3140 Feedback   Compile-Problems with snmp and pdflib
3185 Open   Undefined symbol
3217 Open   ld error when compiling as Apache DSO and --with-mysql
3218 Open   Can't compile php_ftp.dll
3426 Open   make with iodbc failed and I've found the problem
3501 Open   Compiling errors with Oracle-Funktions
3528 Open   Can't compile php 3.0.14 with Oracle support
3611 Open   switch() limitation and gcc invoked instead of cc
3677 Open   files not found
3717 Feedback   multiple definition of  gdImageColorResolve
3766 Open   configure doesn't allow for the Oracle N32 client SDK to be used
3776 Open   functions/db.c:107: parse error before '*'
4028 Open   wrong directories included for oracle 8.1.6
4217 Open   IBM DB2 will not compile.
4233 Open   The Interbase module won't compile.
4266 Open   Undeclared variables in function/imap.c starting ar line 435
4392 Open   Compile failure with GD 1.7, possibly others
4412 Open   xml failure
4417 Open   Informix specific parse error in functions/ifx.ec
4544 Open   Incompatiblility with latest (3.0) version of PDFlib
4899 Open   PHP Core Dumps With Apache 1.3.12
7734 Open   missing php3_ifx.h
7882 Bogus  upload file
===[Compile Warning]==
1638 Open   SPARCworks cc warnings (cosmetic)
2935 Open   adition bug id:2900
3151 Open   php.exe compile warnings because of arpa/inet.h
6602 Open   Failure to warn of duplicate class methods
6942 Open   php sockets unusable with irix-OS
6947 Open   all compiler warnings
===[dBase related]
3091 Open   dbase_replace_record miscounts number of fields
3429 Open   Warning: Unable to open database...
3447 Open   error on dbase_open function, it isn't open on write only or 
read-write mode.
3777 Open   Dbase_create fails to recognize array of arrays
3824 Open   dbase file cannot open by foxpro2
4802 Open   php.exe crashes while trying to execute the get_record function
===[DBM/DBA related]==
2890 Open   DBM extension on win32 does not valid database identifier error
3371 Open   dbmfetch reurns an empty string
3423 Open   dbmopen() not thread-safe
3809 Open   DBM extension for Win32 PHP3 is malfunctioning and/or has a flaw
3862 Open   dbmReplace  dbmDelete return inverse value
6720 Open   persistent "Warning: driver initialization failed" on db_open db2 2.7.7
===[Documentation problem]
2464 Open   install-windows95-nt.html does not agree with inf file
3257 Open   missing file
3279 Open   Reboot
3674 Open   Backreferences need 2 backslashes to work in preg_* functions
4399 Open   With no php3.ini, magic_quotes_gpc is 'Off'.  With one, it's default 
is 'On'.
===[Dynamic loading related]==
1188 Open   Configuration not work
1586 Open   In the compiled Win32 package, the php3_ldap doesn't load.
1993 Open   Startup failure of liphp3.so
2027 Open   Can't dynamicly load any 

[PHP-DEV] PHP 4.0 Bug Summary Report

2001-01-20 Thread php-dev

 PHP 4.0 Bug Database summary - http://bugs.php.net

 Num Status Summary (1138 total including feature requests)
===[*Configuration Issues]
7666 Feedback   PHP4 doesn't read php.ini with NT4/IIS
7695 Feedback   Error while accessing php script
7774 Open   PHP_AUTH_USER and PHP_AUTH_PW are set when using external 
authentication.
8066 Feedback   php.ini file not accessible via symbolic link
8238 Feedback   crypt() fails
8295 Open   absolute path in extension= directive in php.ini not recognized
8316 Feedback   cannot set short_open_tags to off
8670 Open   Incorect interpretation session.gc_maxlifetime parameter
8760 Open   Troubles enabling extension php_curl.php
8762 Open   No warning when entered nonexistent dll.
8815 Open   allow_fopen_url = On  include("URL") don't work
===[*Database Functions]==
8560 Bogus  Warning: MS SQL message: Login failed for user 'tom'. Reason: Not 
associated wi
8706 Open   Database handle corruption?
===[*Directory/Filesystem functions]
7919 Bogus  PHP doesn't understand UNC-links leading from assigned net disk
7999 Bogus  Access Violation at 77F81B4D
8564 Open   fread generating false errors
8580 Feedback   Fileupload and Database mysql access
8698 Open   freediskspace returns zero when used on a windows 2000 'spanned' 
dynamic drive.
8736 Bogus  Return value of umask() not an octal number
===[*Function Specific]===
6652 Feedback   include() require() add trailing CRLF
6708 Duplicate  Treatment of ' in htmlspecialchars() function
6839 Analyzed   get metatags
7220 Open   Error Report on Function Arguments
8202 Open   exec("java -cp classpath classname inputArgument"); has no effect
8270 Feedback   problem when including phpinfo() command with session
8297 Feedback   see test program below
8489 Feedback   Function empty() does not work
8563 Open   hebrevc() problems...
===[*General Issues]==
3076 Analyzed   system and popen are ok in safe_mode, not backquotes
4761 Assigned   exec, system all give an error on a fork...
4907 Bogus  relocation error: symbol opinit not found
4930 Bogus  system(), passthu() etc. do not output anything!
5071 Bogus  dynamic linker relocation error: symbol not found: pow
5534 Bogus  conflicting types for dlerror
6029 Bogus  Fatal error: Unable to open D:\Jana\html in Unknown on line 0
6059 Bogus  Processes not dying
6060 Bogus  Processes not dying
6062 Bogus  Processes not dying
6161 Bogus  Global variable acts strangely
6303 Duplicate  make install said libphp4.sl is not a DSO
6338 Feedback   script engine
6426 Duplicate  system() or exec(): unable to fork
6430 Bogus  MAKE ERROR
6435 Duplicate  can't close session(by session_destroy()) - it write warning
6445 Feedback   problem with opendir
6499 Analyzed   $upload_type[] has wrong size with empty multiple-file uploads
6520 Duplicate  session_destroy() does not work
6542 Duplicate  exec() and system() cannot fork
6544 Bogus  exec() and system() cannot fork in php4isapi.dll
6607 Bogus  Please ignore (php-qat test)
6617 Open   JVM starts only on 3 requests per httpd
6624 Open   error_log() in registered shutdown function
6644 Duplicate  Test
6685 Analyzed   %20 mis-converted in GET mechanism
6848 Bogus  Password verification
6875 Duplicate  upload_tmp_dir in php.ini doesn't work in safe_mode
6915 Bogus  install script says there's no install.sh
6982 Open   disable_functions option don't works in Apache config
7063 Bogus  IGNORE (test)
7064 Bogus  IGNORE (yet another test)
7065 Bogus  IGNORE (test, last one..)
7066 Bogus  IGNORE (test, _really_ the last one..)
7134 Duplicate  misbehavior of print and sprintf AGAIN
7136 Duplicate  The binary version of php4.0.2 doesn't support the bindtextdomain 
function.
7243 Duplicate  upload_tmp_dir does not work in safe_mode
7444 Duplicate  General reference problems
7455 Duplicate  Problems with $this in constructor
7525 Duplicate  exec() does not work
7626 Feedback   session saving and loading seem to use different locales
7633 Bogus  NULL-bytes cause fundamental problems in string processing
7685 Open   File Upload Fails with Headers in Unexpected Order
7771 Bogus  test, please ignore
7865 Duplicate  exec command
7942 Bogus  IE5.0 cache refresh problem
8281 Bogus  still problem with for()
8415 Bogus  - if - returns an error!
8446 Open   PHP/apache process is in infinite loop or appears to suck CPU
8618 Open   httpd process hangs
8671 Open   Random "Warning: Failed opening..."
8710 Bogus  Cannot add header information - headers information already sent ...
8800 Bogus  Unexpected string comparison behaviour

[PHP-DEV] PHP 4.0 Bug #8819 Updated: dbm functions do not work correctly

2001-01-20 Thread trout

ID: 8819
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: DBM/DBA related
Description: dbm functions do not work correctly

I forgot to specify in my original comment that the problematic format in question is 
flatfile.

Previous Comments:
---

[2001-01-20 11:24:36] [EMAIL PROTECTED]
DBM functions seem not to work correctly on Win32 (PHP/Apache). The problem probably 
has to do with with unix/dos ascii file EOL identifiers. I've tried the same code on 
another server with PHP/Apache installed on Linux and it works correctly there.



---


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


-- 
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] PHP 4.0 Bug #8821: sybase_connect()

2001-01-20 Thread sjm05

From: [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:  4.0.4pl1
PHP Bug Type: Sybase-ct (ctlib) related
Bug description:  sybase_connect()

Yesterday Jan. 20, 2001 I submitted a bug report that related to the Sybase_connect() 
function in PHP.  At the time I was uncertain as to whether or not it was a bug or 
something that I had left out in setting up the Sybase connectivity.  

As I said at the time in the last few weeks I have set up PHP, Sybase ASE, Apache, and 
MySQL on a number of computers with a number of fresh builds.  On each occassion I was 
confronted with the same problem of not being able to execute the sybase_connect() 
function.

Last night I read three or four more reports NEWS.PNP.NET news group of other 
developers having the same problem using the same combinations of PHP 4, Sybase ASE 
11.9, Apache 1.3.4 in a Windows 2000 or Windows NT OS.  

In one of the reports the developer Kjetil Limkjaer ([EMAIL PROTECTED]) 
attempted to get sybase_connect() to work in both Windows 98 and Windows NT. He found 
that the problem was present in both OS platforms.  The problem was referred as 
crashing Windows 98 or memory errors in NT which is what I observed and reported on in 
greater detail yesterday. He was able to connect using ODBC but not using the native 
drivers of the Sybase-CT Lib.

In another report a developer named Aaron Chau [EMAIL PROTECTED] said that he 
had confronted the Sybase_connect() problem when he upgraded from PHP3 to PHP4.

In the process of checking around and posting to various discussion groups I could not 
find anyone that reported having PHP4, Apache, Sybase, Windows 2000 operational.

If you'd like more details on the set-ups, error message details, install scripts feel 
free to drop me a line.

work - [EMAIL PROTECTED]
home - [EMAIL PROTECTED]

If what I have learned is correct then this may be a problem with using the PHP4 
sybase_connect() function in a MS Windows environment.  Since it has been reported not 
to work with Apache and MS IIS Web Servers in either MS Win98, Win NT, and Win2000.

I would be also be interested in testing any patches or fixes that are created to 
address this problem.  It seems that developers using PHP4 and Sybase in a Windows 
environment are in the minority.



-- 
Edit Bug report at: http://bugs.php.net/?id=8821edit=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]




AW: [PHP-DEV] same functions in modules

2001-01-20 Thread Harald Radi

ie the php_com and php_dotnet modules use both function for converting
zval - unicode string and vice versa, i've found equal cases in other
modules too but i would have to look again.

i think this is a special case because the dotnet and the com module are
very identical. but anyway i think it should be discussed.

harald

 -Ursprngliche Nachricht-
 Von: Sean R. Bright [mailto:[EMAIL PROTECTED]]
 Gesendet: Samstag, 20. Jnner 2001 18:27
 An: 'Harald Radi'; 'PHP Developer List'
 Betreff: RE: [PHP-DEV] same functions in modules


 Could you provide some examples?

  -Original Message-
  From: Harald Radi [mailto:[EMAIL PROTECTED]]
  Sent: Saturday, January 20, 2001 9:52 AM
  To: PHP Developer List
  Subject: [PHP-DEV] same functions in modules
 
 
  hi,
 
  there are a few modules using the same c-functions and they are
  reimplemented in each module.c file in the ext/[module]
  directory. won't it
  be better to move these functions into shared include files
  somewhere in the
  ext/ directory ?
 
  harald.
 
  resistance is futile - nme.at
 
 
  --
  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 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]




Re: [PHP-DEV] PHP 4.0 Bug #8821: sybase_connect()

2001-01-20 Thread Dean Bennett

I just downloaded the latest php4.0.4p1 binary distribution, and I have no problem 
using
the Sybase functions.  I have had problems with previous versions (prior to 4.0.2 or 
so)
and made minor fixes for them.

What version of Sybase are you using?  It may be that your libraries don't match those
that php was build with, and you'll need to either install a different set of 
libraries or
rebuild php against your libraries.  I have version 10.0.4 of libct installed.  I think
that I once had a problem when I installed the libraries for windows that Sybase 
supplies
with the Linux server.  I put back the old ones and all was fine.

Have you tried running php.exe from the command line?  You can sometimes see errors 
that
way that won't show up when using a web server.

I'm running PWS 4.0 and the cgi version of php.

Once it is working, you do need to bump up the sybct serverity levels from 10 to 11 in
php.ini to get rid of the change database message.

[EMAIL PROTECTED] wrote:
 
 From: [EMAIL PROTECTED]
 Operating system: Windows 2000
 PHP version:  4.0.4pl1
 PHP Bug Type: Sybase-ct (ctlib) related
 Bug description:  sybase_connect()
 
 Yesterday Jan. 20, 2001 I submitted a bug report that related to the 
Sybase_connect() function in PHP.  At the time I was uncertain as to whether or not 
it was a bug or something that I had left out in setting up the Sybase connectivity.
 
 As I said at the time in the last few weeks I have set up PHP, Sybase ASE, Apache, 
and MySQL on a number of computers with a number of fresh builds.  On each occassion 
I was confronted with the same problem of not being able to execute the 
sybase_connect() function.
 
 Last night I read three or four more reports NEWS.PNP.NET news group of other 
developers having the same problem using the same combinations of PHP 4, Sybase ASE 
11.9, Apache 1.3.4 in a Windows 2000 or Windows NT OS.
 
 In one of the reports the developer Kjetil Limkjaer ([EMAIL PROTECTED]) 
attempted to get sybase_connect() to work in both Windows 98 and Windows NT. He found 
that the problem was present in both OS platforms.  The problem was referred as 
crashing Windows 98 or memory errors in NT which is what I observed and reported on 
in greater detail yesterday. He was able to connect using ODBC but not using the 
native drivers of the Sybase-CT Lib.
 
 In another report a developer named Aaron Chau [EMAIL PROTECTED] said that he 
had confronted the Sybase_connect() problem when he upgraded from PHP3 to PHP4.
 
 In the process of checking around and posting to various discussion groups I could 
not find anyone that reported having PHP4, Apache, Sybase, Windows 2000 operational.
 
 If you'd like more details on the set-ups, error message details, install scripts 
feel free to drop me a line.
 
 work - [EMAIL PROTECTED]
 home - [EMAIL PROTECTED]
 
 If what I have learned is correct then this may be a problem with using the PHP4 
sybase_connect() function in a MS Windows environment.  Since it has been reported 
not to work with Apache and MS IIS Web Servers in either MS Win98, Win NT, and 
Win2000.
 
 I would be also be interested in testing any patches or fixes that are created to 
address this problem.  It seems that developers using PHP4 and Sybase in a Windows 
environment are in the minority.
 
 --
 Edit Bug report at: http://bugs.php.net/?id=8821edit=1
 
 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To conta comhe list administrators, e-mail: [EMAIL PROTECTED]

-- 
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] PHP 4.0 Bug #8822: readdir doesn't return directories starting with a digit

2001-01-20 Thread vahan

From: [EMAIL PROTECTED]
Operating system: FreeBSD
PHP version:  4.0 Latest CVS (20/01/2001)
PHP Bug Type: Directory function related
Bug description:  readdir doesn't return directories starting with a digit

function dir_list($dirname) 
{ 
 if($dirname[strlen($dirname)-1]!='/') 
 $dirname.='/'; 
 $handle=opendir($dirname); 
 while ($file = readdir($handle)) 
  { 
   if($file=='.'||$file=='..') continue;
   $result_array[]=$dirname.$file; 
   } 
 closedir($handle); 
 return $result_array; 
};

executed for a directory which has subdirectory that has a digit/special character as 
a first character of it's name,
then that subdirectory won't be included in the $result_array



-- 
Edit Bug report at: http://bugs.php.net/?id=8822edit=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] PHP 4.0 Bug #8823: readdir doesn't return directories starting with a digit

2001-01-20 Thread vahan

From: [EMAIL PROTECTED]
Operating system: FreeBSD
PHP version:  4.0 Latest CVS (20/01/2001)
PHP Bug Type: Directory function related
Bug description:  readdir doesn't return directories starting with a digit

function dir_list($dirname) 
{ 
 if($dirname[strlen($dirname)-1]!='/') 
 $dirname.='/'; 
 $handle=opendir($dirname); 
 while ($file = readdir($handle)) 
  { 
   if($file=='.'||$file=='..') continue;
   $result_array[]=$dirname.$file; 
   } 
 closedir($handle); 
 return $result_array; 
};

executed for a directory which has subdirectory that has a digit/special character as 
a first character of it's name,
then that subdirectory won't be included in the $result_array



-- 
Edit Bug report at: http://bugs.php.net/?id=8823edit=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] PHP 4.0 Bug #8823 Updated: readdir doesn't return directories starting with a digit

2001-01-20 Thread elixer

ID: 8823
Updated by: elixer
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Duplicate
Bug Type: Directory function related
Assigned To: 
Comments:

Bug submitted twice.  Marking this one as a duplicate.

Previous Comments:
---

[2001-01-20 16:07:41] [EMAIL PROTECTED]
function dir_list($dirname) 
{ 
 if($dirname[strlen($dirname)-1]!='/') 
 $dirname.='/'; 
 $handle=opendir($dirname); 
 while ($file = readdir($handle)) 
  { 
   if($file=='.'||$file=='..') continue;
   $result_array[]=$dirname.$file; 
   } 
 closedir($handle); 
 return $result_array; 
};

executed for a directory which has subdirectory that has a digit/special character as 
a first character of it's name,
then that subdirectory won't be included in the $result_array


---


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


-- 
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] PHP 4.0 Bug #8822 Updated: readdir doesn't return directories starting with a digit

2001-01-20 Thread rasmus

ID: 8822
Updated by: rasmus
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Directory function related
Assigned To: 
Comments:

Your script is wrong.  Use:

while (($file = readdir($handle))!==false)


Previous Comments:
---

[2001-01-20 16:03:29] [EMAIL PROTECTED]
function dir_list($dirname) 
{ 
 if($dirname[strlen($dirname)-1]!='/') 
 $dirname.='/'; 
 $handle=opendir($dirname); 
 while ($file = readdir($handle)) 
  { 
   if($file=='.'||$file=='..') continue;
   $result_array[]=$dirname.$file; 
   } 
 closedir($handle); 
 return $result_array; 
};

executed for a directory which has subdirectory that has a digit/special character as 
a first character of it's name,
then that subdirectory won't be included in the $result_array


---


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


-- 
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] PHP 4.0 Bug #8823 Updated: readdir doesn't return directories starting with a digit

2001-01-20 Thread rasmus

ID: 8823
Updated by: rasmus
Reported By: [EMAIL PROTECTED]
Old-Status: Duplicate
Status: Closed
Bug Type: Directory function related
Assigned To: 
Comments:

See #8822

Previous Comments:
---

[2001-01-20 16:27:13] [EMAIL PROTECTED]
Bug submitted twice.  Marking this one as a duplicate.

---

[2001-01-20 16:07:41] [EMAIL PROTECTED]
function dir_list($dirname) 
{ 
 if($dirname[strlen($dirname)-1]!='/') 
 $dirname.='/'; 
 $handle=opendir($dirname); 
 while ($file = readdir($handle)) 
  { 
   if($file=='.'||$file=='..') continue;
   $result_array[]=$dirname.$file; 
   } 
 closedir($handle); 
 return $result_array; 
};

executed for a directory which has subdirectory that has a digit/special character as 
a first character of it's name,
then that subdirectory won't be included in the $result_array


---


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


-- 
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] PHP 4.0 Bug #8823 Updated: readdir doesn't return directories starting with a digit

2001-01-20 Thread derick

ID: 8823
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Closed
Status: Bogus
Bug Type: Directory function related
Assigned To: 
Comments:

This is a bogus one I assume

Previous Comments:
---

[2001-01-20 16:28:21] [EMAIL PROTECTED]
See #8822

---

[2001-01-20 16:27:13] [EMAIL PROTECTED]
Bug submitted twice.  Marking this one as a duplicate.

---

[2001-01-20 16:07:41] [EMAIL PROTECTED]
function dir_list($dirname) 
{ 
 if($dirname[strlen($dirname)-1]!='/') 
 $dirname.='/'; 
 $handle=opendir($dirname); 
 while ($file = readdir($handle)) 
  { 
   if($file=='.'||$file=='..') continue;
   $result_array[]=$dirname.$file; 
   } 
 closedir($handle); 
 return $result_array; 
};

executed for a directory which has subdirectory that has a digit/special character as 
a first character of it's name,
then that subdirectory won't be included in the $result_array


---


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


-- 
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] PHP 4.0 Bug #8824: Problem with the value of $PATH_TRANSLATED

2001-01-20 Thread heino

From: [EMAIL PROTECTED]
Operating system: Debian 2.2r2
PHP version:  4.0.3pl1
PHP Bug Type: Apache related
Bug description:  Problem with the value of $PATH_TRANSLATED

How about looking at bug #6795 ???

It's kind of old, but still unsolved !!!

And in my opinion it makes PHP useless for largescale sites...




-- 
Edit Bug report at: http://bugs.php.net/?id=8824edit=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] PHP 4.0 Bug #8824 Updated: Problem with the value of $PATH_TRANSLATED

2001-01-20 Thread rasmus

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

We see it and someone will get to it eventually.

Previous Comments:
---

[2001-01-20 16:43:30] [EMAIL PROTECTED]
How about looking at bug #6795 ???

It's kind of old, but still unsolved !!!

And in my opinion it makes PHP useless for largescale sites...



---


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


-- 
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] PHP 4.0 Bug #8824 Updated: Problem with the value of $PATH_TRANSLATED

2001-01-20 Thread heino

ID: 8824
User Update by: [EMAIL PROTECTED]
Status: Closed
Bug Type: Apache related
Description: Problem with the value of $PATH_TRANSLATED

Ok.

I just sort of thought you had forgotten it !

I can set up a demonstration of the problem if that might help...

Heino H. Gehlsen



Previous Comments:
---

[2001-01-20 16:47:40] [EMAIL PROTECTED]
We see it and someone will get to it eventually.

---

[2001-01-20 16:43:30] [EMAIL PROTECTED]
How about looking at bug #6795 ???

It's kind of old, but still unsolved !!!

And in my opinion it makes PHP useless for largescale sites...



---


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


-- 
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]




Re: [PHP-DEV] CVS Account Request

2001-01-20 Thread Rasmus Lerdorf

Do you have anything specific in mind?

-Rasmus

On 20 Jan 2001 [EMAIL PROTECTED] wrote:

 Full name: Josef Kandlhofer
 Email: [EMAIL PROTECTED]
 ID:
 Purpose: development


-- 
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] PHP 4.0 Bug #8826: Requests

2001-01-20 Thread hatamy1

From: [EMAIL PROTECTED]
Operating system: Win 2000 Prof.
PHP version:  4.0.4pl1
PHP Bug Type: PWS related
Bug description:  Requests

Dier Sirs,

I'm a successful professional internet programmer in Germany.
and nevertheless, it has come to a situation that some thing goes wrong ;) 

Hier is the list of the installed Programms:
1) PWS of the Windows 2000 installed 
2) Mysql (the last Version)
3) PHP (last version)
4) Macromedia Flash 4
5) Macromedia Flash 5
6) Macromedia Ultradev 4.0 

First of all the is noway running php when IIS is installed!
Furthermore I have tried the same with Microsoft Server 2000 Advanced with the same 
result!

After uninstalling IIS then the PHP Script started to work!

I have programmed a simple registration form in Flash
and loaded the information with var=post and var=Get

the information was passed with no problem and saved in the databank

But reading the information back into Flash is NOT POSSIBLE!
I have done the same test with flash 5 too but with no success.

I have tried all the possibilities and unfortunatelly I have to a admit that php does 
not work or my knowledge is not enougth to understand what is going on.

I would be very glad to recieve some help or corrections from you.


Thank you

TH




-- 
Edit Bug report at: http://bugs.php.net/?id=8826edit=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] PHP 4.0 Bug #8826 Updated: Requests

2001-01-20 Thread hatamy1

ID: 8826
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: PWS related
Description: Requests

Hier is the list of the installed Programms:
1) PWS of the Windows 2000 installed 
2) Mysql (the last Version)
3) PHP (last version)
4) Macromedia Flash 4
5) Macromedia Flash 5
6) Macromedia Ultradev 4.0 

First of all the is noway running php when IIS is installed!
Furthermore I have tried the same with Microsoft Server 2000 Advanced with the same
result!

After uninstalling IIS then the PHP Script started to work!

I have programmed a simple registration form in Flash
and loaded the information with var=post and var=Get

the information was passed with no problem and saved in the databank

But reading the information back into Flash is NOT POSSIBLE!
I have done the same test with flash 5 too but with no success.

I have tried all the possibilities and unfortunatelly I have to a admit that php does 
not
work or my knowledge is not enougth to understand what is going on.

I would be very glad to recieve some help or corrections from you.


Thank you

TH


Previous Comments:
---

[2001-01-20 21:14:04] [EMAIL PROTECTED]
Dier Sirs,

I'm a successful professional internet programmer in Germany.
and nevertheless, it has come to a situation that some thing goes wrong ;) 

Hier is the list of the installed Programms:
1) PWS of the Windows 2000 installed 
2) Mysql (the last Version)
3) PHP (last version)
4) Macromedia Flash 4
5) Macromedia Flash 5
6) Macromedia Ultradev 4.0 

First of all the is noway running php when IIS is installed!
Furthermore I have tried the same with Microsoft Server 2000 Advanced with the same 
result!

After uninstalling IIS then the PHP Script started to work!

I have programmed a simple registration form in Flash
and loaded the information with var=post and var=Get

the information was passed with no problem and saved in the databank

But reading the information back into Flash is NOT POSSIBLE!
I have done the same test with flash 5 too but with no success.

I have tried all the possibilities and unfortunatelly I have to a admit that php does 
not work or my knowledge is not enougth to understand what is going on.

I would be very glad to recieve some help or corrections from you.


Thank you

TH



---


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


-- 
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] PHP 4.0 Bug #8826 Updated: Requests

2001-01-20 Thread hatamy1

ID: 8826
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: PWS related
Description: Requests

Hier is the list of the installed Programms:
1) PWS of the Windows 2000 installed 
2) Mysql (the last Version)
3) PHP (last version)
4) Macromedia Flash 4
5) Macromedia Flash 5
6) Macromedia Ultradev 4.0 

First of all the is noway running php when IIS is installed!
Furthermore I have tried the same with Microsoft Server 2000 Advanced with the same
result!

After uninstalling IIS then the PHP Script started to work!

I have programmed a simple registration form in Flash
and loaded the information with var=post and var=Get

the information was passed with no problem and saved in the databank

But reading the information back into Flash is NOT POSSIBLE!
I have done the same test with flash 5 too but with no success.

I have tried all the possibilities and unfortunatelly I have to a admit that php does 
not
work or my knowledge is not enougth to understand what is going on.

I would be very glad to recieve some help or corrections from you.


Thank you

TH


Previous Comments:
---

[2001-01-20 21:19:33] [EMAIL PROTECTED]
Hier is the list of the installed Programms:
1) PWS of the Windows 2000 installed 
2) Mysql (the last Version)
3) PHP (last version)
4) Macromedia Flash 4
5) Macromedia Flash 5
6) Macromedia Ultradev 4.0 

First of all the is noway running php when IIS is installed!
Furthermore I have tried the same with Microsoft Server 2000 Advanced with the same
result!

After uninstalling IIS then the PHP Script started to work!

I have programmed a simple registration form in Flash
and loaded the information with var=post and var=Get

the information was passed with no problem and saved in the databank

But reading the information back into Flash is NOT POSSIBLE!
I have done the same test with flash 5 too but with no success.

I have tried all the possibilities and unfortunatelly I have to a admit that php does 
not
work or my knowledge is not enougth to understand what is going on.

I would be very glad to recieve some help or corrections from you.


Thank you

TH


---

[2001-01-20 21:14:04] [EMAIL PROTECTED]
Dier Sirs,

I'm a successful professional internet programmer in Germany.
and nevertheless, it has come to a situation that some thing goes wrong ;) 

Hier is the list of the installed Programms:
1) PWS of the Windows 2000 installed 
2) Mysql (the last Version)
3) PHP (last version)
4) Macromedia Flash 4
5) Macromedia Flash 5
6) Macromedia Ultradev 4.0 

First of all the is noway running php when IIS is installed!
Furthermore I have tried the same with Microsoft Server 2000 Advanced with the same 
result!

After uninstalling IIS then the PHP Script started to work!

I have programmed a simple registration form in Flash
and loaded the information with var=post and var=Get

the information was passed with no problem and saved in the databank

But reading the information back into Flash is NOT POSSIBLE!
I have done the same test with flash 5 too but with no success.

I have tried all the possibilities and unfortunatelly I have to a admit that php does 
not work or my knowledge is not enougth to understand what is going on.

I would be very glad to recieve some help or corrections from you.


Thank you

TH



---


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


-- 
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] PHP 4.0 Bug #5457 Updated: compiled ODBC dll

2001-01-20 Thread cynic

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

ODBC support has been built in for long time since then.

Previous Comments:
---

[2000-07-08 13:18:21] [EMAIL PROTECTED]
Hi,

I downloaded the win32 binaries for PHP4. Unfortunately there is no ODBC dll included. 
I guess I have to compile the sources by myself. 

But what shall I do, if I don't have any compilers installed?
On the other hand, I don't want to buy a MS Visual Studio for compiling a dll. 

In version 3 of PHP, there was the binary of the ODBC dll included in the zip package.

How or where do I get the ODBC dll for PHP4?

Helmut Tessarek

---


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


-- 
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]