[PHP-DEV] Bug #10429: Improving substr()
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.4pl1 PHP Bug Type: Feature/Change Request Bug description: Improving substr() I am currently using the following PHP Code to get a substring from a string, that is delimited by two given strings, $start and $end: function my_substr($start, $end, $string) { $start = preg_quote($start); $end = preg_quote($end); preg_match("#$start(.*?)$end#", $string, $result); return $result[1]; } It would be great if PHP's substr() function could handle operations like this, by changing its signature accordingly, maybe to string substr (string string, mixed start [, mixed end]) -- Edit Bug report at: http://bugs.php.net/?id=10429edit=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 #10430: require() does not work inside class bodies (ie. to pull in methods)
From: [EMAIL PROTECTED] Operating system: Window 98 PHP version: 4.0.4pl1 PHP Bug Type: *General Issues Bug description: require() does not work inside class bodies (ie. to pull in methods) In file class.php: ?php class myclass { require( $DOCUMENT_ROOT . "/methods.inc.php" ); } $myinstance = new myclass; $myinstance-method(); ? In file methods.inc.php: ?php function method() { print "hi"; } ? Accessing class.php returns the following error: Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in class.php on line 5 Surely this should work? -- Edit Bug report at: http://bugs.php.net/?id=10430edit=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 #10431: ini_alter eats the include_path
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.4pl1 PHP Bug Type: Unknown/Other Function Bug description: ini_alter eats the include_path The bug occurs when you use the ini_alter statement, on a few uses of this, the include path gets reset to gobbledygook and stays that way making it impossible to run the server (no includes work) only a "net stop iisadmin"/"net start w3svc" fixes this! The binary I am using is the one you guys compiled. -- Edit Bug report at: http://bugs.php.net/?id=10431edit=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 #10432: Functions as parameters default values
From: [EMAIL PROTECTED] Operating system: Windows 98 4.10 english PHP version: 4.0.4 PHP Bug Type: Feature/Change Request Bug description: Functions as parameters default values function foo(parameter1, parameter2=value, parameter3=any_php_function(), parameter4=an_user_function()) { statments } Example: function foo($anytime=FALSE) { if(!$anytime) $anytime=time(); statments } function foo($anytime=time()) { statments } -- Edit Bug report at: http://bugs.php.net/?id=10432edit=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 #10432 Updated: Functions as parameters default values
ID: 10432 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Feature/Change Request PHP Version: 4.0.4 Assigned To: Comments: Don't think this is neccesairy, as you can do this: function foo ($param1 = "time") { echo $param1(); } This will execute time(); and show the response. Derick Previous Comments: --- [2001-04-21 10:19:44] [EMAIL PROTECTED] function foo(parameter1, parameter2=value, parameter3=any_php_function(), parameter4=an_user_function()) { statments } Example: function foo($anytime=FALSE) { if(!$anytime) $anytime=time(); statments } function foo($anytime=time()) { statments } --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10432edit=2 -- 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 #10433: on your homepage, there's an error in translation
From: [EMAIL PROTECTED] Operating system: Win 2k Server PHP version: 4.0.4pl1 PHP Bug Type: Documentation problem Bug description: on your homepage, there's an error in translation there's a bug in the homepage I think it's the translated word for "example" coming up wrong . . . (paste) management, so the Apache user is allowed to delete files in the user home directories. Pøíklad 4-1. Poor variable checking leads to (end paste) it's in the bit about security issues . . .. cheers Dave -- Edit Bug report at: http://bugs.php.net/?id=10433edit=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]
Re: [PHP-DEV] request
On Sat, 21 Apr 2001, Chuck Hagenbuch wrote: This could result in really confusing and unpredictable behavior if "the first encountered definition" changed under any circumstances. I'd vote for making any name conflicts an error. You could have two classes both defining an innocent method toString(), for example, and with your suggestion, inheriting from those classes would cause a hard error? Why would "first encountered" definition change? -Andrei It is commonly the case with technologies that you can get the best insight about how they work by watching them fail. -- Neal Stephenson -- 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
PHP 3.0 Bug Database summary - http://bugs.php.net Num Status Summary (532 total including feature requests) ===[*General Issues]== 4180 Open is_link returns false when target doesnt exist (should return true) 9610 Bogus Dead link 9820 Open File upload with any input tag 10101 Bogus apache + mysqld + php3 == libphp3.so incorrect symbol... ===[*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 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 2823 Open undefined symbol: SQLParamData 2824 Open Inconsistent parameter list declaration for... 2903 Open fails to compile ifx.ec, report a syntax-error 3033 Open Fatal compile error on functions/ldap.c 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 3677 Open files not found 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 ===[Compile Warning]== 3151 Open php.exe compile warnings because of arpa/inet.h 6942 Open php sockets unusable with irix-OS ===[dBase related] 3091 Open dbase_replace_record miscounts number of fields 3429 Open Warning: Unable to open database... 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 Duplicate 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 ===[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 extension dll file 2250 Open nt-service problem 2414 Open php3_vmailmgr.so refuses to load 2862 Open LDAP in Win32 Bin dist is linked to MSVCRTD.DLL 3168 Open cannot start apache 1.3.9 if mysql is compiled in, but can RESTART successfully 3292 Open MySQL module causes DSO to fail. 3321 Open Apache Complaining about undefined symbol: dlst_first 3659 Open mod_php + apache w/mod_so hangs in sched_yield 3680 Open Apache won't start after install php3 3752 Open Apache configtest dumps core with DSO versioning 3781 Open Cannot load /libexec/libphp3.so 3861 Open php as a dyn. mod. configured with IBM db2 support prevents svr startup 9565 Open php3_ldap.dll is compiled as DEBUG ===[IMAP related]= 2816 Open Imap_open error when user_id length=3 char 2847 Open imap_search - dates don't work 3040 Duplicate imap_open 3236 Open Email message bodies show as mime type application/octet-stream/plain 3843 Open seg fault when recieving headers 6882 Open
Re: [PHP-DEV] request
Quoting Andrei Zmievski [EMAIL PROTECTED]: You could have two classes both defining an innocent method toString(), for example, and with your suggestion, inheriting from those classes would cause a hard error? Why would "first encountered" definition change? If anything that affected how classes were ordered changed, if the classes were renamed, if the class definitions changed... -chuck -- Charles Hagenbuch, [EMAIL PROTECTED] Taurus: You will receive an urgent transmission from the Martian government informing you that Mars does not, in fact, need women, so please stop sending them. -- 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] Error including big files.
Hello php-dev, $bash: perl -e "print '0' x 10241024;" data.txt test.php ?php indlude('data.txt'); ? Running script: $bash: telnet host 80 Trying xxx.x.x.xxx... Connected host Escape character is '^]'. GET /test.php HTTP/1.1 Host: host Connection closed by foreign host. Have same results with php-4.0.4pl1 and php-4.0.5RC7. error_log does not contain errors. Best regards, Andrew Sitnikov e-mail : [EMAIL PROTECTED] GSM: (+372) 56491109 -- 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] RE: [PHP-QA] Error including big files.
Andrew, I ran it with the CGI version of php I made, and with 4.0.4p1 it worked, and with the 4.0.5RC7. So, I tried with the apache module, again, mine worked. If you wanted a huge download, I'd post it on my website. Only thing thats below, I imagine is a typo is that you wrote "indlude" not "include". Is there any chance that data.txt is not viewable when running it as a module? Liz -- 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 3.0 Bug Summary Report
On Sat, Apr 21, 2001 at 04:00:01PM -, [EMAIL PROTECTED] wrote: PHP 3.0 Bug Database summary - http://bugs.php.net we're still missing the php4-one... (or did I miss an explanation for the lacking of the php4-one?) -fkr -- gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0 |http://www.hazardous.org/ | whois -h whois.ripe.de FKR-RIPE | |all your base are belong to us | shame on me | fkr@IRCnet | -- 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] RE: [PHP-QA] Error including big files.
Hello , I could determine a problem - memory_limit. It has suggested an idea to me, that not bad would be to see records in error_log about it. L I ran it with the CGI version of php I made, and with 4.0.4p1 it worked, and L with the 4.0.5RC7. L So, I tried with the apache module, again, mine worked. If you wanted a huge L download, I'd post it on my website. Only thing thats below, I imagine is a L typo is that you wrote "indlude" not "include". Is there any chance that L data.txt is not viewable when running it as a module? L Liz Best regards, Andrew Sitnikov e-mail : [EMAIL PROTECTED] GSM: (+372) 56491109 -- 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 #10434: Can not read memory
From: [EMAIL PROTECTED] Operating system: Windows 2000 Pro / IIS5 PHP version: 4.0.4pl1 PHP Bug Type: Reproduceable crash Bug description: Can not read memory Error message is generated saying "The instruction at "0x78003abf" referenced at "0x00bc8000". The memory could not be "read". Because it seems that the problem is memory leak I am providing a part of the php code where I am accumulating a large string width data (separated with "|") which I am going to pass later on javascript for further manipultion. The number of records passed by the SQL query is about 900. While developing the script, to avoid the error I raised the memory limit consumed by script (in php.ini) first to 16M, later 32Mb, now it is 64M. The strange thing for me is that after I raised to 16M, the error stopped, than sudenly apperred again; when I put it on 64M it stopped again, and now it comes back again without realy modifying this part of the script! // the code $sql = "select GROUPID, SUBGROUPID, MATERIALID, DESCRIPTIONEN, DESCRIPTIONBG, COSTPRICE from MATERIALS"; $h = ibase_query($sql); while($row = ibase_fetch_object($h)) { if ($lang_selected == "en") { $dsc = $row-DESCRIPTIONEN; if ($dsc == "") { $dsc = $row-DESCRIPTIONBG; } } else { $dsc = $row-DESCRIPTIONBG; if ($dsc == "") { $dsc = $row-DESCRIPTIONEN; } } $mats .= trim($row-SUBGROUPID)."|".trim($row-MATERIALID)."|".trim($dsc)."|".$row-COSTPRICE."|"; $qq++; } ibase_free_result($h); -- Edit Bug report at: http://bugs.php.net/?id=10434edit=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]
Re: [PHP-DEV] cvs: php4 / TODO-4.1.txt
On 18 Apr 2001, Stig Sther Bakken wrote: ["Sean R. Bright" [EMAIL PROTECTED]] To continue a tangent... I don't like the idea of having the PEAR fetching/installation mechanism written in PHP (already some base code in PEAR to do this). It seems to me that it forces the user to download/build PHP and then download and rebuild PHP with any extensions that don't come in the base distribution. Instead it should be a binary that can be compiled before PHP is built, can download and configure any extensions requested and then build the resulting PHP binary. We can also build in a dependency mechanism where for example, someone chooses to install a PEAR module (be it PHP or C) and the required extensions would be downloaded as well. Just my $0.02 I see your point, but personally I code 5 times faster in PHP than in C, and I want to get this done now, not next year. :-) When we're past the prototyping phase and stuff stabilizes, a C rewrite may be a good idea, but I don't think it is now. - Stig How about turning all extentions into loadable modules only? That way you compile the core PHP engine, run the PEAR scrips to select, download and compile additional modules. After that the config is updated to dynamically load the new modules at startup. This way one would only need to compile PHP once and still get to write the fetching/install mechanism in PHP. Or is it a must to be able to create a monolithic PHP binary with everything included? Regards, Fredrik -- Do fish get thirsty? Fredrik hrn Chalmers University of Technology [EMAIL PROTECTED] Sweden -- 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] request
[Andrei Zmievski [EMAIL PROTECTED]] On Sat, 21 Apr 2001, Chuck Hagenbuch wrote: This could result in really confusing and unpredictable behavior if "the first encountered definition" changed under any circumstances. I'd vote for making any name conflicts an error. You could have two classes both defining an innocent method toString(), for example, and with your suggestion, inheriting from those classes would cause a hard error? Why would "first encountered" definition change? Okay, what about this one: If two inherited classes define the same method, the inheriting class has to redefine it. This way the inheriting class can be explicit in how to combine or override the inherited methods. We'd need a way of referring to any inherited class's methods though. - Stig -- Stig Sther Bakken [EMAIL PROTECTED] Fast Search Transfer ASA, Trondheim, Norway -- 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 #10211 Updated: CURLOPT_HTTPHEADER does not work
ID: 10211 User Update by: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: cURL related Description: CURLOPT_HTTPHEADER does not work I have given up on this one, and will just use fsockopen instead ... or switch to Java :-) Sorry about the double posting. thanks again. Previous Comments: --- [2001-04-08 18:04:07] [EMAIL PROTECTED] I downloaded the 4.0.5RC1 binary from http://www.php4win.de/, but it doesn't work either. Although, it looks like the values for CURLOPT_HTTPHEADER and CURLOPT_HEADER are now correct. Then I went to http://snaps.php.net/ and grabbed the source 4.0.6 (I think it is), which compiled ok. Then I grabbed cURL from http://curl.haxx.se/, but I'm unable to get that to compile to a DLL (despite several attempts). Any suggestions would be appreciated. thanks for your quick response. chris --- [2001-04-08 18:03:08] [EMAIL PROTECTED] I downloaded the 4.0.5RC1 binary from http://www.php4win.de/, but it doesn't work either. Although, it looks like the values for CURLOPT_HTTPHEADER and CURLOPT_HEADER are now correct. Then I went to http://snaps.php.net/ and grabbed the source 4.0.6 (I think it is), which compiled ok. Then I grabbed cURL from http://curl.haxx.se/, but I'm unable to get that to compile to a DLL (despite several attempts). Any suggestions would be appreciated. thanks for your quick response. chris --- [2001-04-06 11:35:57] [EMAIL PROTECTED] Or as you have windows, try latest build from http://www.php4win.de/ --Jani --- [2001-04-06 11:35:26] [EMAIL PROTECTED] This should be fixed in CVS. Please try the latest snapshot from http://snaps.php.net/ --Jani --- [2001-04-06 11:31:14] [EMAIL PROTECTED] Also, noticed that CURLOPT_HTTPHEADER and CURLOPT_HEADER have the same value. Using curl -H "UID: spud" http://... works properly. Except for CURLOPT_HTTPHEADER and chopping off 2 bytes at the end of a CURLOPT_RETURNTRANSFER ... everything works great. Here's my script: ?php $url = "http://localhost/perl-bin/mod_perl_test.pl"; $user_agent = "VanillaZilla/2001"; $ch = curl_init(); curl_setopt ($ch, CURLOPT_HTTPHEADER, "UID: spud"); curl_setopt ($ch, 23, "UID: spud"); echo "after CURLOPT_HTTPHEADER(".CURLOPT_HTTPHEADER." CURLOPT_HEADER=".CURLOPT_HEADER."):br"; echo "curl_errno=". curl_errno($ch) ."br"; echo "curl_error=". curl_error($ch) ."br"; curl_setopt ($ch, CURLOPT_VERBOSE, 1); curl_setopt ($ch, CURLOPT_URL, $url); curl_setopt ($ch, CURLOPT_HEADER, 1); curl_setopt ($ch, CURLOPT_USERAGENT, $user_agent); curl_setopt ($ch, CURLOPT_COOKIE, "spud=tater;tater=spud"); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch, CURLOPT_POST, 1); curl_setopt ($ch, CURLOPT_POSTFIELDS, "pass=spuddata=stuffcase=en"); $result = curl_exec ($ch); echo "after curl_exec:br"; echo "curl_errno=". curl_errno($ch) ."br"; echo "curl_error=". curl_error($ch) ."br"; curl_close ($ch); print "hrpre"; echo $result . "br"; print "/pre"; ? thanks. chris [EMAIL PROTECTED] --- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=10211 -- 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: php4 / TODO-4.1.txt
[Fredrik Ohrn [EMAIL PROTECTED]] How about turning all extentions into loadable modules only? That way you compile the core PHP engine, run the PEAR scrips to select, download and compile additional modules. After that the config is updated to dynamically load the new modules at startup. This way one would only need to compile PHP once and still get to write the fetching/install mechanism in PHP. Or is it a must to be able to create a monolithic PHP binary with everything included? For some people I'm sure it is. There's plenty of reasons for this, such as being able to distribute a statically built Apache, optimization, or easier debugging. - Stig -- Stig Sther Bakken [EMAIL PROTECTED] Fast Search Transfer ASA, Trondheim, Norway -- 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: php4 / TODO-4.1.txt
On Sat, 21 Apr 2001, Fredrik Ohrn wrote: How about turning all extentions into loadable modules only? Not a good idea I think. I always build everything static, to aid in debugging and easier distribution. Therefore I'd like that the .tar.gz file I download has all extensions in it. Running ./buildconf myself first is no problem, so this tool for selection can't be that hard to make I guess. Maybe I'll play with it a little tomorrow. Or is it a must to be able to create a monolithic PHP binary with everything included? It is for me. Derick Rethans - PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED] SRM: Site Resource Manager - www.vl-srm.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] Bug #10435: The sendmail-function produces an unknown error
From: [EMAIL PROTECTED] Operating system: Windows ME PHP version: 4.0.4pl1 PHP Bug Type: Mail related Bug description: The sendmail-function produces an unknown error The error occured with any version of php 4 since version 4.0.2 downloaded from http://php.net. I also testet the php-binaries from http://www.php4win.de The error-message is: Warning: Unknown error in c:/test.php on line 2 -- Edit Bug report at: http://bugs.php.net/?id=10435edit=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]