#21993 [NEW]: Frameset/PHP conflict
From: [EMAIL PROTECTED] Operating system: Windows NT 5.1 (IIS 5.1) PHP version: 4.3.0 PHP Bug Type: Unknown/Other Function Bug description: Frameset/PHP conflict This is an error that was not present in version 4.2.3. Somehow, framesets aren't working very well with the new version, 4.3.0. Here is the frameset: html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head frameset rows=56,* frameborder=NO border=0 framespacing=0 frame src=top.php name=topFrame scrolling=NO noresize frame src=main.php name=mainFrame /frameset noframesbody /body/noframes /html the file 'top.php' actually does not have any PHP code in it yet, but retained the '.php' extension for future expansion (this was the bare layout for a new website). Before, all of these files were XHTML-compliant, with a PHP echo generating the ?xml version=1.0...? The interesting thing about this is that when I first load the page, it will tell me The page cannot be displayed. If I refresh the page, the frameset is gone, and it gives me The directory name is invalid.. However, if I load one of the pages (either top.php or main.php) by bypassing the frameset and then go back using the frameset, that page will load. Additionally, sometimes when I hit the back button it will load one of the pages, but if I try to go forward or back to the page, I get a 500 internal server error. I am using IIS 5.1 included with NT 5.1 (Windows XP Professional) with the CGI version of 4.3.0. Pages were generated with Dreamweaver and edited with Notepad. Some additional thoughts: This could be a server configuration problem, but I think it is highly unlikely due to 4.2.3 working with the same type of page (two earlier prototypes pioneered this method; both worked fine [but are still unfinished]). Note: I believe this is different from the other bug reports due to the fact that there is no PHP code in these pages whatsoever, and I have checked the php.ini file. It works fine when given a .htm or .html extension, but does not when it uses .php. If I am incorrect in stating that this is a unique bug, please feel free to correct me. Oh yes. Happy Chinese New Year! =P -- Edit bug report at http://bugs.php.net/?id=21993edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21993r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21993r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21993r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21993r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21993r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=21993r=support Expected behavior: http://bugs.php.net/fix.php?id=21993r=notwrong Not enough info:http://bugs.php.net/fix.php?id=21993r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=21993r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21993r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21993r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21993r=dst IIS Stability: http://bugs.php.net/fix.php?id=21993r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=21993r=gnused
#21964 [Opn]: Uploads of a file with size 0 bytes succeed.
ID: 21964 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open -Bug Type: Documentation problem +Bug Type: Filesystem function related -Operating System: Solaris 8 +Operating System: ANY -PHP Version: 4.2.2 +PHP Version: ANY New Comment: Actually it looks more than a documentation problem: For now there is not any define(name) for the new error code. Plus it looks it's under a #ifdef that can't happen because of : #undef DEBUG_FILE_UPLOAD in line 39 of main/rfc1867.c. There is the code: #ifdef DEBUG_FILE_UPLOAD if(strlen(filename) 0 total_bytes == 0) { sapi_module.sapi_error(E_WARNING, Uploaded file size 0 - file [%s=%s] not saved, param, filename); cancel_upload = 5; } #endif You can note that usually #ifdef DEBUG_FILE_UPLOAD is used only to hide the sapi_module.sapi_error() function not the whole code. eg: if(strlen(filename) == 0) { #ifdef DEBUG_FILE_UPLOAD sapi_module.sapi_error(E_NOTICE, No file uploaded); #endif cancel_upload = UPLOAD_ERROR_D; } There is also an another point, why a file with 0 byte has to be cancelled? Has it been discussed? According to melvyn: why would php stop me to upload a file of 0 bytes? Take a 'web-ftp' for like a sitebuilder kinda app it would just upload these and create a 0 byte file, which is what I expect it to do for instance: config.php in phpBB2 is 0 bytes outof the box. it needs that to be, for install to work. So now there are some questions, does the code 5 ever happen? If yes is it expected that it stops the upload and why do not give it a real name so we can finally document it. Previous Comments: [2003-01-30 11:43:59] [EMAIL PROTECTED] I believe this was fixed in 4.2.3 and later. [2003-01-30 10:47:31] [EMAIL PROTECTED] I have seen in various places, postings that an uploaded file with size of 0 bytes should now fail. In version 4.2.2 on Solaris 8 it succeeds. Please make clear in the documentation exactly when/in which version of PHP this was changed to throw an error code 5. -- Edit this bug report at http://bugs.php.net/?id=21964edit=1
#21930 [Com]: TO NAME not work
ID: 21930 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Mail related Operating System: Windows 2000 Proffiessional PHP Version: 4.3.0 New Comment: I do not understand your Q Previous Comments: [2003-01-29 06:49:44] [EMAIL PROTECTED] So does it work when it's send as part of the headers? [2003-01-29 06:31:51] [EMAIL PROTECTED] I take details from : http://www.php.net/manual/en/function.mail.php because it happen with me also the smtp server with iis5 does not support a TO NAME, you can send it to an email but not along with a name. to say $to = Miki [EMAIL PROTECTED]; would not be accepted and you will get an error 501 Invalid address. if you see this error, just try NOT sending emails with a TO name, only the email should be entered That is given to me.. SMTP server response: 550 5.1.1 ... User unknown in C:\Projects\fnoon\functions.php on 138 I want to comment that I USE the ISP SMTP , not IIS SMTP and also not work.. Now I think I understand what the problem .. THAT BECAUSE I USE ARABIC EMAIL FORMAT .. SORRY FOR MAKE NOISE AND VERY THMKS TO YOU SNIPER :P [2003-01-29 06:31:41] [EMAIL PROTECTED] I take details from : http://www.php.net/manual/en/function.mail.php because it happen with me also the smtp server with iis5 does not support a TO NAME, you can send it to an email but not along with a name. to say $to = Miki [EMAIL PROTECTED]; would not be accepted and you will get an error 501 Invalid address. if you see this error, just try NOT sending emails with a TO name, only the email should be entered That is given to me.. SMTP server response: 550 5.1.1 ... User unknown in C:\Projects\fnoon\functions.php on 138 I want to comment that I USE the ISP SMTP , not IIS SMTP and also not work.. Now I think I understand what the problem .. THAT BECAUSE I USE ARABIC EMAIL FORMAT .. SORRY FOR MAKE NOISE AND VERY THMKS TO YOU SNIPER :P [2003-01-29 06:06:56] [EMAIL PROTECTED] PLEASE don't use the 'Add comment' link!!! It's your own report, use the 'Edit submission' ALWAYS. Anyway, this works fine for me: mail('someone somehwere [EMAIL PROTECTED]', 'subject', 'message'); [2003-01-29 01:57:43] [EMAIL PROTECTED] ? function SendHtmlMsg($To,$From,$Sendername,$Receivername,$subject,$msg){ mail($To, $subject, $msg, To: $Receivername $To\n . From: $Sendername $From\n . X-Mailer: PHP 4.3\n. MIME-Version: 1.0\n . Content-type: text/html; charset=-1256); } $From=[EMAIL PROTECTED]; $Sendername = Person; $To = [EMAIL PROTECTED]; $Receivername = Test Person; $subject =Test; $msg = Testbr/Test; SendHtmlMsg($To,$From,$Sendername,$Receivername,$subject,$msg); ? The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21930 -- Edit this bug report at http://bugs.php.net/?id=21930edit=1
#14954 [Com]: Warning: Server Error with mail() function
ID: 14954 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: No Feedback Bug Type: Mail related Operating System: Windows 2000 PHP Version: 4.1.0 New Comment: I encountered the same problem on local windows server. I solved it by correcting my php mail() script : be sure of your syntax. Previous Comments: [2002-10-23 13:20:39] [EMAIL PROTECTED] Make sure that you have set the sendmail_from variable in php.ini to a user which is allowed to send mail in the SMTP server. [2002-07-23 19:46:28] [EMAIL PROTECTED] I'm on an SMTP system where in order to send out email, there must either be a recipient on that SMTP server, or you must authenticate your username and password to the server in order to use it. The line mail([EMAIL PROTECTED], the know,I suck); works, but the line mail([EMAIL PROTECTED], the down,I suck); kicked back the error: Warning: Server Error in C:\Apache2\htdocs\foobar.php on line xxx My php.ini: [mail function] ; For Win32 only. SMTP=mail.avc.edu ; For Win32 only. [EMAIL PROTECTED] ; For Unix only. You may supply arguments as well (default: 'sendmail -t -i'). ;sendmail_path= I wrote a program to intercept the messages being sent to and from my SMTP server. The php engine was denied because I wasn't authenticated as a email user to the server. As long as someone @avc.edu is in the recipient line, the server works. Only when there is no one in avc.edu and i don't authenticate, I get the boot. Hope this helps, Mike Wilmes [2002-07-03 01:00:08] [EMAIL PROTECTED] No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to Open. [2002-06-02 13:51:03] [EMAIL PROTECTED] Error handlig has been improvied, please try a snapshot from http://snaps.php.net/win32/php4-win32-latest.zip [2002-06-02 06:20:51] [EMAIL PROTECTED] Ah-Ha. Edit the php.ini file in %WINDIR SMTP = mail.xxx.com:25 (add the :25) The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14954 -- Edit this bug report at http://bugs.php.net/?id=14954edit=1
#21896 [Bgs]: Compile warning for Mysql
ID: 21896 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Compile Failure Operating System: RH linux 7.2 PHP Version: 4.3.0 New Comment: Dear It was not BOGUS dont you get that PHP has some issues while compiling with GCC 2.96 2731 or vis-versa. Previous Comments: [2003-01-27 09:11:28] [EMAIL PROTECTED] As it wasn't any bug in PHP - bogus. (the warning can be ignored since tempnam() is not used 'dangerously' there) [2003-01-27 06:50:43] [EMAIL PROTECTED] Thanks [EMAIL PROTECTED] you were right the culprit in our case was GCC version 2.96 2731 , What i did 1. removed said version and installed GCC 3.0.2 20010905 2. Made a symbolic link to gcc3 as gcc 3. Did used my old confgiurtion script for php (ofcource after /make clean ;rm -rf config.cache; ) 4. Rest all went fine just the error which you said could be ingnored Still persist --Start /hdc6/apache/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp' ---End Will you please explain me why this erorr . Now my all apps are running fine and with God speed.The phpinfo is fine. Thanks for the valuable input [2003-01-27 02:49:00] [EMAIL PROTECTED] Do the same again, but use './configure' instead. [2003-01-27 02:34:04] [EMAIL PROTECTED] So you say it didn't work for 2 first times, but the 3rd one worked? That would really mean there are some problems in your system rather than anything wrong with PHP.. [2003-01-27 02:32:42] [EMAIL PROTECTED] with configuration the output is # make clean # rm config.cache # ./configure --disable-all --disable-cgi # make ---Start o Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/ zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/ zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort. lo Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/geto pt.lo main/internal_functions_cli.lo -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -o sapi/cli/php End This completes but what about support'S The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21896 -- Edit this bug report at http://bugs.php.net/?id=21896edit=1
#21995 [NEW]: Lacks support for CURLOPT_ENCODING - working patch included!!
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.3.0 PHP Bug Type: cURL related Bug description: Lacks support for CURLOPT_ENCODING - working patch included!! PHP does not recognize the cURL option CURLOPT_ENCODING which can be used to request deflate compression. The following patch upgrades a 4.3.0 ext/curl/curl.c to support it: 194d193 REGISTER_CURL_CONSTANT(CURLOPT_ENCODING); 741,742c740 case CURLOPT_SSLENGINE_DEFAULT: case CURLOPT_ENCODING: { --- case CURLOPT_SSLENGINE_DEFAULT: { CURLOPT_ENCODING accepts a string parameter. -- Edit bug report at http://bugs.php.net/?id=21995edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21995r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21995r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21995r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21995r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21995r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=21995r=support Expected behavior: http://bugs.php.net/fix.php?id=21995r=notwrong Not enough info:http://bugs.php.net/fix.php?id=21995r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=21995r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21995r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21995r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21995r=dst IIS Stability: http://bugs.php.net/fix.php?id=21995r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=21995r=gnused
#21996 [NEW]: apache 1.3.27 crashes with most php-scripts
From: [EMAIL PROTECTED] Operating system: Windows XP SP1 PHP version: 5CVS-2003-02-01 (dev) PHP Bug Type: Apache related Bug description: apache 1.3.27 crashes with most php-scripts Most of the avaible PHP scripts crashes with php5 and apache 1.3.27 (phpmyadmin for example) The debugger points to this line: 100EA3E5 mov edi,dword ptr [esi+8] I hope I could help you, TimeFX -- Edit bug report at http://bugs.php.net/?id=21996edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21996r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21996r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21996r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21996r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21996r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=21996r=support Expected behavior: http://bugs.php.net/fix.php?id=21996r=notwrong Not enough info:http://bugs.php.net/fix.php?id=21996r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=21996r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21996r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21996r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21996r=dst IIS Stability: http://bugs.php.net/fix.php?id=21996r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=21996r=gnused
#21987 [Bgs-Opn]: segfault
ID: 21987 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Bogus +Status: Open Bug Type: Apache related Operating System: Openbsd 3.2 PHP Version: 4.3.0 New Comment: this behavior only occurs when compiling: --with-openssl unless you propose the bug is w/ openbsd's openssl, however be advised my mod_ssl is compiled with it and it suffers no issues. -quel Previous Comments: [2003-01-31 16:29:43] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Given the provided information there is nothing to indicate that it is PHP who is responsible for the broken configuration. If you want you could try compiling PHP with --enable-debug, which may make the backtrace more meaningful if it is indeed PHP who is responsible for the problem. [2003-01-31 13:39:00] [EMAIL PROTECTED] after compiling the new php 4.3.0 using (leaving my old apache alone) ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql --with-openssl --with-gettext --with-xml --with-imap --with-imap-ssl --with-mcrypt --with-zlib then restart time: [root@amanda /home/quel/php-4.3.0] /usr/local/apache/bin/apachectl restart /usr/local/apache/bin/apachectl restart: configuration broken, ignoring restart /usr/local/apache/bin/apachectl restart: (run 'apachectl configtest' for details) [root@amanda /home/quel/php-4.3.0] /usr/local/apache/bin/apachectl configtest Memory fault (core dumped) [root@amanda /home/quel/php-4.3.0] gdb /usr/local/apache/bin/httpd httpd.core #0 0x4019e33a in strcmp () (gdb) bt #0 0x4019e33a in strcmp () #1 0xb380e in obj_name_cmp () bt seems useless and incomplete to me... I once had this problem when getting php 4.2.3 up, however bt showed issues in libc and the problem was related to the --with-kerberos option (which i didn't use this time around) [EMAIL PROTECTED] -- Edit this bug report at http://bugs.php.net/?id=21987edit=1
#21996 [Opn-Fbk]: apache 1.3.27 crashes with most php-scripts
ID: 21996 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Apache related Operating System: Windows XP SP1 PHP Version: 5CVS-2003-02-01 (dev) New Comment: Please read this: http://bugs.php.net/bugs-generating-backtrace.php And submit a backtrace (you need to compile PHP with --enable-debug ) And a short reproduce script too. Previous Comments: [2003-02-01 09:35:07] [EMAIL PROTECTED] Most of the avaible PHP scripts crashes with php5 and apache 1.3.27 (phpmyadmin for example) The debugger points to this line: 100EA3E5 mov edi,dword ptr [esi+8] I hope I could help you, TimeFX -- Edit this bug report at http://bugs.php.net/?id=21996edit=1
#21930 [Fbk]: TO NAME not work
ID: 21930 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Mail related Operating System: Windows 2000 Proffiessional PHP Version: 4.3.0 New Comment: Does this work: ?php mail('', 'subject', 'message', To: \Some Name\ [EMAIL PROTECTED]); ? Previous Comments: [2003-02-01 05:12:58] [EMAIL PROTECTED] I do not understand your Q [2003-01-29 06:49:44] [EMAIL PROTECTED] So does it work when it's send as part of the headers? [2003-01-29 06:31:51] [EMAIL PROTECTED] I take details from : http://www.php.net/manual/en/function.mail.php because it happen with me also the smtp server with iis5 does not support a TO NAME, you can send it to an email but not along with a name. to say $to = Miki [EMAIL PROTECTED]; would not be accepted and you will get an error 501 Invalid address. if you see this error, just try NOT sending emails with a TO name, only the email should be entered That is given to me.. SMTP server response: 550 5.1.1 ... User unknown in C:\Projects\fnoon\functions.php on 138 I want to comment that I USE the ISP SMTP , not IIS SMTP and also not work.. Now I think I understand what the problem .. THAT BECAUSE I USE ARABIC EMAIL FORMAT .. SORRY FOR MAKE NOISE AND VERY THMKS TO YOU SNIPER :P [2003-01-29 06:31:41] [EMAIL PROTECTED] I take details from : http://www.php.net/manual/en/function.mail.php because it happen with me also the smtp server with iis5 does not support a TO NAME, you can send it to an email but not along with a name. to say $to = Miki [EMAIL PROTECTED]; would not be accepted and you will get an error 501 Invalid address. if you see this error, just try NOT sending emails with a TO name, only the email should be entered That is given to me.. SMTP server response: 550 5.1.1 ... User unknown in C:\Projects\fnoon\functions.php on 138 I want to comment that I USE the ISP SMTP , not IIS SMTP and also not work.. Now I think I understand what the problem .. THAT BECAUSE I USE ARABIC EMAIL FORMAT .. SORRY FOR MAKE NOISE AND VERY THMKS TO YOU SNIPER :P [2003-01-29 06:06:56] [EMAIL PROTECTED] PLEASE don't use the 'Add comment' link!!! It's your own report, use the 'Edit submission' ALWAYS. Anyway, this works fine for me: mail('someone somehwere [EMAIL PROTECTED]', 'subject', 'message'); The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21930 -- Edit this bug report at http://bugs.php.net/?id=21930edit=1
#21993 [Opn-Fbk]: Frameset/PHP conflict
ID: 21993 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Unknown/Other Function Operating System: Windows NT 5.1 (IIS 5.1) PHP Version: 4.3.0 New Comment: Does it work on another server ? Apache, or does it work with isapi ? What is the content of the files ? Previous Comments: [2003-02-01 02:00:50] [EMAIL PROTECTED] This is an error that was not present in version 4.2.3. Somehow, framesets aren't working very well with the new version, 4.3.0. Here is the frameset: html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head frameset rows=56,* frameborder=NO border=0 framespacing=0 frame src=top.php name=topFrame scrolling=NO noresize frame src=main.php name=mainFrame /frameset noframesbody /body/noframes /html the file 'top.php' actually does not have any PHP code in it yet, but retained the '.php' extension for future expansion (this was the bare layout for a new website). Before, all of these files were XHTML-compliant, with a PHP echo generating the ?xml version=1.0...? The interesting thing about this is that when I first load the page, it will tell me The page cannot be displayed. If I refresh the page, the frameset is gone, and it gives me The directory name is invalid.. However, if I load one of the pages (either top.php or main.php) by bypassing the frameset and then go back using the frameset, that page will load. Additionally, sometimes when I hit the back button it will load one of the pages, but if I try to go forward or back to the page, I get a 500 internal server error. I am using IIS 5.1 included with NT 5.1 (Windows XP Professional) with the CGI version of 4.3.0. Pages were generated with Dreamweaver and edited with Notepad. Some additional thoughts: This could be a server configuration problem, but I think it is highly unlikely due to 4.2.3 working with the same type of page (two earlier prototypes pioneered this method; both worked fine [but are still unfinished]). Note: I believe this is different from the other bug reports due to the fact that there is no PHP code in these pages whatsoever, and I have checked the php.ini file. It works fine when given a .htm or .html extension, but does not when it uses .php. If I am incorrect in stating that this is a unique bug, please feel free to correct me. Oh yes. Happy Chinese New Year! =P -- Edit this bug report at http://bugs.php.net/?id=21993edit=1
#21998 [NEW]: array_pop() moves current element pointer since 4.3.0
From: [EMAIL PROTECTED] Operating system: all PHP version: 4.3.0 PHP Bug Type: Scripting Engine problem Bug description: array_pop() moves current element pointer since 4.3.0 ? $a = array(a, b, c); each($a); array_pop($a); var_dump(each($a)); ? This prints bool(false) in 4.3.0 (current element pointer points somewhere out of the array) and var_dump($a[0]) in 4.2.3 (array is reset after array_pop). I had to add many additional reset()'s after installing 4.3.0. How array_pop() (and may be others) affects current element pointer is not documented, so this behavior is not a bug. The only purpose of writing all this is that I want to know how array_pop() will work in future PHP releases. -- Edit bug report at http://bugs.php.net/?id=21998edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21998r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21998r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21998r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21998r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21998r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=21998r=support Expected behavior: http://bugs.php.net/fix.php?id=21998r=notwrong Not enough info:http://bugs.php.net/fix.php?id=21998r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=21998r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21998r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21998r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21998r=dst IIS Stability: http://bugs.php.net/fix.php?id=21998r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=21998r=gnused
#21993 [Fbk]: Frameset/PHP conflict
ID: 21993 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Unknown/Other Function Operating System: Windows NT 5.1 (IIS 5.1) PHP Version: 4.3.0 New Comment: Are they really encoded in ISO-8859-1? Or 'saved as unicode'? I don't see how framesets could make a difference, unless you have severe resource problems. So - it's important to get to the root of the problem: is this encoding (mbstring/streams/??) or CGI related. Previous Comments: [2003-02-01 11:29:09] [EMAIL PROTECTED] Does it work on another server ? Apache, or does it work with isapi ? What is the content of the files ? [2003-02-01 02:00:50] [EMAIL PROTECTED] This is an error that was not present in version 4.2.3. Somehow, framesets aren't working very well with the new version, 4.3.0. Here is the frameset: html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head frameset rows=56,* frameborder=NO border=0 framespacing=0 frame src=top.php name=topFrame scrolling=NO noresize frame src=main.php name=mainFrame /frameset noframesbody /body/noframes /html the file 'top.php' actually does not have any PHP code in it yet, but retained the '.php' extension for future expansion (this was the bare layout for a new website). Before, all of these files were XHTML-compliant, with a PHP echo generating the ?xml version=1.0...? The interesting thing about this is that when I first load the page, it will tell me The page cannot be displayed. If I refresh the page, the frameset is gone, and it gives me The directory name is invalid.. However, if I load one of the pages (either top.php or main.php) by bypassing the frameset and then go back using the frameset, that page will load. Additionally, sometimes when I hit the back button it will load one of the pages, but if I try to go forward or back to the page, I get a 500 internal server error. I am using IIS 5.1 included with NT 5.1 (Windows XP Professional) with the CGI version of 4.3.0. Pages were generated with Dreamweaver and edited with Notepad. Some additional thoughts: This could be a server configuration problem, but I think it is highly unlikely due to 4.2.3 working with the same type of page (two earlier prototypes pioneered this method; both worked fine [but are still unfinished]). Note: I believe this is different from the other bug reports due to the fact that there is no PHP code in these pages whatsoever, and I have checked the php.ini file. It works fine when given a .htm or .html extension, but does not when it uses .php. If I am incorrect in stating that this is a unique bug, please feel free to correct me. Oh yes. Happy Chinese New Year! =P -- Edit this bug report at http://bugs.php.net/?id=21993edit=1
#21356 [Com]: LOAD DATA issue
ID: 21356 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: MySQL related Operating System: Slackware PHP Version: 4.3.0 New Comment: This bug is found and test with W2K and NT4.0 PhP 4.3.0 Try with Mysql 3.23.53 - 3.23.54 - 3.23.55 Was not present PhP version before ( 4.2.4-dev snapshot from the 24 October 2002 Why this bug ??? Is there a lack in Quality Test... found this in the news.txt disto - Fixed a security bug in the bundled MySQL library. (Georg, Stefan) question why 3.23.49 client version as Mysql released very more up to date lib at the build 4.3. date. Could this be corrected in the snapshot-stable version. Thank ... have lost to much time today with this. Previous Comments: [2003-01-29 14:59:16] [EMAIL PROTECTED] BASE microarray software requires this function. On gentoo I had to build mysql first after adding the flag, then rebuild php to get the functionality included. [2003-01-02 17:53:01] [EMAIL PROTECTED] Didn't try that specifically, but the problem does not exist if I use mysql from the command line. I 'solved' this for my immediate situation by removing the 'if' around the infile check in ext/mysql/libmysql/libmysql.c Here (line 1025?): /* Only enable LOAD DATA INFILE by default if configured with --with-enabled-local-inflile */ #ifdef ENABLED_LOCAL_INFILE mysql-options.client_flag|= CLIENT_LOCAL_FILES; #endif return mysql; is now: /* Only enable LOAD DATA INFILE by default if configured with --with-enabled-local-inflile */ mysql-options.client_flag|= CLIENT_LOCAL_FILES; return mysql; recompiled everything and it works. I'd tried to recompile PHP with '--with-enabled-local-inflile' (and the properly spelled '--with-enabled-local-infile') and neither worked. The only thing that worked was removing the IF stuff in the .c file. [2003-01-02 17:26:10] [EMAIL PROTECTED] Does the problem go away if you tell PHP to use your MySQL's headers rather then the ones bundled with PHP? [2003-01-02 16:46:14] [EMAIL PROTECTED] PHP 4.2.1 and MySQL system set up allowed users using the phpMyAdmin system to use the LOAD DATA INFILE functionality. ONLY thing changed was upgrading to PHP 4.3, and now that functionality produces the error 'The used command is not allowed with this MySQL version'. Seeing as how no other software changed, this seems to point to the bundled PHP MySQL client (which we're using) to not enabling the '--enable-local-infile' flag. === From the MySQL manual: By default, all MySQL clients and libraries are compiled with --enable-local-infile, to be compatible with MySQL 3.23.48 and before. One can disable all LOAD DATA LOCAL commands in the MySQL server by starting mysqld with --local-infile=0. In the case that LOAD DATA LOCAL INFILE is disabled in the server or the client, you will get the error message (1148): The used command is not allowed with this MySQL version Since we're using the --local-infile=1 to start the MySQL daemon, that points to the PHP 4.3 bundled client library being the culprit. -- Edit this bug report at http://bugs.php.net/?id=21356edit=1
#22000 [NEW]: Load data infile not working
From: [EMAIL PROTECTED] Operating system: Win32 PHP version: 4.3.0 PHP Bug Type: MySQL related Bug description: Load data infile not working The load local data file doesn't work with php 4.3.0 This bug is found and test with W2K and NT4.0 PhP 4.3.0 Try with Mysql 3.23.53 - 3.23.54 - 3.23.55 Same description of trouble than bug 21356 This bug was not present PhP version before ( 4.2.4-dev snapshot from the 24 October 2002 Why this bug ??? Is there a lack in Quality Test... found this in the news.txt distrib - Fixed a security bug in the bundled MySQL library. (Georg, Stefan) question why 3.23.49 client version as Mysql released very more up to date lib at the build 4.3. date. Could this be corrected in the snapshot-stable version. Thank ... have lost to much time today with this. -- Edit bug report at http://bugs.php.net/?id=22000edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22000r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22000r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22000r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22000r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22000r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=22000r=support Expected behavior: http://bugs.php.net/fix.php?id=22000r=notwrong Not enough info:http://bugs.php.net/fix.php?id=22000r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=22000r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22000r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22000r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22000r=dst IIS Stability: http://bugs.php.net/fix.php?id=22000r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=22000r=gnused
#22000 [Opn-Bgs]: Load data infile not working
ID: 22000 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: Win32 PHP Version: 4.3.0 New Comment: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the existing bug instead. Thank you for your interest in PHP. You did already send this comment to bud id: #212356 Previous Comments: [2003-02-01 14:36:23] [EMAIL PROTECTED] The load local data file doesn't work with php 4.3.0 This bug is found and test with W2K and NT4.0 PhP 4.3.0 Try with Mysql 3.23.53 - 3.23.54 - 3.23.55 Same description of trouble than bug 21356 This bug was not present PhP version before ( 4.2.4-dev snapshot from the 24 October 2002 Why this bug ??? Is there a lack in Quality Test... found this in the news.txt distrib - Fixed a security bug in the bundled MySQL library. (Georg, Stefan) question why 3.23.49 client version as Mysql released very more up to date lib at the build 4.3. date. Could this be corrected in the snapshot-stable version. Thank ... have lost to much time today with this. -- Edit this bug report at http://bugs.php.net/?id=22000edit=1
#21998 [Opn-Ana]: array_pop() moves current element pointer since 4.3.0
ID: 21998 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Analyzed -Bug Type: Scripting Engine problem +Bug Type: Arrays related Operating System: all PHP Version: 4.3.0 -Assigned To: +Assigned To: sniper New Comment: Array related. One of these commits broke it. revision 1.180 date: 2002/08/01 17:34:31; author: rodif_bl; state: Exp; lines: +12 -15 array_pop wasnt setting next index revision 1.179 date: 2002/08/01 16:44:47; author: sniper; state: Exp; lines: +1 -4 That was not correct.. revision 1.178 date: 2002/08/01 16:39:52; author: sniper; state: Exp; lines: +5 -2 Reset index when doing array_pop() Previous Comments: [2003-02-01 13:42:12] [EMAIL PROTECTED] ? $a = array(a, b, c); each($a); array_pop($a); var_dump(each($a)); ? This prints bool(false) in 4.3.0 (current element pointer points somewhere out of the array) and var_dump($a[0]) in 4.2.3 (array is reset after array_pop). I had to add many additional reset()'s after installing 4.3.0. How array_pop() (and may be others) affects current element pointer is not documented, so this behavior is not a bug. The only purpose of writing all this is that I want to know how array_pop() will work in future PHP releases. -- Edit this bug report at http://bugs.php.net/?id=21998edit=1
#22002 [NEW]: empty mask with regulary expression
From: [EMAIL PROTECTED] Operating system: winXP PHP version: 4.3.0 PHP Bug Type: Reproducible crash Bug description: empty mask with regulary expression if you repeat at least 20-30 time the ereg function with an empty mask php.exe doesn't bug and stay in the task manager. Some time the web page doesn't appear or just a part. Example of an 'reproductible bug' code for($i=0;$i100;$i++) { ereg(,aa); } BUT if you put @ in front of ereg the bug doesn't appear. hope this bug report will be usefull. Thanks -- Edit bug report at http://bugs.php.net/?id=22002edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22002r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22002r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22002r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22002r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22002r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=22002r=support Expected behavior: http://bugs.php.net/fix.php?id=22002r=notwrong Not enough info:http://bugs.php.net/fix.php?id=22002r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=22002r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22002r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22002r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22002r=dst IIS Stability: http://bugs.php.net/fix.php?id=22002r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=22002r=gnused
#22002 [Opn]: empty mask with regulary expression
ID: 22002 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Reproducible crash Operating System: winXP PHP Version: 4.3.0 New Comment: if you repeat at least 20-30 time the ereg function with an empty mask php.exe bug and stay in the task manager. Some time the web page doesn't appear or just a part. Example of an 'reproductible bug' code for($i=0;$i100;$i++) { ereg(,aa); } BUT if you put @ in front of ereg the bug doesn't appear. hope this bug report will be usefull. Thanks Previous Comments: [2003-02-01 16:22:42] [EMAIL PROTECTED] if you repeat at least 20-30 time the ereg function with an empty mask php.exe doesn't bug and stay in the task manager. Some time the web page doesn't appear or just a part. Example of an 'reproductible bug' code for($i=0;$i100;$i++) { ereg(,aa); } BUT if you put @ in front of ereg the bug doesn't appear. hope this bug report will be usefull. Thanks -- Edit this bug report at http://bugs.php.net/?id=22002edit=1
#22002 [Opn]: empty mask with regulary expression
ID: 22002 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Reproducible crash Operating System: winXP PHP Version: 4.3.0 New Comment: Can't reproduce it with FreeBSD/Linux and PHP4.3.0/PHP5.0.0 Previous Comments: [2003-02-01 16:29:28] [EMAIL PROTECTED] if you repeat at least 20-30 time the ereg function with an empty mask php.exe bug and stay in the task manager. Some time the web page doesn't appear or just a part. Example of an 'reproductible bug' code for($i=0;$i100;$i++) { ereg(,aa); } BUT if you put @ in front of ereg the bug doesn't appear. hope this bug report will be usefull. Thanks [2003-02-01 16:22:42] [EMAIL PROTECTED] if you repeat at least 20-30 time the ereg function with an empty mask php.exe doesn't bug and stay in the task manager. Some time the web page doesn't appear or just a part. Example of an 'reproductible bug' code for($i=0;$i100;$i++) { ereg(,aa); } BUT if you put @ in front of ereg the bug doesn't appear. hope this bug report will be usefull. Thanks -- Edit this bug report at http://bugs.php.net/?id=22002edit=1
#22000 [Bgs]: Load data infile not working
ID: 22000 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: MySQL related Operating System: Win32 PHP Version: 4.3.0 New Comment: You meant #21356 Previous Comments: [2003-02-01 14:53:55] [EMAIL PROTECTED] Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the existing bug instead. Thank you for your interest in PHP. You did already send this comment to bud id: #212356 [2003-02-01 14:36:23] [EMAIL PROTECTED] The load local data file doesn't work with php 4.3.0 This bug is found and test with W2K and NT4.0 PhP 4.3.0 Try with Mysql 3.23.53 - 3.23.54 - 3.23.55 Same description of trouble than bug 21356 This bug was not present PhP version before ( 4.2.4-dev snapshot from the 24 October 2002 Why this bug ??? Is there a lack in Quality Test... found this in the news.txt distrib - Fixed a security bug in the bundled MySQL library. (Georg, Stefan) question why 3.23.49 client version as Mysql released very more up to date lib at the build 4.3. date. Could this be corrected in the snapshot-stable version. Thank ... have lost to much time today with this. -- Edit this bug report at http://bugs.php.net/?id=22000edit=1
#22002 [Opn-Fbk]: empty mask with regulary expression
ID: 22002 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: winXP PHP Version: 4.3.0 New Comment: Could you please try STABLE and Latest CVS from http://snaps.php.net and report ? I could not reproduce this on Linux with HEAD. Previous Comments: [2003-02-01 16:32:27] [EMAIL PROTECTED] Can't reproduce it with FreeBSD/Linux and PHP4.3.0/PHP5.0.0 [2003-02-01 16:29:28] [EMAIL PROTECTED] if you repeat at least 20-30 time the ereg function with an empty mask php.exe bug and stay in the task manager. Some time the web page doesn't appear or just a part. Example of an 'reproductible bug' code for($i=0;$i100;$i++) { ereg(,aa); } BUT if you put @ in front of ereg the bug doesn't appear. hope this bug report will be usefull. Thanks [2003-02-01 16:22:42] [EMAIL PROTECTED] if you repeat at least 20-30 time the ereg function with an empty mask php.exe doesn't bug and stay in the task manager. Some time the web page doesn't appear or just a part. Example of an 'reproductible bug' code for($i=0;$i100;$i++) { ereg(,aa); } BUT if you put @ in front of ereg the bug doesn't appear. hope this bug report will be usefull. Thanks -- Edit this bug report at http://bugs.php.net/?id=22002edit=1
#22001 [Opn-Fbk]: /php.ini is read instead of configured /usr/local/etc/php.ini !!!
ID: 22001 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: *Configuration Issues Operating System: Solaris 8 PHP Version: 4.3.0 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Could you also stop and start apache instead of restart? I can't reproduce this with current HEAD. Previous Comments: [2003-02-01 15:50:50] [EMAIL PROTECTED] hi, i saved a version of php.ini as /php.ini, which should only be a copy before i changed my real one... then i tried to change my real php.ini (/usr/local/etc/php.ini) but the changes did NOT take effect (yes, i restarted my apache!) reading phpinfo() output, it told me that it read /php.ini instead of /usr/local/etc/php.ini, which is given in the compile options as default as you can see below: i compiled php-4.3.0 with the following options: ./configure \ --prefix=/usr/local \ --with-apxs=/data/apache/bin/apxs \ --enable-cli \ --disable-cgi \ --disable-debug \ --with-config-file-path=/usr/local/etc\ --with-exec-dir \ --enable-sigchild \ --disable-magic-quotes\ --disable-rpath \ --disable-ipv6\ --with-openssl\ --disable-all \ --with-zlib=/usr/local\ --disable-ctype \ --with-curl=/usr/local\ --with-gd \ --with-jpeg-dir=/usr/local\ --with-png-dir=/usr/local \ --with-zlib-dir=/usr/local\ --with-freetype-dir=/usr/local\ --with-t1lib=/usr/local \ --enable-gd-native-ttf\ --with-gettext=/usr/local \ --with-imap=/usr/local\ --with-imap-ssl=/usr/local\ --with-ldap=/usr/local\ --with-mcrypt=/usr/local \ --with-mysql=/usr/local \ --with-oci8=/data/oracle \ --with-pcre-regex \ --disable-posix \ --enable-session \ --enable-sockets \ --enable-sysvmsg \ --enable-sysvsem \ --enable-sysvshm \ --enable-xml \ --with-expat-dir=/usr/local \ --enable-shared \ --enable-static \ --disable-inline-optimization \ snippet output from phpinfo(): phpinfo() PHP Version = 4.3.0 System = SunOS test01 5.8 Generic_108528-18 sun4u Build Date = Jan 31 2003 21:09:32 Configure Command = './configure' '--prefix=/usr/local' '--with-apxs=/data/apache/bin/apxs' '--enable-cli' '--disable-cgi' '--disable-debug' '--with-config-file-path=/usr/local/etc' '--with-exec-dir' '--enable-sigchild' '--disable-magic-quotes' '--disable-rpath' '--disable-ipv6' '--with-openssl' '--disable-all' '--with-zlib=/usr/local' '--disable-ctype' '--with-curl=/usr/local' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-zlib-dir=/usr/local' '--with-freetype-dir=/usr/local' '--with-t1lib=/usr/local' '--enable-gd-native-ttf' '--with-gettext=/usr/local' '--with-imap=/usr/local' '--with-imap-ssl=/usr/local' '--with-ldap=/usr/local' '--with-mcrypt=/usr/local' '--with-mysql=/usr/local' '--with-oci8=/data/oracle' '--with-pcre-regex' '--disable-posix' '--enable-session' '--enable-sockets' '--enable-sysvmsg'
#22003 [NEW]: XML parsing and strtoupper broken in Turkish
From: [EMAIL PROTECTED] Operating system: Linux Redhat 7.2 PHP version: 4.3.0 PHP Bug Type: *Languages/Translation Bug description: XML parsing and strtoupper broken in Turkish I was trying to do some XML-RPC stuff in PHP while my locale was set to 'tr_TR.utf8'. I (and others) have reported other bugs related to Turkish and PHP because of the odd Turkish relationship with the letter i. While issues related to the lower-casing of object classes have been resolved in 4.3.0, I encountered similar problems with XML parsing. Specifically, when the locale is set to tr_TR.utf8' and an xml parser is created with CASE_FOLDING enabled, INT tags and STRING tags are labels as iNT and STRiNG. Consequently, functions designed to recognize tag names based on all uppercase letters fail to recognize these tags. The problem is also evident in the basic strtoupper function built into PHP. The following code demonstrates both examples: ? putenv(LANG=tr_TR.utf8); $chk = setlocale(LC_ALL,'tr_TR.utf8'); if ($chk) echo (Setting language to Turkishbr\n); $x = stringfoo/string; echo (x is .htmlspecialchars($x,ENT_COMPAT,'utf-8').br\n); $y = strtoupper($x); echo (Strtoupper yields .htmlspecialchars($y,ENT_COMPAT,'utf-8').br\n); function startElement($parser, $name, $attrs) { print Start tag name: $namebr\n; } function endElement($parser, $name) { print End tag name: $namebr\n; } function charData($parser, $data) { print Character Data: $databr\n; } $parser = xml_parser_create('utf-8'); xml_parser_set_option($parser,XML_OPTION_CASE_FOLDING,true); xml_set_element_handler($parser, startElement, endElement); xml_set_character_data_handler($parser, charData); echo (Parsing with utf-8 parser, case_folding enabledbr\n); xml_parse($parser,$x); xml_parser_free($parser); ? -- Edit bug report at http://bugs.php.net/?id=22003edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22003r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22003r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22003r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22003r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22003r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=22003r=support Expected behavior: http://bugs.php.net/fix.php?id=22003r=notwrong Not enough info:http://bugs.php.net/fix.php?id=22003r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=22003r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22003r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22003r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22003r=dst IIS Stability: http://bugs.php.net/fix.php?id=22003r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=22003r=gnused
#22002 [Fbk-Opn]: empty mask with regulary expression
ID: 22002 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Reproducible crash Operating System: winXP PHP Version: 4.3.0 New Comment: I tried both version STABLE and Latest CVS (Win32 Package)but the bug stay. It look like that happend on windows OS and not on linux... Previous Comments: [2003-02-01 17:01:44] [EMAIL PROTECTED] Could you please try STABLE and Latest CVS from http://snaps.php.net and report ? I could not reproduce this on Linux with HEAD. [2003-02-01 16:32:27] [EMAIL PROTECTED] Can't reproduce it with FreeBSD/Linux and PHP4.3.0/PHP5.0.0 [2003-02-01 16:29:28] [EMAIL PROTECTED] if you repeat at least 20-30 time the ereg function with an empty mask php.exe bug and stay in the task manager. Some time the web page doesn't appear or just a part. Example of an 'reproductible bug' code for($i=0;$i100;$i++) { ereg(,aa); } BUT if you put @ in front of ereg the bug doesn't appear. hope this bug report will be usefull. Thanks [2003-02-01 16:22:42] [EMAIL PROTECTED] if you repeat at least 20-30 time the ereg function with an empty mask php.exe doesn't bug and stay in the task manager. Some time the web page doesn't appear or just a part. Example of an 'reproductible bug' code for($i=0;$i100;$i++) { ereg(,aa); } BUT if you put @ in front of ereg the bug doesn't appear. hope this bug report will be usefull. Thanks -- Edit this bug report at http://bugs.php.net/?id=22002edit=1
#22005 [NEW]: mysql_stat() - Incorrect Format
From: [EMAIL PROTECTED] Operating system: Windows 2000 Server PHP version: 4.3.0 PHP Bug Type: MySQL related Bug description: mysql_stat() - Incorrect Format When I call mysql_stat(), it returns a string like this: Uptime: 1182208 Threads: 13 Questions: 745284 Slow queries: 1 Opens: 2210 Flush tables: 1 Open tables: 12 Queries per second avg: 0.630 All the fields are supposed to have two spaces ( ) between each of them so that an explode() will work on it. However, you will notice that there is only 1 space ( ) between the value of Open Tables and the caption Queries per second avg: Is this how it is supposed to be? Or is this a minor bug? -- Edit bug report at http://bugs.php.net/?id=22005edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22005r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22005r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22005r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22005r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22005r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=22005r=support Expected behavior: http://bugs.php.net/fix.php?id=22005r=notwrong Not enough info:http://bugs.php.net/fix.php?id=22005r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=22005r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22005r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22005r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22005r=dst IIS Stability: http://bugs.php.net/fix.php?id=22005r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=22005r=gnused
#21993 [Fbk-Opn]: Frameset/PHP conflict
ID: 21993 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Unknown/Other Function Operating System: Windows NT 5.1 (IIS 5.1) PHP Version: 4.3.0 New Comment: Ok, I created a skeleton version of what I am doing for testing purposes. There are three PHP XHTML-compliant files, named index.php, main.php, and top.php. index.php: ?php echo ?xml version=\1.0\ encoding=\iso-8859-1\?.; ? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Frameset//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd; html xmlns=http://www.w3.org/1999/xhtml; head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / /head frameset rows=80,* frameborder=no border=0 framespacing=0 frame src=top.php name=topFrame scrolling=No noresize=noresize id=topFrame / frame src=main.php name=mainFrame id=mainFrame / /frameset noframesbody /body/noframes /html main.php: ?php echo ?xml version=\1.0\ encoding=\iso-8859-1\?.; ? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / /head body Main Frame /body /html top.php: ?php echo ?xml version=\1.0\ encoding=\iso-8859-1\?.; ? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / /head body Top Frame /body /html I have uploaded this to a Windows 2000 server using IIS 5.0. PHP version is CGI 4.2.3. Evidently it works fine. (http://force.digitalrice.com/frameset/index.php). I was/am unable to test this under Apache, as I do not have access to a server running 4.3.0. It does, however, work fine under Apache and PHP 4.2.3. I will try to find a server with Apache and 4.3.0. Previous Comments: [2003-02-01 13:53:17] [EMAIL PROTECTED] Are they really encoded in ISO-8859-1? Or 'saved as unicode'? I don't see how framesets could make a difference, unless you have severe resource problems. So - it's important to get to the root of the problem: is this encoding (mbstring/streams/??) or CGI related. [2003-02-01 11:29:09] [EMAIL PROTECTED] Does it work on another server ? Apache, or does it work with isapi ? What is the content of the files ? [2003-02-01 02:00:50] [EMAIL PROTECTED] This is an error that was not present in version 4.2.3. Somehow, framesets aren't working very well with the new version, 4.3.0. Here is the frameset: html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head frameset rows=56,* frameborder=NO border=0 framespacing=0 frame src=top.php name=topFrame scrolling=NO noresize frame src=main.php name=mainFrame /frameset noframesbody /body/noframes /html the file 'top.php' actually does not have any PHP code in it yet, but retained the '.php' extension for future expansion (this was the bare layout for a new website). Before, all of these files were XHTML-compliant, with a PHP echo generating the ?xml version=1.0...? The interesting thing about this is that when I first load the page, it will tell me The page cannot be displayed. If I refresh the page, the frameset is gone, and it gives me The directory name is invalid.. However, if I load one of the pages (either top.php or main.php) by bypassing the frameset and then go back using the frameset, that page will load. Additionally, sometimes when I hit the back button it will load one of the pages, but if I try to go forward or back to the page, I get a 500 internal server error. I am using IIS 5.1 included with NT 5.1 (Windows XP Professional) with the CGI version of 4.3.0. Pages were generated with Dreamweaver and edited with Notepad. Some additional thoughts: This could be a server configuration problem, but I think it is highly unlikely due to 4.2.3 working with the same type of page (two earlier prototypes pioneered this method; both worked fine [but are still unfinished]). Note: I believe this is different from the other bug reports due to the fact that there is no PHP code in these pages whatsoever, and I have checked the php.ini file. It works fine when given a .htm or .html extension, but does not when it uses .php. If I am incorrect in stating that this is a unique bug, please feel free to correct me. Oh yes. Happy Chinese New Year! =P
#22006 [NEW]: Multidimensional Array sorting
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.2.0 PHP Bug Type: Feature/Change Request Bug description: Multidimensional Array sorting Consider an array of arrays : myarray[$i][$j]...[$n] I'd like to see a function which will allow me to sort this on the nth array index. Something like: my_array_function(myarray, n) where n is the dimension to sort on. This would make it easy to sort any array by row, column, depth, etc Sorry if this feature already exists - I have spend 2 hours reading the manual and googling for it to no avail. I know there are ways to get around it, but a dedicated function would be nice. Thanks. -- Edit bug report at http://bugs.php.net/?id=22006edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22006r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22006r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22006r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22006r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22006r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=22006r=support Expected behavior: http://bugs.php.net/fix.php?id=22006r=notwrong Not enough info:http://bugs.php.net/fix.php?id=22006r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=22006r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22006r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22006r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22006r=dst IIS Stability: http://bugs.php.net/fix.php?id=22006r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=22006r=gnused
#22006 [Com]: Multidimensional Array sorting
ID: 22006 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.2.0 New Comment: Oops - that doesn't quite make sense. We want to be able to sort on the 3rd column or the 7th row if it's 2-D; in the case of 3-D, we need to be able to sort on (the line determined by depth=4 and height=3). So a better prototype would be: my_array_sort(my_array,i,j,-,l) meaning: sort by index k, where the other indices have values of i,j,l respectively) [Array multisort will work, but only to sort by column; therefore if one wants to sort by ROW, the array must be redesigned]. Sorry the first comment isn't mathematically sensible! Previous Comments: [2003-02-01 23:24:16] [EMAIL PROTECTED] Consider an array of arrays : myarray[$i][$j]...[$n] I'd like to see a function which will allow me to sort this on the nth array index. Something like: my_array_function(myarray, n) where n is the dimension to sort on. This would make it easy to sort any array by row, column, depth, etc Sorry if this feature already exists - I have spend 2 hours reading the manual and googling for it to no avail. I know there are ways to get around it, but a dedicated function would be nice. Thanks. -- Edit this bug report at http://bugs.php.net/?id=22006edit=1
#21930 [Com]: TO NAME not work
ID: 21930 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Mail related Operating System: Windows 2000 Proffiessional PHP Version: 4.3.0 New Comment: its work , but the problem was if the name \Some Name\ writed in arabic or chinese it will not work thats is the probelm Previous Comments: [2003-02-01 10:49:13] [EMAIL PROTECTED] Does this work: ?php mail('', 'subject', 'message', To: \Some Name\ [EMAIL PROTECTED]); ? [2003-02-01 05:12:58] [EMAIL PROTECTED] I do not understand your Q [2003-01-29 06:49:44] [EMAIL PROTECTED] So does it work when it's send as part of the headers? [2003-01-29 06:31:51] [EMAIL PROTECTED] I take details from : http://www.php.net/manual/en/function.mail.php because it happen with me also the smtp server with iis5 does not support a TO NAME, you can send it to an email but not along with a name. to say $to = Miki [EMAIL PROTECTED]; would not be accepted and you will get an error 501 Invalid address. if you see this error, just try NOT sending emails with a TO name, only the email should be entered That is given to me.. SMTP server response: 550 5.1.1 ... User unknown in C:\Projects\fnoon\functions.php on 138 I want to comment that I USE the ISP SMTP , not IIS SMTP and also not work.. Now I think I understand what the problem .. THAT BECAUSE I USE ARABIC EMAIL FORMAT .. SORRY FOR MAKE NOISE AND VERY THMKS TO YOU SNIPER :P [2003-01-29 06:31:41] [EMAIL PROTECTED] I take details from : http://www.php.net/manual/en/function.mail.php because it happen with me also the smtp server with iis5 does not support a TO NAME, you can send it to an email but not along with a name. to say $to = Miki [EMAIL PROTECTED]; would not be accepted and you will get an error 501 Invalid address. if you see this error, just try NOT sending emails with a TO name, only the email should be entered That is given to me.. SMTP server response: 550 5.1.1 ... User unknown in C:\Projects\fnoon\functions.php on 138 I want to comment that I USE the ISP SMTP , not IIS SMTP and also not work.. Now I think I understand what the problem .. THAT BECAUSE I USE ARABIC EMAIL FORMAT .. SORRY FOR MAKE NOISE AND VERY THMKS TO YOU SNIPER :P The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21930 -- Edit this bug report at http://bugs.php.net/?id=21930edit=1
#21930 [Com]: TO NAME not work
ID: 21930 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Mail related Operating System: Windows 2000 Proffiessional PHP Version: 4.3.0 New Comment: its work , but the problem was if the name \Some Name\ writed in arabic or chinese it will not work thats is the probelm Previous Comments: [2003-02-02 00:09:50] [EMAIL PROTECTED] its work , but the problem was if the name \Some Name\ writed in arabic or chinese it will not work thats is the probelm [2003-02-01 10:49:13] [EMAIL PROTECTED] Does this work: ?php mail('', 'subject', 'message', To: \Some Name\ [EMAIL PROTECTED]); ? [2003-02-01 05:12:58] [EMAIL PROTECTED] I do not understand your Q [2003-01-29 06:49:44] [EMAIL PROTECTED] So does it work when it's send as part of the headers? [2003-01-29 06:31:51] [EMAIL PROTECTED] I take details from : http://www.php.net/manual/en/function.mail.php because it happen with me also the smtp server with iis5 does not support a TO NAME, you can send it to an email but not along with a name. to say $to = Miki [EMAIL PROTECTED]; would not be accepted and you will get an error 501 Invalid address. if you see this error, just try NOT sending emails with a TO name, only the email should be entered That is given to me.. SMTP server response: 550 5.1.1 ... User unknown in C:\Projects\fnoon\functions.php on 138 I want to comment that I USE the ISP SMTP , not IIS SMTP and also not work.. Now I think I understand what the problem .. THAT BECAUSE I USE ARABIC EMAIL FORMAT .. SORRY FOR MAKE NOISE AND VERY THMKS TO YOU SNIPER :P The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21930 -- Edit this bug report at http://bugs.php.net/?id=21930edit=1
#21930 [Com]: TO NAME not work
ID: 21930 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Mail related Operating System: Windows 2000 Proffiessional PHP Version: 4.3.0 New Comment: sorry its work , the bug is from me sorry for noise again Previous Comments: [2003-02-02 00:09:52] [EMAIL PROTECTED] its work , but the problem was if the name \Some Name\ writed in arabic or chinese it will not work thats is the probelm [2003-02-02 00:09:50] [EMAIL PROTECTED] its work , but the problem was if the name \Some Name\ writed in arabic or chinese it will not work thats is the probelm [2003-02-01 10:49:13] [EMAIL PROTECTED] Does this work: ?php mail('', 'subject', 'message', To: \Some Name\ [EMAIL PROTECTED]); ? [2003-02-01 05:12:58] [EMAIL PROTECTED] I do not understand your Q [2003-01-29 06:49:44] [EMAIL PROTECTED] So does it work when it's send as part of the headers? The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21930 -- Edit this bug report at http://bugs.php.net/?id=21930edit=1