Re: [PHP-DEV] Dom XML
I would like to roll it back to 4.0.6 until the current version gets fixed. However, I have not used either of them so that's why I'm waiting for enough feedback from people who actually use it. Andi At 03:12 PM 6/28/2001 +0200, Derick Rethans wrote: Hello, as I about to write PHP scripts which use the DOM XML extension, I'd like to know which version of Dom XML will be in next versions of PHP. THis is to make sure I don't have to rewrite them later on. Should I use the 4.0.6 one, or the 4.0.7 version of the extension? regards, Derick Rethans - PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED] SRM: Site Resource Manager - www.vl-srm.net - JDI Media Solutions - www.jdimedia.nl - [EMAIL PROTECTED] Boulevard Heuvelink 102 - 6828 KT Arnhem - The Netherlands - -- 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] Bug #11790: Error compiling PHP
From: [EMAIL PROTECTED] Operating system: Redhat Linux 5.x PHP version: 4.0.6 PHP Bug Type: Compile Failure Bug description: Error compiling PHP Compiling php4.0.6 on RH libc5.3 server as CGI module, received the following compile error: -- gcc -I. -I/home2/rlm/php-4.0.6/ext/standard -I/home2/rlm/php-4.0.6/main -I/home2/rlm/php-4.0.6 -I/home2/rlm/php-4.0.6/Zend -I/home/rlm/gd1.3/ -I/usr/local/Hughes/include -I/usr/local/mysql3/include -I/home2/rlm/php-4.0.6/ext/xml/expat/xmltok -I/home2/rlm/php-4.0.6/ext/xml/expat/xmlparse -I/home2/rlm/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c filestat.c touch filestat.lo filestat.c: In function `php_if_diskfreespace': filestat.c:157: storage size of `buf' isn't known make[3]: *** [filestat.lo] Error 1 make[3]: Leaving directory `/home2/rlm/php-4.0.6/ext/standard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home2/rlm/php-4.0.6/ext/standard' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home2/rlm/php-4.0.6/ext' make: *** [all-recursive] Error 1 --- configure line: ./configure --enable-force-cgi-redirect --with-mysql=/usr/local/mysql3 --with-msql --bindir=/home/rlm/php-4.0.6 --with-gd=/home/rlm/gd1.3 --with-config-file-path=/home/rlm/php-4.0.6 -- Edit Bug report at: http://bugs.php.net/?id=11790edit=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 #11780 Updated: udm_find makes php crash
ID: 11780 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Unknown/Other Function Operating system: Linux PHP Version: 4.0.6 Description: udm_find makes php crash Just got a new backtrace with httpd -X: Program received signal SIGSEGV, Segmentation fault. __libc_free (mem=0x1) at malloc.c:2914 malloc.c:2914: No such file or directory. (gdb) bt #0 __libc_free (mem=0x1) at malloc.c:2914 #1 0x403a0bf1 in ?? () from /usr/local/apache-1.3.19/libexec/libphp4.so #2 0x4039cb26 in ?? () from /usr/local/apache-1.3.19/libexec/libphp4.so #3 0x40415bfe in ?? () from /usr/local/apache-1.3.19/libexec/libphp4.so #4 0x40415d6f in ?? () from /usr/local/apache-1.3.19/libexec/libphp4.so #5 0x4042aa41 in ?? () from /usr/local/apache-1.3.19/libexec/libphp4.so #6 0x40393bdb in ?? () from /usr/local/apache-1.3.19/libexec/libphp4.so #7 0x4037a2ae in ?? () from /usr/local/apache-1.3.19/libexec/libphp4.so #8 0x40379137 in ?? () from /usr/local/apache-1.3.19/libexec/libphp4.so #9 0x4037a088 in ?? () from /usr/local/apache-1.3.19/libexec/libphp4.so #10 0x40395dd0 in ?? () from /usr/local/apache-1.3.19/libexec/libphp4.so #11 0x40366dbc in ?? () from /usr/local/apache-1.3.19/libexec/libphp4.so #12 0x40375bc7 in ?? () from /usr/local/apache-1.3.19/libexec/libphp4.so #13 0x40386ce4 in ?? () from /usr/local/apache-1.3.19/libexec/libphp4.so #14 0x403838bf in ?? () from /usr/local/apache-1.3.19/libexec/libphp4.so #15 0x40384218 in ?? () from /usr/local/apache-1.3.19/libexec/libphp4.so #16 0x40384248 in ?? () from /usr/local/apache-1.3.19/libexec/libphp4.so #17 0x806ba5f in ap_invoke_handler () #18 0x807f375 in process_request_internal () #19 0x807f3d4 in ap_process_request () #20 0x8076871 in child_main () #21 0x80769fc in make_child () #22 0x8076b57 in startup_children () #23 0x8077154 in standalone_main () #24 0x80779b3 in main () Previous Comments: --- [2001-06-29 01:32:31] [EMAIL PROTECTED] BTW, if it can help, I'm using mnoGoSearch 3.1.16 and MySQL 3.23.35 --- [2001-06-28 10:05:25] [EMAIL PROTECTED] To reproduce the problem : htmlbody Hello Worldbr ?php $udm_agent = udm_alloc_agent( mysql://myuser:mypass@localhost/mnoGoSearch/,single); if ( $udm_agent == false ) echo Agent NOKbr; else echo Agent OKbr; $res = udm_find( $udm_agent, word ); ? /body/html Important notice: It seems to crash ONLY when the word belongs the dictionary (dict table). (This seems to prove that the udm_agent is well-defined) Configuration : ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --enable-trans-sid --with-curl --with-mnogosearch=/usr/local/bin/mnogosearch --enable-debug Apache 1.3.19 Backtrace: #0 _dl_lookup_versioned_symbol (undef_name=0x804bf7a unlink, ref=0xbd18, symbol_scope=0x0, reference_name=0x40010187 , version=0x40151048, reloc_type=7) at do-lookup.h:82 #1 0x40009cfa in fixup (l=0x40013368, reloc_offset=1668) at dl-runtime.c:75 #2 0x40009e70 in _dl_runtime_resolve () at dl-runtime.c:170 #3 0x80779b3 in main () --- Full Bug description available at: http://bugs.php.net/?id=11780 -- 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 #11789 Updated: Apache can't start
ID: 11789 User Update by: [EMAIL PROTECTED] Status: Open Old-Bug Type: Sybase-ct (ctlib) related Bug Type: Documentation problem Operating system: Linux 2.4.5 PHP Version: 4.0.6 Description: Apache can't start Ok, it finally work with ct-lib if LC_ALL is set to default Please add in documentation that apache only start correctly with sybase_ct lib if LC_ALL is correctly set (sybase must be installed with the same language, cf bug #3161) If not, we can resolve simply the problem with : export LC_ALL=default ./apachectl start (or startssl) @++ JC Previous Comments: --- [2001-06-28 18:47:57] [EMAIL PROTECTED] PS : it's ok with sybase DB lib --- [2001-06-28 18:44:59] [EMAIL PROTECTED] When I launch apache with sybase_ct, I've got following messages : DRK01:/soft/apache/bin# ./apachectl start ./apachectl: line 184: 15557 Segmentation fault $HTTPD ./apachectl start: httpd could not be started Sybase Version : 11.9.2 $SYBASE environment variable is correctly set There's nothing in apache's logs There's nothing in dmesg's output Do you have any idea ? Thanks for your answer @++ JC --- Full Bug description available at: http://bugs.php.net/?id=11789 -- 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] Bug #10589 Updated: buildconf not compatible with GnuLibtool 1.4
On 28 Jun 2001 [EMAIL PROTECTED] wrote: ID: 10589 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Closed Status: Critical Bug Type: *Install and Config Operating system: PHP Version: 4.0 Latest CVS (01/05/2001) Assigned To: Comments: No, the libtool 1.4 is seriously bugged.. This bug report is irrelevant as far as I can see. What is your reasoning for marking it as ``Critical´´? - Sascha Experience IRCG http://schumann.cx/http://schumann.cx/ircg -- 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] Bug #10589 Updated: buildconf not compatible with GnuLibtool 1.4
On Fri, 29 Jun 2001, Rasmus Lerdorf wrote: No, the libtool 1.4 is seriously bugged.. Jani, I still have yet to see anybody other than you report problems with this recently. http://www.php.net/bugs.php?id=11707edit=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] $REMOTE_ADDR subnet consistency?
Hi PHP heads, I have question regarding $REMOTE_ADDRes consistency. I am developing a custom session library and I need a way to uniquely identify each http client. Hasnt this has been a never-ending struggle for web developers? Anyways, Im using the variables $HTTP_USER_AGENT and $HTTP_ACCEPT_ENCODING to help create the session hash and am now considering putting $REMOTE_ADDR into the pot. I know that there are problems with $REMOTE_ADDR, like proxies and NATs, BUT I WAS WONDERING, and now here comes my question, do the first two subnets of an IP address (i.e. 204.57.x.x) typically stay the same, so that they could be relied upon for general authenticity? By grepping through the access logs this appears to be true. Ok and dont tell me, Why dont you just use cookies? Because we must support non-cookie clients and cookies are not as authentic as ip addresses. Thank you for your brilliant insights to this question. Nathan Cassano ContractJobHunter Web Developer
Re: [PHP-DEV] Bug #10589 Updated: buildconf not compatible with GnuLibtool 1.4
On Fri, 29 Jun 2001, Sascha Schumann wrote: On 28 Jun 2001 [EMAIL PROTECTED] wrote: ID: 10589 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Closed Status: Critical Bug Type: *Install and Config Operating system: PHP Version: 4.0 Latest CVS (01/05/2001) Assigned To: Comments: No, the libtool 1.4 is seriously bugged.. This bug report is irrelevant as far as I can see. What is your reasoning for marking it as ``Critical´´? Because this is something that needs to be fixed before we release this. Do you need some other reasoning? I would like to revert back to libtool 1.3.5. It wasn't really a good idea (I know, I was asking for this..) to update to 1.4 so soon. Didn't you get my email? You asked about the .la files? And I told you that now I can compile HEAD branch somewhat succesfully after I moved all the .la files out from /usr/lib --Jani -- 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 #11765 Updated: Warning: MySQL: Unable to save result set in
ID: 11765 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: MySQL related Operating system: redhat-6.2 PHP Version: 4.0.6 Description: Warning: MySQL: Unable to save result set in Yes I use Use mysql_query() / mysql_select_db() instead of mysql_db_query(). Both mysql_errno() and mysql_error() return NOTHING. The query was successful exectued by mysql.(I can find the query reselt in mysql database) But why php generated an error? Previous Comments: --- [2001-06-28 13:16:05] [EMAIL PROTECTED] Try adding this lines after each mysql function: echo mysql_errno().: .mysql_error().BR; This way you should get the reason why it doesn't work. And FYI: Use mysql_query() / mysql_select_db() instead of mysql_db_query(). --Jani --- [2001-06-27 23:37:47] [EMAIL PROTECTED] The script(error.php) is : ? $db_acc_user = root; $db_acc_passwd = password; $db = pacc; $sql = INSERT INTO type (name, quota, pc, cn, office) VALUES ('Howard', '10', '1', '0', '1'); mysql_connect(localhost,$db_pacc_user,$db_pacc_passwd); mysql_db_query($db,$sql); mysql_close(); ? The result in browser is: Warning: MySQL: Unable to save result set in /home/0/admin/error.php on line 7 But I just found that NO error in command line root@localhost # php ./error.php X-Powered-By: PHP/4.0.6 Content-type: text/html --- [2001-06-27 23:06:49] [EMAIL PROTECTED] I'm getting the following error message when I execute a query (such as insert or delete or update but not select) that doesn't produce any results: Warning: MySQL: Unable to save result set in /path/to/sql.php3 on line 33 MySQL said NOTHING and the query was successful executed. I have set display_errors = Off in my php.ini, so no warnings should be shown , but php script can not go on at the line where the Warnning should display. I configured php with the following command: ./configure --with-mysql=/usr/local/mysql --enable-track-vars --with-gd=../../gd/gd1.3 --with-ftp --with-imap=../../mail/imap/imap-4.7c --enable-memory-limit --with-pgsql=/usr/local/pgsql MySQL is version 3.23.38 and PostgreSQL is version 7.1.2 and compiled with th following command: ./configure --prefix=/usr/local/mysql --with-mysqld-user=mysql --with-charset=gb2312 --with-extra-charsets=all ./configure --enable-multibyte --enable-unicode-conversion --with-perl --with-openssl=/usr/local/ssl --enable-odbc --with-CXX BTW : The script is perfect on mysql-php-4.0.3pl1 and postgreSQL-php-4.0.6 . --- [2001-06-27 23:06:01] [EMAIL PROTECTED] Please include a shortest possible example script that can be used to reproduce this problem. --- [2001-06-27 22:58:58] [EMAIL PROTECTED] I'm getting the following error message when I execute a query (such as insert or delete or update but not select) that doesn't produce any results: Warning: MySQL: Unable to save result set in /path/to/sql.php3 on line 33 MySQL said NOTHING and the query was successful executed. I have set display_errors = Off in my php.ini, so no warnings should be shown , but php script can not go on at the line where the Warnning should display. I configured php with the following command: ./configure --with-mysql=/usr/local/mysql --enable-track-vars --with-gd=../../gd/gd1.3 --with-ftp --with-imap=../../mail/imap/imap-4.7c --enable-memory-limit --with-pgsql=/usr/local/pgsql MySQL is version 3.23.38 and PostgreSQL is version 7.1.2 and compiled with th following command: ./configure --prefix=/usr/local/mysql --with-mysqld-user=mysql --with-charset=gb2312 --with-extra-charsets=all ./configure --enable-multibyte --enable-unicode-conversion --with-perl --with-openssl=/usr/local/ssl --enable-odbc --with-CXX --- 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=11765 -- 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 #11765 Updated: Warning: MySQL: Unable to save result set in
ID: 11765 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: MySQL related Operating system: redhat-6.2 PHP Version: 4.0.6 Description: Warning: MySQL: Unable to save result set in BTW : This error occur on ALL OF my scripts after I had upgraded my php from 4.0.3 to 4.0.6 Previous Comments: --- [2001-06-28 21:21:26] [EMAIL PROTECTED] Yes I use Use mysql_query() / mysql_select_db() instead of mysql_db_query(). Both mysql_errno() and mysql_error() return NOTHING. The query was successful exectued by mysql.(I can find the query reselt in mysql database) But why php generated an error? --- [2001-06-28 13:16:05] [EMAIL PROTECTED] Try adding this lines after each mysql function: echo mysql_errno().: .mysql_error().BR; This way you should get the reason why it doesn't work. And FYI: Use mysql_query() / mysql_select_db() instead of mysql_db_query(). --Jani --- [2001-06-27 23:37:47] [EMAIL PROTECTED] The script(error.php) is : ? $db_acc_user = root; $db_acc_passwd = password; $db = pacc; $sql = INSERT INTO type (name, quota, pc, cn, office) VALUES ('Howard', '10', '1', '0', '1'); mysql_connect(localhost,$db_pacc_user,$db_pacc_passwd); mysql_db_query($db,$sql); mysql_close(); ? The result in browser is: Warning: MySQL: Unable to save result set in /home/0/admin/error.php on line 7 But I just found that NO error in command line root@localhost # php ./error.php X-Powered-By: PHP/4.0.6 Content-type: text/html --- [2001-06-27 23:06:49] [EMAIL PROTECTED] I'm getting the following error message when I execute a query (such as insert or delete or update but not select) that doesn't produce any results: Warning: MySQL: Unable to save result set in /path/to/sql.php3 on line 33 MySQL said NOTHING and the query was successful executed. I have set display_errors = Off in my php.ini, so no warnings should be shown , but php script can not go on at the line where the Warnning should display. I configured php with the following command: ./configure --with-mysql=/usr/local/mysql --enable-track-vars --with-gd=../../gd/gd1.3 --with-ftp --with-imap=../../mail/imap/imap-4.7c --enable-memory-limit --with-pgsql=/usr/local/pgsql MySQL is version 3.23.38 and PostgreSQL is version 7.1.2 and compiled with th following command: ./configure --prefix=/usr/local/mysql --with-mysqld-user=mysql --with-charset=gb2312 --with-extra-charsets=all ./configure --enable-multibyte --enable-unicode-conversion --with-perl --with-openssl=/usr/local/ssl --enable-odbc --with-CXX BTW : The script is perfect on mysql-php-4.0.3pl1 and postgreSQL-php-4.0.6 . --- [2001-06-27 23:06:01] [EMAIL PROTECTED] Please include a shortest possible example script that can be used to reproduce this problem. --- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=11765 -- 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 #11766 Updated: Unable to save result set in
ID: 11766 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: MySQL related Operating system: redhat-6.2 PHP Version: 4.0.6 Description: Unable to save result set in I use mysql_query() / mysql_select_db() instead of mysql_db_query(). Both mysql_errno() and mysql_error() return NOTHING. The query was successful exectued by mysql.(I can find the query reselt in mysql database) But why php generated an error? This error occur on ALL OF my scripts after I had upgraded my php from 4.0.3 to 4.0.6 Previous Comments: --- [2001-06-28 00:16:56] [EMAIL PROTECTED] I'm getting the following error message when I execute a query (such as insert or delete or update but not select) that doesn't produce any results: The script(error.php) is : ? $db_acc_user = root; $db_acc_passwd = password; $db = pacc; $sql = INSERT INTO type (name, quota, pc, cn, office) VALUES ('Howard', '10', '1', '0', '1') ; mysql_connect(localhost,$db_pacc_user,$db_pacc_passwd); mysql_db_query($db,$sql); mysql_close(); ? The result in browser is: Warning: MySQL: Unable to save result set in /home/0/admin/error.php on line 7 MySQL said NOTHING and the query was successful executed. I have set display_errors = Off in my php.ini, so no warnings should be shown , but php script can not go on at the line where the Warnning should display. But I just found that NO error in command line : root@localhost # php ./error.php X-Powered-By: PHP/4.0.6 Content-type: text/html root@localhost # I configured php with the following command: ./configure --with-mysql=/usr/local/mysql --enable-track-vars --with-gd=../../gd/gd1.3 --with-ftp --with-imap=../../mail/imap/imap-4.7c --enable-memory-limit --with-pgsql=/usr/local/pgsql MySQL is version 3.23.38 and PostgreSQL is version 7.1.2 and compiled with th following command: ./configure --prefix=/usr/local/mysql --with-mysqld-user=mysql --with-charset=gb2312 --with-extra-charsets=all ./configure --enable-multibyte --enable-unicode-conversion --with-perl --with-openssl=/usr/local/ssl --enable-odbc --with-CXX BTW : The script is perfect on mysql-php-4.0.3pl1 and postgreSQL-php-4.0.6 . --- Full Bug description available at: http://bugs.php.net/?id=11766 -- 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 #11762 Updated: bad example
ID: 11762 Updated by: goba Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Documentation problem Operating system: PHP Version: 4.0.5 Assigned To: Comments: OK, as you suggested dates are printed now. You can see, that nearly all files are autogenerated daily (dispite what I said before) except the CHM version (and the temp unavailable PDF). We will update the CHM versions soon. Anyway, this way the full table listing is **UGLY**. Is there anybody with a better layout tip? Ps. I used the RFC date type date('r, $changed) to be world wide compatible (though it is very long...). Previous Comments: --- [2001-06-29 12:36:12] [EMAIL PROTECTED] There will be some date info also on that page. I'll do it ASAP. It was on my todo list for a week now. Well, dates are much important, but sizes are also usable, when you need to choose from .zip or .tar.gz, while your zip program handles both of them. It is true, that PDFs, CHMs and Palm docs are behind, but just because we have no **automated** process to do it. Everything else is automated (text and HTML). This is also on our __long time__ todo list to implement some automated CHM generation on Unix (it is not easy to do :). --- [2001-06-28 17:59:26] [EMAIL PROTECTED] I'm planning to update the CHM versions soon now, as lots of things have been changed. I hope I can do it this weekend. Derick --- [2001-06-28 17:22:12] [EMAIL PROTECTED] My apologies.. I responded before I realized that the mailing lists are 12-14 hrs behind. I didn't think to read the bug report on the page to make sure no one responded to it already. --- [2001-06-28 17:21:03] [EMAIL PROTECTED] I believe that the PDF and CHM version of the module always lag behind due to the amount of work it takes to package them up. If you are ever in doubt, please check the online html manual first. You can visit it directly at: http://php.net/manual/ --- [2001-06-28 14:32:55] [EMAIL PROTECTED] thx for replying, thx btw, in http://www.php.net/docs.php doucument list file size? may not need if file is small enough file size for compare and decide whether to download ? why not show an document last update date? or document version will be better :P just suggestion, may not post as a reply here --- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11762edit=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 #11796 Updated: get_meta_tags doesn't work when the title tag consists of single quote
ID: 11796 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Bug Type: Unknown/Other Function Operating system: PHP Version: 4.0.5 Assigned To: Comments: Reproduced with latest CVS. Previous Comments: --- [2001-06-29 03:18:17] [EMAIL PROTECTED] get_meta_tags will get nothing when this statics file is used.(please see the code down there) Only when the single quote inside the title tag removed, then the meta will be retrieved. I have tried to use this code inside PHP Version 4.0.4, and it works. Does anyone has any clue about it? html head TITLESanmina acquires Alcatel's manufacturing operations in Texas/TITLE META NAME=VERSION CONTENT=2.1/ META NAME=ISSUE CONTENT=121345/ META NAME=STARTDATE CONTENT=27-JUN-2001/ /head /html Thanks. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11796edit=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 #11766 Updated: Unable to save result set in
ID: 11766 User Update by: [EMAIL PROTECTED] Old-Status: Open Status: Duplicate Bug Type: MySQL related Operating system: redhat-6.2 PHP Version: 4.0.6 Description: Unable to save result set in This is same to #11765 please close(); Previous Comments: --- [2001-06-28 21:27:32] [EMAIL PROTECTED] I use mysql_query() / mysql_select_db() instead of mysql_db_query(). Both mysql_errno() and mysql_error() return NOTHING. The query was successful exectued by mysql.(I can find the query reselt in mysql database) But why php generated an error? This error occur on ALL OF my scripts after I had upgraded my php from 4.0.3 to 4.0.6 --- [2001-06-28 00:16:56] [EMAIL PROTECTED] I'm getting the following error message when I execute a query (such as insert or delete or update but not select) that doesn't produce any results: The script(error.php) is : ? $db_acc_user = root; $db_acc_passwd = password; $db = pacc; $sql = INSERT INTO type (name, quota, pc, cn, office) VALUES ('Howard', '10', '1', '0', '1') ; mysql_connect(localhost,$db_pacc_user,$db_pacc_passwd); mysql_db_query($db,$sql); mysql_close(); ? The result in browser is: Warning: MySQL: Unable to save result set in /home/0/admin/error.php on line 7 MySQL said NOTHING and the query was successful executed. I have set display_errors = Off in my php.ini, so no warnings should be shown , but php script can not go on at the line where the Warnning should display. But I just found that NO error in command line : root@localhost # php ./error.php X-Powered-By: PHP/4.0.6 Content-type: text/html root@localhost # I configured php with the following command: ./configure --with-mysql=/usr/local/mysql --enable-track-vars --with-gd=../../gd/gd1.3 --with-ftp --with-imap=../../mail/imap/imap-4.7c --enable-memory-limit --with-pgsql=/usr/local/pgsql MySQL is version 3.23.38 and PostgreSQL is version 7.1.2 and compiled with th following command: ./configure --prefix=/usr/local/mysql --with-mysqld-user=mysql --with-charset=gb2312 --with-extra-charsets=all ./configure --enable-multibyte --enable-unicode-conversion --with-perl --with-openssl=/usr/local/ssl --enable-odbc --with-CXX BTW : The script is perfect on mysql-php-4.0.3pl1 and postgreSQL-php-4.0.6 . --- Full Bug description available at: http://bugs.php.net/?id=11766 -- 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] CVS Account Request
Full name: Alan Brown Email: [EMAIL PROTECTED] ID: abrown Purpose: Access to ext/COM tree to help Harald Radi with the COM implementation -- 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] Bug #10589 Updated: buildconf not compatible with GnuLibtool 1.4
Because this is something that needs to be fixed before we release this. Do you need some other reasoning? Jani, this is a forum where people tend to be polite to each other. As a member of this forum, I'd expect you to follow the established rules to facilitate constructive communication among us. The cited bug report is unrelated to the issue you are referring to. It is about enabling PHP to use libtool 1.4 which it is capable of now. Therefore, the bug report can be closed. I would like to revert back to libtool 1.3.5. It wasn't really a good idea (I know, I was asking for this..) to update to 1.4 so soon. This is not a critical bug as it does not affect any significant portion of our user group. It is only problematic, if you have conflicting versions of a software installed in multiple places, one of which must be /usr/lib. The same effect could happen under other circumstances as well where you install various tools with a common prefix, even if the special handling of /usr/lib would be added to libtool 1.4. We need to look into that issue, but we should not overstate its importance. - Sascha Experience IRCG http://schumann.cx/http://schumann.cx/ircg -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #11062 Updated: Sharing Violation Error Message
ID: 11062 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Directory function related Operating system: PHP Version: 4.0.6 Assigned To: Comments: Previous Comments: --- [2001-06-28 07:58:57] [EMAIL PROTECTED] Yes it does. :( Does the folder need to have special permissions? Right now I've got SYSTEM and CREATOR_OWNER with full controll, and a bunch of groups. --- [2001-06-23 20:58:38] [EMAIL PROTECTED] Does this happen with PHP 4.0.6 ? --- [2001-06-04 01:27:47] [EMAIL PROTECTED] In order to regain control over the directories, it is necessary to restart the entire IIS Admin Service. Restarting the World Wide Web Publishing Service alone does not fix the problem. --- [2001-05-23 14:34:47] [EMAIL PROTECTED] Hello, I've written a simple script which can recurse into subdirectories when needed, and print out an HTML table with with details about the files it finds. The problem is that after I run this script, if I try and rename one of the folders it has recursed into, I get an error message which reads: Cannot rename [folder name]: There has been a sharing violation. The source or destination file may be in use. Note that I can still rename files, just not folders. If I stop and start IIS, I am able to rename folders until I run the script again. I believe I'm using the closedir() function correctly, and have even echoed out when the directories are opened and closed to make sure I'm not messing up. One last thing to note is that this script is being run on an NTFS partition. A copy of the script follows: ?php // $hddir is the hard drive directory passed into this function from the calling page // $mode can be either single or recurse // $order is just ignored right now, but I would like it to be alphabetical, size, etc. function list_dir($hddir, $mode, $order) { $webdir = http://www.foo.com; . str_replace(/inetpub/www_root, , $hddir); $handle = opendir($hddir); chdir($hddir); // if there are files in the directory, print out the table header and set the flag // once we find a file, don't run the test (and print out the table header) again while (($file = readdir($handle)) ($file_count 1)) { if ($file == '.' || $file== '..') continue; else if (is_file($file)) { echo table border=0 cellpadding=2 cellspacing=2; echo trth/thth class=highFilename/th; echo th class=highSize/th; echo th class=highModified/th/tr; $file_count += 1; } } rewinddir ($handle);// start reading again from the beginning of the directory while ($file = readdir($handle)) { // while we can read an entry from the directory (files and dirs) if ($file == '.' || $file== '..') continue; else if (($mode == recurse) (is_dir($file)) (substr($file, 0, 1) != _)) { // don't recurse directories which begin with an underscore $dir_count += 1; $places_to_go[$dir_count] = $file; } else if (is_file($file)) { $extension = ''; $parts = split('.', $file); if (count($parts) 1) $extension = end($parts); if (!$extension count($parts) 2) $extension = prev($parts); if (($extension == doc) || ($extension == DOC) || ($extension == rtf)) echo trtdimg src=/pics/icons/word_sm.gif width=20 height=19/td; else echo trtdimg src=/pics/spacer.gif width=20 height=19/td; echo td bgcolor=silvera href= . $webdir . / . $file . target=_blank . $file . /a/td; $j = 0; $ext = array( Bytes, KB, MB, GB, TB); $file_size = filesize($file); while ($file_size = pow(1024,$j)) ++$j; $file_size = round($file_size / pow(1024,$j-1) * 100) / 100 . $ext[$j-1]; echo td bgcolor=silver . $file_size . /td; $filemod = filemtime($file); $file_modtime = date(F j Y
[PHP-DEV] Bug #11804: curl_error results strange strings
From: [EMAIL PROTECTED] Operating system: i686-pc-linux-gnu PHP version: 4.0 Latest CVS (2001-06-29) PHP Bug Type: cURL related Bug description: curl_error results strange strings Hi, - cURL 7.8, PHP CVS, Apache 1.3.20, linux-i686 curl_errno doesnt work with follow code: -- ?php $url=http://www.foo.com;; $ch = curl_init ($url); $header_file = fopen (header_curl.dat, w); $content_file = fopen (content_curl.dat, w); curl_setopt ($ch, CURLOPT_FILE, $content_file); curl_setopt ($ch, CURLOPT_WRITEHEADER, $header_file); curl_setopt ($ch, CURLOPT_REFERER, $url); curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt ($ch, CURLOPT_NOPROGRESS, true); curl_setopt ($ch, CURLOPT_TIMEOUT, 30); $result=curl_exec ($ch); $returncode=curl_getinfo($ch, CURLINFO_HTTP_CODE); $totaltime=curl_getinfo($ch,CURLINFO_TOTAL_TIME); $realurl=curl_getinfo($ch,CURLINFO_EFFECTIVE_URL); $contentsize=curl_getinfo($ch,CURLINFO_SIZE_DOWNLOAD); if (curl_errno($ch)0){ $error=curl_error($ch); echo $error; } fclose($header_file); fclose($content_file); ? -- curl_errno($ch) results a wrong error number and also curl_error($ch) contains broken strings. -- Steve -- Edit Bug report at: http://bugs.php.net/?id=11804edit=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 #11785: mysql_unbuffered_query and mysql_query failure.
From: [EMAIL PROTECTED] Operating system: Linux redhat 7.0 PHP version: 4.0.6 PHP Bug Type: MySQL related Bug description: mysql_unbuffered_query and mysql_query failure. I have mysql table with over 6 records inside. code: $sql = SELECT * FROM database.table ORDER BY field; $result = mysql_unbuffered_query($sql) or die(Error!); does not work at all but displays Error! code: $sql = SELECT * FROM database.table ORDER BY field limit 1,1000; $result = mysql_unbuffered_query($sql) or die(Error!); works fine. code: $sql = SELECT * FROM database.table; $result = mysql_unbuffered_query($sql) or die(Error!); works fine. Moreover , there is exactly the same problem with mysql_query() function... My system is: PHP: 4.0.6 MySQL: 3.23.22 Linux Kernel: 2.2.17-14 Help!!! -- Edit Bug report at: http://bugs.php.net/?id=11785edit=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 #11786: Problems with variables from forms posting.
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.6 PHP Bug Type: Scripting Engine problem Bug description: Problems with variables from forms posting. I used standard binary for Windows 2000(msi) - Apache 1.3.20 and PHP 4.0.6 (standard, module not cgi) When i put enctype=text/plain in form's attributes list, there are no variables in environment neither in global tables $HTTP_ENV_VARS, etc... -- Edit Bug report at: http://bugs.php.net/?id=11786edit=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 #11801 Updated: crypt function not 'supported' ???
ID: 11801 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *Install and Config Operating system: PHP Version: 4.0.6 Assigned To: Comments: This is fixed in CVS. You can enable crypt in 4.0.6 by editing in main/php_config.h after configure by adding this line to it: #define HAVE_CRYPT 1 --Jani Previous Comments: --- [2001-06-29 10:00:00] [EMAIL PROTECTED] With versions 3.0.8 and 4.0.4pl1 is all OK. When upgraded to 4.0.6 in every script using crypt we have: Warning: crypt() is not supported in this PHP build in ... Nothing else changed in my system. We are using enhanced security. This error was also reported by PHPNuke users in their discussions (see http://phpnuke.org/article.php?sid=1798) --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11801edit=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 #11776 Updated: filestat.c:`php_if_diskfreespace': storage size of `buf' isn't known
ID: 11776 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Compile Failure Operating system: PHP Version: 4.0.6 Assigned To: Comments: I wonder where you got those sources since in my version of PHP 4.0.6 (which is the correct one) there is nothing like that on line 159 of filestat.c. And is your install of linux really working one? Do you have following header files: /usr/include/sys/statvfs.h /usr/include/sys/statfs.h /usr/include/sys/mount.h --Jani Previous Comments: --- [2001-06-28 08:44:04] [EMAIL PROTECTED] When trying to compile PHP 4.0.6 I get the following error: gcc -I. -I/mnt/src/apache-install/php-4.0.6/ext/standard -I/mnt/src/apache-install/php-4.0.6/main -I/mnt/src/apache-install/php-4.0.6 -I/mnt/src/apache-install/apache_1.3.20/src/include -I/mnt/src/apache-install/apache_1.3.20/src/os/unix -I/mnt/src/apache-install/php-4.0.6/Zend -I/usr/local/include/freetype -I/mnt/src/apache-install/gd-1.8.4 -I/usr/local/mysql/include/mysql -I/mnt/src/apache-install/php-4.0.6/ext/xml/expat/xmltok -I/mnt/src/apache-install/php-4.0.6/ext/xml/expat/xmlparse -I/mnt/src/apache-install/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c filestat.c touch filestat.lo filestat.c: In function `php_if_diskfreespace': filestat.c:159: storage size of `buf' isn't known make[3]: *** [filestat.lo] Error 1 make[3]: Leaving directory `/mnt/src/apache-install/php-4.0.6/ext/standard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/src/apache-install/php-4.0.6/ext/standard' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/src/apache-install/php-4.0.6/ext' make: *** [all-recursive] Error 1 My configureline: ./configure --prefix=/usr/local/apache --activate-module=src/modules/auth_mysql/libauth_mysql.a --add-module=../mod_auth_cookie-1.9/mod_auth_cookie.c --activate-module=src/modules/php4/libphp4.a --enable-module=ssl --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11776edit=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 #11806: Using $string = md5($string); crashed HTTP child processes
From: [EMAIL PROTECTED] Operating system: Linux 2.2.16 PHP version: 4.0.6 PHP Bug Type: Reproducible crash Bug description: Using $string = md5($string); crashed HTTP child processes PHP Options: './configure' '--with-mysql' '--with-gd' '--enable-track-vars' '--with-jpeg-dir=/usr/local/lib' '--enable-bcmath' '--with-apache=../apache_1.3.20' '--enable-ftp' '--enable-sockets' '--with-mcrypt' The problem I am having is: When using the code: $cipher = md5($cipher); httpd crashes the current child process with: [Fri Jun 29 10:54:49 2001] [notice] child pid 9766 exit signal Segmentation fault (11) [Fri Jun 29 10:54:50 2001] [notice] child pid 9920 exit signal Segmentation fault (11) The page then fails to load, returning nothing to the browser. Also, I have another function called CleanSring($string); which looks like: function CleanString($string) { $string = strip_tags($string); $string = preg_replace(/\/?(html|head|meta|title|body|font|img|.jpg|.gif|.vbs|script|tr|table|text).*/,,$string); $string = preg_replace(/\/?(HTML|HEAD|META|TITLE|BODY|FONT|IMG|.JPG|.GIF|.VBS|SCRIPT|TR|TABLE|TEXT).*/,,$string); $string = preg_replace(/[^]*/,,$string); return $string; } Calling this function like: $string = CleanString($string); causes the same problem. Whats weird is I call md5() again below the problem code: $now = date(r); $thisID = md5(substr(makeID(), 0, 16)); $onetimepass = substr(md5($thisID), 0, 8); And neither of these causes the same problem, even when being used in the same document. -- Edit Bug report at: http://bugs.php.net/?id=11806edit=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 #11786 Updated: Problems with variables from forms posting.
ID: 11786 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Operating system: Windows 2000 PHP Version: 4.0.6 Description: Problems with variables from forms posting. I used standard binary for Windows 2000(msi) - Apache 1.3.20 and PHP 4.0.6 (standard, module not cgi) When i put enctype=text/plain in form's attributes list, there are no variables in environment neither in global tables $HTTP_ENV_VARS, etc... after form submit. Previous Comments: --- [2001-06-28 13:41:58] [EMAIL PROTECTED] I used standard binary for Windows 2000(msi) - Apache 1.3.20 and PHP 4.0.6 (standard, module not cgi) When i put enctype=text/plain in form's attributes list, there are no variables in environment neither in global tables $HTTP_ENV_VARS, etc... --- Full Bug description available at: http://bugs.php.net/?id=11786 -- 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 #11803 Updated: call to undefined function not caught by set_error_handler
ID: 11803 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Old-Bug Type: *General Issues Bug Type: Documentation problem Operating system: PHP Version: 4.0.6 Assigned To: Comments: FATAL levels of errors are not passed to the user defined error handler. This is documentation problem. Also, the example script on the set_error_handler() manual page is a bit buggy. --Jani Previous Comments: --- [2001-06-29 13:01:35] [EMAIL PROTECTED] $ok=1; function sionna($errno, $errmsg) { global $ok; $ok=0; } set_error_handler('sionna'); xslt_errno(); If xslt_errno is configured into php, $ok will be 1. If xslt_errno is not configured into php, the script will die noisily, or quietly if error_reporting(0). Same deal with eval() -- it also doesn't let you probe for undefined functions. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11803edit=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]
Re: [PHP-DEV] What does this error mean?
Hello, this is not a php user mailinglist, please ask this only on the [EMAIL PROTECTED] mailinglist. The other lists you wrote to (php-qa and php-lang) are mostly for development purposes OF php. regards, Derick On Thu, 28 Jun 2001, Jimi Malcolm wrote: I'm trying to from a file in a directory called 'logs'. I've never seen this error before. What does it mean? ERROR Warning: fopen(logs/993700800.log,w+) - Permission denied in /home/sites/site20/users/guide/web/counter.php on line 28 Warning: Supplied argument is not a valid File-Handle resource in /home/sites/site20/users/guide/web/counter.php on line 29 Warning: Supplied argument is not a valid File-Handle resource in /home/sites/site20/users/guide/web/counter.php on line 30 1 END The last two errors are becuase the first fails to return a file handle. Here's the actual offending code. It's just a simple counter. CODE ?PHP $iDate = mktime(0, 0, 0, date(m), date(d), date(Y)); $iCount = 1; $sFile = logs/.$iDate..log; if (file_exists($sFile)) { $iCount = incCount($sFile); } else { createCountLog($sFile); } echo BFONT COLOR=BLUE$iCount/FONR/B; function incCount($sFile) { // Open and read existing count $hCounter = fopen($sFile, r); $iCount = fgets($hCounter, 1024); fclose($hCounter); // Write over it with the new count $hCounter = fopen($sFile, w); fputs($hCounter, ++$iCount); fclose($hCounter); return $iCount; } function createCountLog($sFile) { $hCounter = fopen($sFile, w+); fputs($hCounter, 1); fclose($hCounter); } ? END Usually I've been able to fix every PHP error I've gotten in the past - they've been pretty straightforward - but I've been playing around with this error for a few days now to no avail. I'm new to this mailing list and have never used it before so I'm not sure which one/s to join or post this specific message to. I apologize if this is the wrong forum for this type of question. Thank you for your time. -- Jimi Malcolm Web Content Manager inburst Internet Media inburst.com jimi.malcolm@inburst -- 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] 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 #10589 Updated: buildconf not compatible with Gnu Libtool 1.4
ID: 10589 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Critical Status: Closed Bug Type: *Install and Config Operating system: PHP Version: 4.0 Latest CVS (01/05/2001) Assigned To: Comments: There is already another bug report about the other problems. The issue reported in this one is fixed. Previous Comments: --- [2001-06-28 15:14:55] [EMAIL PROTECTED] No, the libtool 1.4 is seriously bugged.. --- [2001-06-28 05:37:55] [EMAIL PROTECTED] This has been fixed has it not?? Libtool 1.4 works fine for me with latest CVS. CLosing --- [2001-05-09 11:18:33] [EMAIL PROTECTED] Reopened. There are some problems with libtool 1.4 still so we propably won't support for it in 4.0.6. Marked to be fixed before 4.0.7. --Jani --- [2001-05-02 23:44:39] [EMAIL PROTECTED] Fixed in CVS. Thanks for catching this! --Jani --- [2001-05-02 07:47:27] [EMAIL PROTECTED] Any reason why this was closed? --- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10589edit=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 #11790 Updated: Error compiling PHP
ID: 11790 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Compile Failure Operating system: Redhat Linux 5.x PHP Version: 4.0.6 Description: Error compiling PHP I have /usr/include/sys/mount.h but not statfs.h, and not stavfs.h I tried just adding the header files to the dir. (I know it's not the preferred way) but that did not good. I am running gcc version 2.7.2.1 and libc5.3.12 on RH 5.x. I have successfully compiled php-4.0.4pl1 on this machine. Thanks for any help. Previous Comments: --- [2001-06-29 09:41:44] [EMAIL PROTECTED] Do you have following header files: /usr/include/sys/statvfs.h /usr/include/sys/statfs.h /usr/include/sys/mount.h --Jani --- [2001-06-28 23:44:59] [EMAIL PROTECTED] Compiling php4.0.6 on RH libc5.3 server as CGI module, received the following compile error: -- gcc -I. -I/home2/rlm/php-4.0.6/ext/standard -I/home2/rlm/php-4.0.6/main -I/home2/rlm/php-4.0.6 -I/home2/rlm/php-4.0.6/Zend -I/home/rlm/gd1.3/ -I/usr/local/Hughes/include -I/usr/local/mysql3/include -I/home2/rlm/php-4.0.6/ext/xml/expat/xmltok -I/home2/rlm/php-4.0.6/ext/xml/expat/xmlparse -I/home2/rlm/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c filestat.c touch filestat.lo filestat.c: In function `php_if_diskfreespace': filestat.c:157: storage size of `buf' isn't known make[3]: *** [filestat.lo] Error 1 make[3]: Leaving directory `/home2/rlm/php-4.0.6/ext/standard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home2/rlm/php-4.0.6/ext/standard' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home2/rlm/php-4.0.6/ext' make: *** [all-recursive] Error 1 --- configure line: ./configure --enable-force-cgi-redirect --with-mysql=/usr/local/mysql3 --with-msql --bindir=/home/rlm/php-4.0.6 --with-gd=/home/rlm/gd1.3 --with-config-file-path=/home/rlm/php-4.0.6 --- Full Bug description available at: http://bugs.php.net/?id=11790 -- 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 #11807:
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0 Latest CVS (2001-06-29) PHP Bug Type: *Session related Bug description: -- Edit Bug report at: http://bugs.php.net/?id=11807edit=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 probs
[derick@aarde cpdf]$ cvs commit cvs commit: Examining . Checking in cpdf.c; /repository/php4/ext/cpdf/cpdf.c,v -- cpdf.c new revision: 1.27; previous revision: 1.26 done Can't exec /usr/local/bin/cvs: No such file or directory at /repository/CVSROOT/loginfo.pl line 122. Mailing the commit email to [EMAIL PROTECTED] This should be fixed. I don't see any reference to /usr/local/bin/cvs in the repository now. -Rasmus -- 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] What does this error mean?
It is the wrong place, you want php-general. But the error is straight forward, you do NOT have permissions to write to that file. With that said have your system administrator make sure the user that the web server runs as has write access to the directory in which you are attempting to store your files from PHP. -Chris -Original Message- From: Jimi Malcolm [mailto:[EMAIL PROTECTED]] Sent: Thursday, 28 June, 2001 1:18 PM To: [EMAIL PROTECTED] Subject: [PHP-DEV] What does this error mean? I'm trying to from a file in a directory called 'logs'. I've never seen this error before. What does it mean? ERROR Warning: fopen(logs/993700800.log,w+) - Permission denied in /home/sites/site20/users/guide/web/counter.php on line 28 Warning: Supplied argument is not a valid File-Handle resource in /home/sites/site20/users/guide/web/counter.php on line 29 Warning: Supplied argument is not a valid File-Handle resource in /home/sites/site20/users/guide/web/counter.php on line 30 1 END The last two errors are becuase the first fails to return a file handle. Here's the actual offending code. It's just a simple counter. CODE ?PHP $iDate = mktime(0, 0, 0, date(m), date(d), date(Y)); $iCount = 1; $sFile = logs/.$iDate..log; if (file_exists($sFile)) { $iCount = incCount($sFile); } else { createCountLog($sFile); } echo BFONT COLOR=BLUE$iCount/FONR/B; function incCount($sFile) { // Open and read existing count $hCounter = fopen($sFile, r); $iCount = fgets($hCounter, 1024); fclose($hCounter); // Write over it with the new count $hCounter = fopen($sFile, w); fputs($hCounter, ++$iCount); fclose($hCounter); return $iCount; } function createCountLog($sFile) { $hCounter = fopen($sFile, w+); fputs($hCounter, 1); fclose($hCounter); } ? END Usually I've been able to fix every PHP error I've gotten in the past - they've been pretty straightforward - but I've been playing around with this error for a few days now to no avail. I'm new to this mailing list and have never used it before so I'm not sure which one/s to join or post this specific message to. I apologize if this is the wrong forum for this type of question. Thank you for your time. -- Jimi Malcolm Web Content Manager inburst Internet Media inburst.com jimi.malcolm@inburst -- 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] Bug #11805 Updated: missing 3600 seconds between 10/13/2001 and 10/15/2001
ID: 11805 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Date/time related Operating system: PHP Version: 4.0.5 Assigned To: Comments: Does this happen with PHP 4.0.6? (I can't reproduce this with it) Previous Comments: --- [2001-06-29 13:49:51] [EMAIL PROTECTED] Hello, I am trying to write the days between 10/13/2001 and 10/15/20001: $i = mktime(0,0,0,10,13,2001);// -- 1002942000 $j = mktime(0,0,0,10,15,2001);// -- 1003111200 while ( $i = $j ) { echo date(m-d-Y,$i); $i +=86400; } but it stops on 10/14/2001, because 1002942000 ( $i ) + 86400 + 86400 = 1003114800 - 1003111200 ( $j ) -- = 3600 ( should be zero ! ) I 've made a work-around using date(m,d+1,Y), but somebdoy please explain me where are the 3600 seconds that are missing ? Thanks, gabriel --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11805edit=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]
Re: [PHP-DEV] Email change request
On Thu, 28 Jun 2001, Markus Fischer wrote: Can somebody with enough karma please change my forward [EMAIL PROTECTED] from [EMAIL PROTECTED] to [EMAIL PROTECTED] ? Done. Please note that the change might take some hours to become effective. - Sascha Experience IRCG http://schumann.cx/http://schumann.cx/ircg -- 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 #11787: Cannot change Icon Font in display properties while PHP is loaded
From: [EMAIL PROTECTED] Operating system: Win98 (also SE) PHP version: 4.0.5 PHP Bug Type: *General Issues Bug description: Cannot change Icon Font in display properties while PHP is loaded Under Windows 98, or Win98SE, while PHP is loaded (apache module or just run PHP.EXE without parameters) it's impossible to change the icon font in the display properties: Windows shows an hourglass and keeps on waiting forever. Try this: start php. Right-click windows desktop and select Properties. Go to the third tab and select another scheme. Now press OK. Hourglass + wait forever (Press Ctrl+Alt+Del and close Display Properties) This is with the standard configuration php.ini: $Id: php.ini-dist,v 1.73.2.2 2001/04/22 11:58:49 phanto Exp $ I have this problem under (clean) Windows 98 (4.0.1998) and (clean) Windows 98 Second Edition (4.10. A). Both Dutch translations. No gdb backtrace included since PHP itself doesn't crash (btw, it's rulezzz!) but only the Display Properties dialog box. BaSs-Z -- Edit Bug report at: http://bugs.php.net/?id=11787edit=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 #11762 Updated: bad example
ID: 11762 User Update by: [EMAIL PROTECTED] Status: Bogus Bug Type: Documentation problem Operating system: win2k PHP Version: 4.0.5 Description: bad example thx for replying, thx btw, in http://www.php.net/docs.php doucument list file size? may not need if file is small enough file size for compare and decide whether to download ? why not show an document last update date? or document version will be better :P just suggestion, may not post as a reply here Previous Comments: --- [2001-06-28 11:29:28] [EMAIL PROTECTED] Not necessarily. Latest should always be the online manual. And the VERY latest is in CVS. :) --- [2001-06-28 08:23:10] [EMAIL PROTECTED] I think i've downloaded the lastest version of chm file. I do also download it again. isn't the CHM version of document the newest document ? --- [2001-06-27 23:03:36] [EMAIL PROTECTED] You must be looking into old manual or something since the example I see on the getdate() manual page has perfect, working example in it. --- [2001-06-27 22:34:30] [EMAIL PROTECTED] PHP manual getdate (PHP 3, PHP 4 ) getdate -- Get date/time information Description array getdate ([int timestamp]) Example 1. getdate() example $today = getdate(); $month = $today[month]; $mday = $today[mday]; $year = $today[year]; echo $month $mday, $year; --- - $mday = $today[mday]; warnning: Use of undefined constant mday - assumed 'mday' although a undefined constant will be assumed as a string, it's still a bad usage of this auto conversion. php manual writers shouldn't make a bad guide for php learners thx --- Full Bug description available at: http://bugs.php.net/?id=11762 -- 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] no subject (file transmission)
I encountered a problem where the result of a preg_replace was FALSE. This was fed into a switch statement - and I believe PHP executed the the wrong case section. I've tracked this down to preg_replace not really returning FALSE combined with SWITCH executing the first case statement always on either a numeric 0 or BOOLEAN TRUE. As a consequence of auto type conversion, you can't mix STRING/NUMERIC/BOOLEAN within a switch. And with the preg_replace issue, you can't assume all input into your switch will be of one TYPE (BOOLEAN). Aside from changing functions to return real booleans 1. Should type conversion be turned off inside switch() ? 2. If 0 == FALSE then why 0 == ANYTHING ? Chris ? /* auto type conversion is the root of my switch problem */ if (0 == ONE) echo one\n; /* TRUE */ if (1 == TWO) echo two\n; /* FALSE */ if (TRUE == THREE) echo three\n;/* TRUE */ if (FALSE == FOUR) echo four\n; /* FALSE */ if (TRUE == 0) echo hopefully not\n; function preg_false() { return(preg_match(/no/, dXiuehXX)); } /* note the difference between FALSE and preg_false() */ // $match = TRUE; /* prints alpha always */ // $match = 0; /* prints alpha always */ // $match = FALSE; /* prints gamma section */ $match = preg_false(); /* prints alpha always */ if(is_bool($match) == TRUE) echo match is boolean\n; switch($match) { case ALPHA: echo hmm.. alpha\n; break; case BETA: echo hmm.. beta\n; break; case 0: echo hmm.. gamma\n; break; case TRUE: echo hmm.. TRUE\n; break; case FALSE: echo hmm.. FALSE\n; break; } ? -- 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] Assert callback handlers
On Thu, Jun 28, 2001 at 05:42:35PM -0400, Jon Parise wrote: On Thu, Jun 28, 2001 at 05:23:41AM -0600, Zak Greant wrote: Can anyone see any problems with adding array ($object, 'method') syntax to the assert handler functionality? I think that would be fiarly useful, actually. In the past, I've just written whole functions that sort of mimic assert(), but this would be much better. will implement this shortly! tc -- 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
CVS Account Request wrote: Purpose: I would like cvs access so that I can check a bug fix to the sybase_ct module. I need this bug fix to be in the next release of PHP. Just send a diff of your patch to [EMAIL PROTECTED] In order to get a clean build of PHP on VMS, I have to modify 29 of the original source files. In about 1/3 of the files, the only changes are to add a couple casts needed because the compiler feels obliged to warn you that 'char *' and 'unsigned char *' are different data types. The separate diff files are available from: http://www.er6.eng.ohio-state.edu/~jonesd/php/ It would save me some work if at least some of these patches could be rolled into distribution tree. A summary of the changes in these diff files follows: ext/standard/base64.c Added casts to certain function calls to eliminate warnings where original code uses types 'char *' and 'unsigned char *' interchangeably. ext/standard/basic_functions.c Add '#ifdef's to conditionally compile several declarations that refer to syslog (HAVE_SYSLOG_H) and sendmail (HAVE_SENDMAIL). ext/standard/credits.c Give Dave Jones credit for the OpenVMS port. ext/standard/credits_sapi.h Give Dave Jones credit for the OSU sapi. ext/standard/dl.c Modify code to load shareable images via LIB$FIND_IMAGE_SYMBOL on VMS. ext/standard/exec.c Fail, with error message, the passthru function on VMS (pipe incompatibilty). Make main read loop in shell_exec() test for success of buffer alloc/realloc rather than unconditionally attempting to use the returned pointer. Make the main read loop use fgets rather than fread for reading from the pipe (bug in DECCRTL, fread won't detect end-of-data). Since this increases the number of times through the read loop (once for each line of output), change buffer allocation to only grow the receiving buffer when less that PIPE_BUF bytes (the read size) are left. ext/standard/file.c Modify stat function to return dev and rdev as strings rather than numbers and ino as three separate numbers (ino0, ino1, ino2). ext/standard/filestat.c Make chgrp and chown follow the Windows behaviour, changing the relevant #ifndef WINDOWS to #if !defined(WINDOWS) !defined(VMS) Skip groups check in php_stat function. Modify php_stat function to return dev and rdev as strings rather than numbers and ino as three separate numbers (ino0, ino1, ino2). ext/standard/flock_compat.c Emulate flock() function on VMS. Still under development, may work under VMS 7.3 if you enable default shared opens in the C runtime. main/fopen_wrappers.c Modify fopen to include rop=rah (read-ahead record processing option) DECC extension on VMS. Modify fopen to use mode r instead of rb on VMS, allowing standard VMS text files (VAR record format) to be correctly read by the C runtime. When rb is used, DECCRTL does not insert the implied newline at the end of each record into the data stream, making VAR format files appear to only have 1 line. Modify getcwd call to use DECC extension that forces returned directory string to use Unix syntax (/dev/dir). ext/standard/fsock.c Modify test used for domain socket support. Testing for existence of AF_UNIX is inadequate since VMS header files define this but don't define sockaddr_un structure. ext/standard/html.c Added cast to php_escape_html call to eliminate warnings where original code uses types 'char *' and 'unsigned char *' interchangeably. ext/standard/image.c Added casts to certain function calls to eliminate warnings where original code uses types 'char *' and 'unsigned char *' interchangeably. main/internal_functions_w32.c Remove calendar and ftp modules as builtin internal functions. ext/standard/iptc.c Added casts to certain function calls to eliminate warnings where original code uses types 'char *' and 'unsigned char *' interchangeably. main/main.c Added casts to certain function calls to eliminate warnings where original code uses types 'char *' and 'unsigned char *' interchangeably. ext/standard/md5.c Added casts to certain function calls to eliminate warnings where original code uses types 'char *' and 'unsigned char *' interchangeably. ext/standard/microtime.c Define a timezone struct on VMS since not defined by the header files. main/network.c Modify the header file references needed for TCP/IP function calls. ext/standard/output.c Added casts to certain function call to eliminate warning where original code uses types 'int *' and 'unsigned int *' interchangeably.
Re: [PHP-DEV] Bug #11789: Apache can't start
I see this a lot when the LD_LIBRARY_PATH is not set correctly to load the Sybase libraries. Double check that type of stuff. [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: Linux 2.4.5 PHP version: 4.0.6 PHP Bug Type: Sybase-ct (ctlib) related Bug description: Apache can't start When I launch apache with sybase_ct, I've got following messages : DRK01:/soft/apache/bin# ./apachectl start ./apachectl: line 184: 15557 Segmentation fault $HTTPD ./apachectl start: httpd could not be started Sybase Version : 11.9.2 $SYBASE environment variable is correctly set There's nothing in apache's logs There's nothing in dmesg's output Do you have any idea ? Thanks for your answer @++ JC -- Edit Bug report at: http://bugs.php.net/?id=11789edit=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] CVS Account Request
Full name: Simone Cortesi Email: [EMAIL PROTECTED] ID: cortesi Purpose: Hi, i will be helping Luca Perugini ([EMAIL PROTECTED]) in the italian translation of the PHP manual, I\'ve already translated some xml files in italian. I have knowledge of how CVS work and would like to have commit right to the italian part of the doc tree. thanks, Simone. -- 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 #11797: CC and BCC don't work in mail() function
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.4 PHP Bug Type: Mail related Bug description: CC and BCC don't work in mail() function I'm using php 4.0.4 on Windows 2000 with IIS. The mail() function is working perfect, except the CC and BCC options. I tried the following: \nBCC: \r\nBCC: \nBcc: \r\nBcc: and the same with CC. No result. -- Edit Bug report at: http://bugs.php.net/?id=11797edit=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 #11799: OCIFetchInto/OCI_NUM starts the array at 0 not at 1 as stated in the doc
From: [EMAIL PROTECTED] Operating system: Win2000 PHP version: 4.0.4pl1 PHP Bug Type: OCI8 related Bug description: OCIFetchInto/OCI_NUM starts the array at 0 not at 1 as stated in the doc $cur=OCIParse($conn, $query); OCIExecute($cur); OCIFetchInto($cur, $result,OCI_NUM); -- $result starts at [0] and not at [1] as written in the documentation -- Edit Bug report at: http://bugs.php.net/?id=11799edit=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] 'Global' variable scope.
because it's not global. global variables are those not defined within any function, method, or object. and please, ask further questions like this in php-general@ At 13:01 6/29/2001, John Parker wrote the following: -- Hi, all. I'm just wondering why a variable defined within a function is not available as a global to functions called from the same scope. There's probably a really good reason for this, but I'm not sure I know what it is. Feel free to educate me. Ta muchly, JP. --- Code example follows --- ?PHP // Simple global variable scope test. Function startTests() { $G_test = Hello, World.; globalTest(); } Function globalTest() { global $G_test; if (isset($G_test)) { echo (Global variable 'test' - value: 'B.$G_test./B'.P\n); } else echo (Global variable 'test' is not set.P\n); }? -- John Parker email: [EMAIL PROTECTED] Internet Project Manager/Software Engineer web:www.itchannel.net itCHANNEL International Ltd. tel: +44 (0) 1202 291939 -- 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] --end of quote-- [EMAIL PROTECTED] - And the eyes of them both were opened and they saw that their files were world readable and writable, so they chmoded 600 their files. - Book of Installation chapt 3 sec 7 -- 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 #11761 Updated: LC_CTYPE undeclared
ID: 11761 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Compile Failure Operating system: HP-UX 11.00 PHP Version: 4.0.6 Description: LC_CTYPE undeclared I do have /usr/include/locale.h. In the php_config.h file, the only line matching 'HAVE_LOCALE_H' is: /* #undef HAVE_LOCALE_H */ Is configure not finding my header file? Previous Comments: --- [2001-06-28 11:33:59] [EMAIL PROTECTED] Do you have /usr/include/locale.h ? Can you find this line in php4/main/php_config.h: #define HAVE_LOCALE_H 1 --- [2001-06-27 20:44:14] [EMAIL PROTECTED] Compile with either that static or DSO method fails on HP-UX 11.00. Config command (from static): ./configure --prefix=/opt/php4 --with-apache=../apache_1.3.19 --disable-debug --enable-inline-optimization --with-exec-dir=/opt/php4/bin --with-d bm --enable-debugger --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-track-vars --enable-yp --enable-ftp --without-mysql --without-oracle --without-oci8 End of make output: gcc -I. -I/tmp/php-4.0.6/ext/pcre -I/tmp/php-4.0.6/main -I/tmp/php-4.0.6 -I/tmp/apache_1.3.19/src/include -I/tmp/apache_1.3.19/src/os/unix -I/tmp/php-4.0.6/Zend -I/tmp/php-4.0.6/ext/xml/expat/xmltok -I/tmp/php-4.0.6/ext/xml/expat/xmlparse -I/tmp/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c php_pcre.c touch php_pcre.lo In file included from /tmp/php-4.0.6/Zend/../main/php_config.h:1931, from /tmp/php-4.0.6/Zend/zend_config.h:1, from /tmp/php-4.0.6/Zend/zend.h:44, from /tmp/php-4.0.6/main/php.h:34, from php_pcre.c:25: /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:26: warning: `__va__list' redefined /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: this is the location of the previous definition php_pcre.c: In function `pcre_get_compiled_regex': php_pcre.c:158: `LC_CTYPE' undeclared (first use in this function) php_pcre.c:158: (Each undeclared identifier is reported only once php_pcre.c:158: for each function it appears in.) php_pcre.c:158: warning: initialization makes pointer from integer without a cast *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop. Tried with LANG=C and LANG undefined - no difference... --- Full Bug description available at: http://bugs.php.net/?id=11761 -- 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] Karma request
*sg* Yes, I was in my anonymous tree. Sorry for the noise. On Fri, 29 Jun 2001, Rasmus Lerdorf wrote the following to Joey Smith : Can I get karma in ext/sybase and ext/sybase_ct again? You do -- 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 #11761 Updated: LC_CTYPE undeclared
ID: 11761 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Operating system: HP-UX 11.00 PHP Version: 4.0.6 Description: LC_CTYPE undeclared I was able to work around the problem by adding: #define HAVE_LOCALE_H 1 in main/php_config.h However, I am still concerned at why that particular header file was not found. Previous Comments: --- [2001-06-29 17:12:30] [EMAIL PROTECTED] I do have /usr/include/locale.h. In the php_config.h file, the only line matching 'HAVE_LOCALE_H' is: /* #undef HAVE_LOCALE_H */ Is configure not finding my header file? --- [2001-06-28 11:33:59] [EMAIL PROTECTED] Do you have /usr/include/locale.h ? Can you find this line in php4/main/php_config.h: #define HAVE_LOCALE_H 1 --- [2001-06-27 20:44:14] [EMAIL PROTECTED] Compile with either that static or DSO method fails on HP-UX 11.00. Config command (from static): ./configure --prefix=/opt/php4 --with-apache=../apache_1.3.19 --disable-debug --enable-inline-optimization --with-exec-dir=/opt/php4/bin --with-d bm --enable-debugger --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-track-vars --enable-yp --enable-ftp --without-mysql --without-oracle --without-oci8 End of make output: gcc -I. -I/tmp/php-4.0.6/ext/pcre -I/tmp/php-4.0.6/main -I/tmp/php-4.0.6 -I/tmp/apache_1.3.19/src/include -I/tmp/apache_1.3.19/src/os/unix -I/tmp/php-4.0.6/Zend -I/tmp/php-4.0.6/ext/xml/expat/xmltok -I/tmp/php-4.0.6/ext/xml/expat/xmlparse -I/tmp/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c php_pcre.c touch php_pcre.lo In file included from /tmp/php-4.0.6/Zend/../main/php_config.h:1931, from /tmp/php-4.0.6/Zend/zend_config.h:1, from /tmp/php-4.0.6/Zend/zend.h:44, from /tmp/php-4.0.6/main/php.h:34, from php_pcre.c:25: /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:26: warning: `__va__list' redefined /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: this is the location of the previous definition php_pcre.c: In function `pcre_get_compiled_regex': php_pcre.c:158: `LC_CTYPE' undeclared (first use in this function) php_pcre.c:158: (Each undeclared identifier is reported only once php_pcre.c:158: for each function it appears in.) php_pcre.c:158: warning: initialization makes pointer from integer without a cast *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop. Tried with LANG=C and LANG undefined - no difference... --- Full Bug description available at: http://bugs.php.net/?id=11761 -- 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 #11806 Updated: Using $string = md5($string); crashed HTTP child processes
ID: 11806 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Reproducible crash Operating system: PHP Version: 4.0.6 Assigned To: Comments: Can you please post your script as .txt file on the web, so that I can check how the $cipher is generated? And is it possibly for you to make a backtrace of this crash (http://www.php.net/bugs-generating-backtrace.php) as I couldn't reproduce it. Derick Previous Comments: --- [2001-06-29 14:04:25] [EMAIL PROTECTED] PHP Options: './configure' '--with-mysql' '--with-gd' '--enable-track-vars' '--with-jpeg-dir=/usr/local/lib' '--enable-bcmath' '--with-apache=../apache_1.3.20' '--enable-ftp' '--enable-sockets' '--with-mcrypt' The problem I am having is: When using the code: $cipher = md5($cipher); httpd crashes the current child process with: [Fri Jun 29 10:54:49 2001] [notice] child pid 9766 exit signal Segmentation fault (11) [Fri Jun 29 10:54:50 2001] [notice] child pid 9920 exit signal Segmentation fault (11) The page then fails to load, returning nothing to the browser. Also, I have another function called CleanSring($string); which looks like: function CleanString($string) { $string = strip_tags($string); $string = preg_replace(//?(html|head|meta|title|body|font|img|.jpg|.gif|.vbs|script|tr|table|text).*/,,$string); $string = preg_replace(//?(HTML|HEAD|META|TITLE|BODY|FONT|IMG|.JPG|.GIF|.VBS|SCRIPT|TR|TABLE|TEXT).*/,,$string); $string = preg_replace(/[^]*/,,$string); return $string; } Calling this function like: $string = CleanString($string); causes the same problem. Whats weird is I call md5() again below the problem code: $now = date(r); $thisID = md5(substr(makeID(), 0, 16)); $onetimepass = substr(md5($thisID), 0, 8); And neither of these causes the same problem, even when being used in the same document. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11806edit=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] array_key and array_value
Hello php-dev, $a = array ( 'one' = '1', 'two' = '2', 'three' = '3', ); $k = array_keys($a); $v = array_value($a); Whether the condition will be true: $a[$k[$i]] == $v[$i] ? for $i from 0 to count($a)-1 P.S. This question has arisen as perl (for example) does not guarantee the order elements in hash. 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]
Re: [PHP-DEV] 'Global' variable scope.
That's simply not the way things work. Local variables are local to the context of the function that declared them, and are not supposed to be accessible from any other context, including that of nested function calls (that's how most languages behave). At 14:01 29/6/2001, John Parker wrote: Hi, all. I'm just wondering why a variable defined within a function is not available as a global to functions called from the same scope. There's probably a really good reason for this, but I'm not sure I know what it is. Feel free to educate me. Ta muchly, JP. --- Code example follows --- ?PHP // Simple global variable scope test. Function startTests() { $G_test = Hello, World.; globalTest(); } Function globalTest() { global $G_test; if (isset($G_test)) { echo (Global variable 'test' - value: 'B.$G_test./B'.P\n); } else echo (Global variable 'test' is not set.P\n); }? -- John Parker email: [EMAIL PROTECTED] Internet Project Manager/Software Engineer web:www.itchannel.net itCHANNEL International Ltd. tel: +44 (0) 1202 291939 -- 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] -- Zeev Suraski [EMAIL PROTECTED] CTO co-founder, Zend Technologies Ltd. http://www.zend.com/ -- 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 #11807 Updated:
ID: 11807 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: *Session related Operating system: PHP Version: 4.0 Latest CVS (2001-06-29) Assigned To: Comments: Previous Comments: --- [2001-06-29 14:42:19] [EMAIL PROTECTED] --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11807edit=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 #11785 Updated: mysql_unbuffered_query and mysql_query failure.
ID: 11785 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: MySQL related Operating system: PHP Version: 4.0.6 Assigned To: Comments: Try putting this line after the mysql_unbuffered_query line. You'll probably see the error that MySQL returns. This is most likely a bug in PHP. Derick Previous Comments: --- [2001-06-28 13:40:17] [EMAIL PROTECTED] I have mysql table with over 6 records inside. code: $sql = SELECT * FROM database.table ORDER BY field; $result = mysql_unbuffered_query($sql) or die(Error!); does not work at all but displays Error! code: $sql = SELECT * FROM database.table ORDER BY field limit 1,1000; $result = mysql_unbuffered_query($sql) or die(Error!); works fine. code: $sql = SELECT * FROM database.table; $result = mysql_unbuffered_query($sql) or die(Error!); works fine. Moreover , there is exactly the same problem with mysql_query() function... My system is: PHP: 4.0.6 MySQL: 3.23.22 Linux Kernel: 2.2.17-14 Help!!! --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11785edit=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 #11790 Updated: Error compiling PHP
ID: 11790 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Duplicate Bug Type: Compile Failure Operating system: PHP Version: 4.0.6 Assigned To: Comments: Dup of: 11776 Previous Comments: --- [2001-06-29 14:32:35] [EMAIL PROTECTED] I have /usr/include/sys/mount.h but not statfs.h, and not stavfs.h I tried just adding the header files to the dir. (I know it's not the preferred way) but that did not good. I am running gcc version 2.7.2.1 and libc5.3.12 on RH 5.x. I have successfully compiled php-4.0.4pl1 on this machine. Thanks for any help. --- [2001-06-29 09:41:44] [EMAIL PROTECTED] Do you have following header files: /usr/include/sys/statvfs.h /usr/include/sys/statfs.h /usr/include/sys/mount.h --Jani --- [2001-06-28 23:44:59] [EMAIL PROTECTED] Compiling php4.0.6 on RH libc5.3 server as CGI module, received the following compile error: -- gcc -I. -I/home2/rlm/php-4.0.6/ext/standard -I/home2/rlm/php-4.0.6/main -I/home2/rlm/php-4.0.6 -I/home2/rlm/php-4.0.6/Zend -I/home/rlm/gd1.3/ -I/usr/local/Hughes/include -I/usr/local/mysql3/include -I/home2/rlm/php-4.0.6/ext/xml/expat/xmltok -I/home2/rlm/php-4.0.6/ext/xml/expat/xmlparse -I/home2/rlm/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c filestat.c touch filestat.lo filestat.c: In function `php_if_diskfreespace': filestat.c:157: storage size of `buf' isn't known make[3]: *** [filestat.lo] Error 1 make[3]: Leaving directory `/home2/rlm/php-4.0.6/ext/standard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home2/rlm/php-4.0.6/ext/standard' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home2/rlm/php-4.0.6/ext' make: *** [all-recursive] Error 1 --- configure line: ./configure --enable-force-cgi-redirect --with-mysql=/usr/local/mysql3 --with-msql --bindir=/home/rlm/php-4.0.6 --with-gd=/home/rlm/gd1.3 --with-config-file-path=/home/rlm/php-4.0.6 --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11790edit=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]
Re: [PHP-DEV] RE: Bug #11749 Updated: Unserialize dies with Apache Module but is FINE with CGI
On Fri, Jun 29, 2001 at 03:31:25AM -0700, Brian Tanner wrote: You may consider it fixed if you like. However... the data file failed to load in Module, and did load in CGI. Shouldn't they be identical? yes they should. but there should be _no_ difference in the fopen() PHP function between the module and the cgi. if there is a difference than the environment bewteen the two must be different! there's not a lot we can do from here -plus- it's obvious that you _must_ use binary mode for files that contain serialized data with CR in them! tc -- 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 #11786 Updated: Problems with variables from forms posting.
ID: 11786 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Operating system: PHP Version: 4.0.6 Assigned To: Comments: This data should be in $HTTP_RAW_POST_DATA. If PHP does not see the default enctype, it stores the post data in this variable. Derick Previous Comments: --- [2001-06-28 13:44:21] [EMAIL PROTECTED] I used standard binary for Windows 2000(msi) - Apache 1.3.20 and PHP 4.0.6 (standard, module not cgi) When i put enctype=text/plain in form's attributes list, there are no variables in environment neither in global tables $HTTP_ENV_VARS, etc... after form submit. --- [2001-06-28 13:41:58] [EMAIL PROTECTED] I used standard binary for Windows 2000(msi) - Apache 1.3.20 and PHP 4.0.6 (standard, module not cgi) When i put enctype=text/plain in form's attributes list, there are no variables in environment neither in global tables $HTTP_ENV_VARS, etc... --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11786edit=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 #11797 Updated: CC and BCC don't work in mail() function
ID: 11797 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Mail related Operating system: PHP Version: 4.0.4 Assigned To: Comments: The following should work fine. Can you check it? mail ([EMAIL PROTECTED], Subject, Body, Cc:[EMAIL PROTECTED]); Previous Comments: --- [2001-06-29 04:31:24] [EMAIL PROTECTED] I'm using php 4.0.4 on Windows 2000 with IIS. The mail() function is working perfect, except the CC and BCC options. I tried the following: nBCC: rnBCC: nBcc: rnBcc: and the same with CC. No result. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11797edit=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 #11761 Updated: LC_CTYPE undeclared
ID: 11761 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Operating system: HP-UX 11.00 PHP Version: 4.0.6 Description: LC_CTYPE undeclared I was able to work around the problem by adding: #define HAVE_LOCALE_H 1 in main/php_config.h However, I am still concerned at why that particular header file was not found. Previous Comments: --- [2001-06-29 17:14:05] [EMAIL PROTECTED] I was able to work around the problem by adding: #define HAVE_LOCALE_H 1 in main/php_config.h However, I am still concerned at why that particular header file was not found. --- [2001-06-29 17:12:30] [EMAIL PROTECTED] I do have /usr/include/locale.h. In the php_config.h file, the only line matching 'HAVE_LOCALE_H' is: /* #undef HAVE_LOCALE_H */ Is configure not finding my header file? --- [2001-06-28 11:33:59] [EMAIL PROTECTED] Do you have /usr/include/locale.h ? Can you find this line in php4/main/php_config.h: #define HAVE_LOCALE_H 1 --- [2001-06-27 20:44:14] [EMAIL PROTECTED] Compile with either that static or DSO method fails on HP-UX 11.00. Config command (from static): ./configure --prefix=/opt/php4 --with-apache=../apache_1.3.19 --disable-debug --enable-inline-optimization --with-exec-dir=/opt/php4/bin --with-d bm --enable-debugger --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-track-vars --enable-yp --enable-ftp --without-mysql --without-oracle --without-oci8 End of make output: gcc -I. -I/tmp/php-4.0.6/ext/pcre -I/tmp/php-4.0.6/main -I/tmp/php-4.0.6 -I/tmp/apache_1.3.19/src/include -I/tmp/apache_1.3.19/src/os/unix -I/tmp/php-4.0.6/Zend -I/tmp/php-4.0.6/ext/xml/expat/xmltok -I/tmp/php-4.0.6/ext/xml/expat/xmlparse -I/tmp/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c php_pcre.c touch php_pcre.lo In file included from /tmp/php-4.0.6/Zend/../main/php_config.h:1931, from /tmp/php-4.0.6/Zend/zend_config.h:1, from /tmp/php-4.0.6/Zend/zend.h:44, from /tmp/php-4.0.6/main/php.h:34, from php_pcre.c:25: /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:26: warning: `__va__list' redefined /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: this is the location of the previous definition php_pcre.c: In function `pcre_get_compiled_regex': php_pcre.c:158: `LC_CTYPE' undeclared (first use in this function) php_pcre.c:158: (Each undeclared identifier is reported only once php_pcre.c:158: for each function it appears in.) php_pcre.c:158: warning: initialization makes pointer from integer without a cast *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop. Tried with LANG=C and LANG undefined - no difference... --- Full Bug description available at: http://bugs.php.net/?id=11761 -- 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 #11703 Updated: Failed opening prepend.php3
ID: 11703 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Scripting Engine problem Operating system: Solaris 8 PHP Version: 4.0.6 Description: Failed opening prepend.php3 Here is the prepend.php3 file. It comes from the phplib distributed with HORDE ?php /* * Session Management for PHP3 * * Copyright (c) 1998,1999 SH Online Dienst GmbH *Boris Erdmann, Kristian Koehntopp * * $Id: prepend.php3,v 1.1.2.4 2000/09/08 20:55:27 bjn Exp $ * */ if (empty($_PHPLIB) || !is_array($_PHPLIB)) { # Aren't we nice? We are prepending this everywhere # we require or include something so you can fake # include_path when hosted at provider that sucks. $_PHPLIB[libdir] = ; } require($_PHPLIB[libdir] . db_mysql.inc); /* Change this to match your database. */ require($_PHPLIB[libdir] . ct_sql.inc);/* Change this to match your data storage container */ require($_PHPLIB[libdir] . session.inc); /* Required for everything below. */ /* Additional require statements go below this line */ /* Additional require statements go before this line */ require($_PHPLIB[libdir] . local.inc); /* Required, contains your local configuration. */ require($_PHPLIB[libdir] . page.inc); /* Required, contains the page management functions. */ ? Previous Comments: --- [2001-06-29 23:51:51] [EMAIL PROTECTED] I don't see it here. You have to attach it to this bug report.. --- [2001-06-29 18:41:42] [EMAIL PROTECTED] Sniper - I sent my prepend.php3 file. Did you get it? --- [2001-06-27 09:00:19] [EMAIL PROTECTED] What is in the file prepend.php3 ?? --- [2001-06-26 14:54:23] [EMAIL PROTECTED] The comment should read I commented out the auto-prepend-file directive in php.ini and got a 'test.php' file to run phpinfo. --- [2001-06-26 14:52:25] [EMAIL PROTECTED] I commented out the auto-prepend-file directive and a 'test.php' file to run phpinfo. --- 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=11703 -- 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 #11762 Updated: bad example
ID: 11762 User Update by: [EMAIL PROTECTED] Status: Bogus Bug Type: Documentation problem Operating system: win2k PHP Version: 4.0.5 Description: bad example thank u all :)) Previous Comments: --- [2001-06-29 13:27:31] [EMAIL PROTECTED] OK, as you suggested dates are printed now. You can see, that nearly all files are autogenerated daily (dispite what I said before) except the CHM version (and the temp unavailable PDF). We will update the CHM versions soon. Anyway, this way the full table listing is **UGLY**. Is there anybody with a better layout tip? Ps. I used the RFC date type date('r, $changed) to be world wide compatible (though it is very long...). --- [2001-06-29 12:36:12] [EMAIL PROTECTED] There will be some date info also on that page. I'll do it ASAP. It was on my todo list for a week now. Well, dates are much important, but sizes are also usable, when you need to choose from .zip or .tar.gz, while your zip program handles both of them. It is true, that PDFs, CHMs and Palm docs are behind, but just because we have no **automated** process to do it. Everything else is automated (text and HTML). This is also on our __long time__ todo list to implement some automated CHM generation on Unix (it is not easy to do :). --- [2001-06-28 17:59:26] [EMAIL PROTECTED] I'm planning to update the CHM versions soon now, as lots of things have been changed. I hope I can do it this weekend. Derick --- [2001-06-28 17:22:12] [EMAIL PROTECTED] My apologies.. I responded before I realized that the mailing lists are 12-14 hrs behind. I didn't think to read the bug report on the page to make sure no one responded to it already. --- [2001-06-28 17:21:03] [EMAIL PROTECTED] I believe that the PDF and CHM version of the module always lag behind due to the amount of work it takes to package them up. If you are ever in doubt, please check the online html manual first. You can visit it directly at: http://php.net/manual/ --- 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=11762 -- 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 #11782 Updated: Select from Array
ID: 11782 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: ODBC related Operating system: PHP Version: 4.0.6 Assigned To: Comments: this looks like an ODBC driver incompatibility between the NT version and the Openlink driver, it is most likely not related to PHP at all, as PHP does only pass it on from ODBC to its error log you should report this error to the OpenLink maintainers instead IMHO Previous Comments: --- [2001-06-28 11:34:06] [EMAIL PROTECTED] When I run an odbc_exec from PHP-4.0.2 which connects to a Progress 83C database in order to retreive an array field as follows: select name,narrative@1 from customer I get an SQL syntax error as follows: Warning SQL Error [OpenLink][ODBC] Syntax error or access, SQL State 37000 in SQLExecDIRECT It works on NT. It would seem that PHP don't like the @ sign, How can I get it to like it. TIA Aubrey --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11782edit=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 #11805 Updated: missing 3600 seconds between 10/13/2001 and 10/15/2001
ID: 11805 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: Date/time related Operating system: PHP Version: 4.0.5 Assigned To: Comments: daylight saving time ! look for the optional seventh parameter to mktime on http://php.net/mktime Previous Comments: --- [2001-06-29 14:52:12] [EMAIL PROTECTED] Does this happen with PHP 4.0.6? (I can't reproduce this with it) --- [2001-06-29 13:49:51] [EMAIL PROTECTED] Hello, I am trying to write the days between 10/13/2001 and 10/15/20001: $i = mktime(0,0,0,10,13,2001);// -- 1002942000 $j = mktime(0,0,0,10,15,2001);// -- 1003111200 while ( $i = $j ) { echo date(m-d-Y,$i); $i +=86400; } but it stops on 10/14/2001, because 1002942000 ( $i ) + 86400 + 86400 = 1003114800 - 1003111200 ( $j ) -- = 3600 ( should be zero ! ) I 've made a work-around using date(m,d+1,Y), but somebdoy please explain me where are the 3600 seconds that are missing ? Thanks, gabriel --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11805edit=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 #11685 Updated: Bad Auto-Cast
ID: 11685 User Update by: Hot Soon[EMAIL PROTECTED] Status: Closed Bug Type: Scripting Engine problem Operating system: Windows 98 SE PHP Version: 4.0.6 Description: Bad Auto-Cast Previous Comments: --- [2001-06-26 07:55:20] [EMAIL PROTECTED] Indeed, +, -, and * 'autocasting' doesn't work in negative direction, only positive. --- [2001-06-26 01:30:13] Hot Soon[EMAIL PROTECTED] Just run this program: ?php $var=-1073741824; #^ Here! $var*=2;$var*=2; var_dump($var); ? It will print out int(0). but I believe it should print outint(-2147483648) or float(-2147483648) like this program: ?php $var=1073741824; #^ Here! $var*=2;$var*=2; var_dump($var); ? --- Full Bug description available at: http://bugs.php.net/?id=11685 -- 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 #11797 Updated: CC and BCC don't work in mail() function
ID: 11797 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Assigned Bug Type: Mail related Operating system: PHP Version: 4.0.4 Assigned To: Comments: mail code on windows badly needs a rewrite right now it will only find a single Cc: line, is case sensitive on comparing againgst Cc: (so CC: wont work) and ignores Bcc: all together Previous Comments: --- [2001-06-30 04:33:40] [EMAIL PROTECTED] The following should work fine. Can you check it? mail ([EMAIL PROTECTED], Subject, Body, Cc:[EMAIL PROTECTED]); --- [2001-06-29 04:31:24] [EMAIL PROTECTED] I'm using php 4.0.4 on Windows 2000 with IIS. The mail() function is working perfect, except the CC and BCC options. I tried the following: nBCC: rnBCC: nBcc: rnBcc: and the same with CC. No result. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11797edit=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 #11761 Updated: LC_CTYPE undeclared
ID: 11761 Updated by: sniper Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Operating system: PHP Version: 4.0.6 Assigned To: Comments: User feedback (next time, use the WEB interface to answer): --- I do have /usr/include/locale.h. In the php_config.h file, the only line matching 'HAVE_LOCALE_H' is: /* #undef HAVE_LOCALE_H */ Is configure not finding my header file? --- Previous Comments: --- [2001-06-29 17:48:56] [EMAIL PROTECTED] I was able to work around the problem by adding: #define HAVE_LOCALE_H 1 in main/php_config.h However, I am still concerned at why that particular header file was not found. --- [2001-06-29 17:14:05] [EMAIL PROTECTED] I was able to work around the problem by adding: #define HAVE_LOCALE_H 1 in main/php_config.h However, I am still concerned at why that particular header file was not found. --- [2001-06-29 17:12:30] [EMAIL PROTECTED] I do have /usr/include/locale.h. In the php_config.h file, the only line matching 'HAVE_LOCALE_H' is: /* #undef HAVE_LOCALE_H */ Is configure not finding my header file? --- [2001-06-28 11:33:59] [EMAIL PROTECTED] Do you have /usr/include/locale.h ? Can you find this line in php4/main/php_config.h: #define HAVE_LOCALE_H 1 --- [2001-06-27 20:44:14] [EMAIL PROTECTED] Compile with either that static or DSO method fails on HP-UX 11.00. Config command (from static): ./configure --prefix=/opt/php4 --with-apache=../apache_1.3.19 --disable-debug --enable-inline-optimization --with-exec-dir=/opt/php4/bin --with-d bm --enable-debugger --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-track-vars --enable-yp --enable-ftp --without-mysql --without-oracle --without-oci8 End of make output: gcc -I. -I/tmp/php-4.0.6/ext/pcre -I/tmp/php-4.0.6/main -I/tmp/php-4.0.6 -I/tmp/apache_1.3.19/src/include -I/tmp/apache_1.3.19/src/os/unix -I/tmp/php-4.0.6/Zend -I/tmp/php-4.0.6/ext/xml/expat/xmltok -I/tmp/php-4.0.6/ext/xml/expat/xmlparse -I/tmp/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c php_pcre.c touch php_pcre.lo In file included from /tmp/php-4.0.6/Zend/../main/php_config.h:1931, from /tmp/php-4.0.6/Zend/zend_config.h:1, from /tmp/php-4.0.6/Zend/zend.h:44, from /tmp/php-4.0.6/main/php.h:34, from php_pcre.c:25: /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:26: warning: `__va__list' redefined /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: this is the location of the previous definition php_pcre.c: In function `pcre_get_compiled_regex': php_pcre.c:158: `LC_CTYPE' undeclared (first use in this function) php_pcre.c:158: (Each undeclared identifier is reported only once php_pcre.c:158: for each function it appears in.) php_pcre.c:158: warning: initialization makes pointer from integer without a cast *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop. Tried with LANG=C and LANG undefined - no difference... --- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11761edit=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 #11762 Updated: bad example
ID: 11762 Updated by: cynic Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Documentation problem Operating system: PHP Version: 4.0.5 Assigned To: Comments: Hi goba, how about: +---+-+---+---++ | Language | Format | Filename | Size | Date | +---+-+---+---++ | | Single HTML | html.gz | 123kB | a date | | +-+---+---++ | | Plaintext | txt.gz| 456kB | a date | | +-+---+---++ | | Many HTML files | tar.gz| 789kB | a date | | English | | .zip | 1.2MB | a date | | +-+---+---++ | | PDF | txt.gz| 456kB | a date | | +-+---+---++ | | PalmPilot DOC | doc.pdb | 456kB | a date | | +-+---+---++ | | PalmPilot iSilo | isilo.pdb | 456kB | a date | | +-+---+---++ | | Windows HTMLHlp | chm | 456kB | a date | +---+-+---+---++ you get the idea. Previous Comments: --- [2001-06-29 23:11:01] [EMAIL PROTECTED] thank u all :)) --- [2001-06-29 13:27:31] [EMAIL PROTECTED] OK, as you suggested dates are printed now. You can see, that nearly all files are autogenerated daily (dispite what I said before) except the CHM version (and the temp unavailable PDF). We will update the CHM versions soon. Anyway, this way the full table listing is **UGLY**. Is there anybody with a better layout tip? Ps. I used the RFC date type date('r, $changed) to be world wide compatible (though it is very long...). --- [2001-06-29 12:36:12] [EMAIL PROTECTED] There will be some date info also on that page. I'll do it ASAP. It was on my todo list for a week now. Well, dates are much important, but sizes are also usable, when you need to choose from .zip or .tar.gz, while your zip program handles both of them. It is true, that PDFs, CHMs and Palm docs are behind, but just because we have no **automated** process to do it. Everything else is automated (text and HTML). This is also on our __long time__ todo list to implement some automated CHM generation on Unix (it is not easy to do :). --- [2001-06-28 17:59:26] [EMAIL PROTECTED] I'm planning to update the CHM versions soon now, as lots of things have been changed. I hope I can do it this weekend. Derick --- [2001-06-28 17:22:12] [EMAIL PROTECTED] My apologies.. I responded before I realized that the mailing lists are 12-14 hrs behind. I didn't think to read the bug report on the page to make sure no one responded to it already. --- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11762edit=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 #11808: any php program cant be exe. a masseg cannot execute html file .....
From: [EMAIL PROTECTED] Operating system: win98 PHP version: 4.0.4 PHP Bug Type: PWS related Bug description: any php program cant be exe. a masseg cannot execute html file . -- Edit Bug report at: http://bugs.php.net/?id=11808edit=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 #11809: Make install fails: apxs: error: unknown option: S
From: [EMAIL PROTECTED] Operating system: Redhat 6.2 PHP version: 4.0.6 PHP Bug Type: Compile Failure Bug description: Make install fails: apxs: error: unknown option: S I use Apache 1.3.2 on a Cobalt RaQ2 I used: ./configure --with-mysql --with-apxs --with-enable-track-vars make also didn't give any problems. make install gives an error: make[1]: Entering directory `/home/tmp/php4/php-4.0.6' /home/tmp/php4/php-4.0.6/build/shtool mkdir -p /usr/lib/apache /usr/sbin/ap xs -S LIBEXECDIR=/usr/lib/apache -i -a -n php4 libs/libphp4.so apxs:Error: Unknown option: S Usage: apxs -g -n modname apxs -q query ... apxs -c [-o dsofile] [-D name[=value]] [-I incdir] [-L libdir] [-l libname] files ... apxs -i [-a] [-n modname] dsofile ... make[1]: *** [install-sapi] Error 1 make[1]: Leaving directory `/home/tmp/php4/php-4.0.6' make: *** [install-recursive] Error 1 -- Edit Bug report at: http://bugs.php.net/?id=11809edit=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 #11656 Updated: Server cannot startup since PHP 4.0.5
ID: 11656 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: iPlanet related Operating system: PHP Version: 4.0.6 Assigned To: Comments: closed then. Previous Comments: --- [2001-06-29 07:22:46] [EMAIL PROTECTED] The suggestion by avsm did help! Thanks you very much! --- [2001-06-27 13:29:53] [EMAIL PROTECTED] status - feedback.. --- [2001-06-27 13:29:42] [EMAIL PROTECTED] Does the suggestion on this bug report (by avsm) help? http://www.php.net/bugs.php?id=9612edit=1 --Jani --- [2001-06-25 07:16:27] [EMAIL PROTECTED] I compiled and installed PHP 4.0.4pl1 successfully for use with iPlanet Web Server 4.1. As I wanted to install the new version (4.0.5 and 4.0.6), the iPlanet webserver didn't restart anymore. I used the same configure directive for all installations! configure directive: ./configure --with-mysql=/usr/local/mysql --with-nsapi=/export/home/server4/ --enable-track-vars iplanet error response: start failed. (2: unknown early startup error) server terminated (signal 6): watchdog is restarting it failure: server initialization failed --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11656edit=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 #11703 Updated: Failed opening prepend.php3
ID: 11703 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Scripting Engine problem Operating system: Solaris 8 PHP Version: 4.0.6 Description: Failed opening prepend.php3 Sniper - I sent my prepend.php3 file. Did you get it? Previous Comments: --- [2001-06-27 09:00:19] [EMAIL PROTECTED] What is in the file prepend.php3 ?? --- [2001-06-26 14:54:23] [EMAIL PROTECTED] The comment should read I commented out the auto-prepend-file directive in php.ini and got a 'test.php' file to run phpinfo. --- [2001-06-26 14:52:25] [EMAIL PROTECTED] I commented out the auto-prepend-file directive and a 'test.php' file to run phpinfo. --- [2001-06-26 13:06:13] [EMAIL PROTECTED] PHP compiled with imap support. I get this: Warning: Failed opening ''/opt/apache/php/prepend.php3'' for inclusion (include_path=''.:/opt/apache/php'') in Unknown on line 0 opening any '.php' file with the browser. prepend.php3 has correct permissions and so do the containing directories. It won't open anywhere I put it. I have also tried just putting the file name in php.ini. I have also tried permuting the include path. PHP is compiled into Apache 1.3.20 as a static module, and httpd.conf has an AddType directive for php. What am I doing wrong? --- Full Bug description available at: http://bugs.php.net/?id=11703 -- 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 #11737 Updated: File upload generates warning
ID: 11737 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: HTTP related Operating system: PHP Version: 4.0.5 Assigned To: Comments: I'm unable to reproduce this with the perl script. Reopen this if this happens with PHP 4.0.6 --Jani Previous Comments: --- [2001-06-28 11:50:56] [EMAIL PROTECTED] Unfortunately I do not have time to test PHP 4.0.6. I'm on holiday for the next two weeks so I won't be testing it before august. However let me try to explain the letter a little better. A multipart MIME has a closing boundary. The term closing boundary is defined in RFC 1521. Data after the closing boundary should be ignored. PHP does not test for this closing boundary. This means that it does not detect the end of the multipart MIME but considers the bytes following the closing boundary as a new part of the MIME document. This causes the warning. I used a perl script to generate the problem. The perl script implements the example in the manual page of HTTP::Request::Common where they explain how to upload files. It is based on the perl libwww module. I hope that this clarifies the problem Regards Paul --- [2001-06-28 11:27:17] [EMAIL PROTECTED] Unfortunately I do not have time to test PHP 4.0.6. I'm on holiday for the next two weeks so I won't be testing it before august. However let me try to explain the letter a little better. A multipart MIME has a closing boundary. The term closing boundary is defined in RFC 1521. Data after the closing boundary should be ignored. PHP does not test for this closing boundary. This means that it does not detect the end of the multipart MIME but considers the bytes following the closing boundary as a new part of the MIME document. This causes the warning. I used a perl script to generate the problem. The perl script implements the example in the manual page of HTTP::Request::Common where they explain how to upload files. It is based on the perl libwww module. I hope that this clarifies the problem Regards Paul --- [2001-06-27 13:38:36] [EMAIL PROTECTED] Please try PHP 4.0.6 first.There were couple of fixes in it which might have fixed this too. And with which browser can this be reproduced? --Jani --- [2001-06-27 10:09:08] [EMAIL PROTECTED] When uploading a file using post, data after a closing boundary (see rfcs 1876 and 1521). This is a boundary with two dashes added to it. If this is the case the remainder of the content can be ignored. If there are more then two bytes after the last boundary in the file PHP will issue a(n unappropriate) warning saying that its MIME headers are garbled. I modified ./main/rfc1876.c as follows: (diff -p output) *** rfc1867.c.good Wed Jun 27 15:50:32 2001 --- rfc1867.c Wed Jun 27 15:50:12 2001 *** static void php_mime_split(char *buf, in *** 142,147 --- 142,152 eolsize = 1; } + if(*(loc+len)=='-' *(loc+len+1)=='-' ) { + Done=1; + break; + } + rem -= (loc - ptr) + len + eolsize; ptr = loc + len + eolsize; } else { Good luck to you Paul --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11737edit=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 #11763 Updated: odbc_exec() throws ISE 500 error
ID: 11763 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: ODBC related Operating system: Windows 98 SE PHP Version: 4.0.6 Description: odbc_exec() throws ISE 500 error Another thing -- I've been playing around with some other code, and am getting the same type of thing. I think that the problem is witth fields of the type text. When I take out the field content from the query in the first snippet, it works fine. Otherwise, 500 error. With another piece of code very similar to that one, it SELECTs a field summary from the table fanfic. summary is a text field, and it throws the 500 error. So I'm pretty sure that it's SELECTing text datatype fields that is giving the 500 error. --Jason Previous Comments: --- [2001-06-27 22:47:52] [EMAIL PROTECTED] Another note on the above code snippet -- the dbtext() function just puts quotes around whatever is the params... ie, dbtext(1) would return 1 (the quotes being part of the returned string). --Jason --- [2001-06-27 22:45:52] [EMAIL PROTECTED] I have a bug... I have a function (of which the following code is from) which pulls data from a remote MS SQL database through ODBC. The line with odbc_exec() is throwing an iSE 500 error on apache 1.3.14 (which I knwo to be the exact line because it's fine when it's commented out). I am using the PHP 4.06 windows binaries (from the PHP site) with the extra options installed... and to note, $global_conn is a global persistent connection that is being made global for the function of which the following code is a snippet: global $page, $action, $ID, $user_data; global $global_conn, $bgcolor; $SQL = 'SELECT bunnyID, name, email, content, signed, IP, dateAdded FROM plotbunnies'; if ($action == 'view') { $SQL.= ' WHERE bunnyID = '.dbtext($ID); } $SQL.= ' ORDER BY dateAdded DESC ;'; $bunnies= odbc_exec($global_conn, $SQL); When the $bunnes = odbc_exec($global_conn, $SQL); line is commented, it is fine; otherwise it gives me an HTTP ISE 500 error. --Jason --- Full Bug description available at: http://bugs.php.net/?id=11763 -- 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 #11703 Updated: Failed opening prepend.php3
ID: 11703 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Scripting Engine problem Operating system: PHP Version: 4.0.6 Assigned To: Comments: I don't see it here. You have to attach it to this bug report.. Previous Comments: --- [2001-06-29 18:41:42] [EMAIL PROTECTED] Sniper - I sent my prepend.php3 file. Did you get it? --- [2001-06-27 09:00:19] [EMAIL PROTECTED] What is in the file prepend.php3 ?? --- [2001-06-26 14:54:23] [EMAIL PROTECTED] The comment should read I commented out the auto-prepend-file directive in php.ini and got a 'test.php' file to run phpinfo. --- [2001-06-26 14:52:25] [EMAIL PROTECTED] I commented out the auto-prepend-file directive and a 'test.php' file to run phpinfo. --- [2001-06-26 13:06:13] [EMAIL PROTECTED] PHP compiled with imap support. I get this: Warning: Failed opening ''/opt/apache/php/prepend.php3'' for inclusion (include_path=''.:/opt/apache/php'') in Unknown on line 0 opening any '.php' file with the browser. prepend.php3 has correct permissions and so do the containing directories. It won't open anywhere I put it. I have also tried just putting the file name in php.ini. I have also tried permuting the include path. PHP is compiled into Apache 1.3.20 as a static module, and httpd.conf has an AddType directive for php. What am I doing wrong? --- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11703edit=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 #11793 Updated: file_exists() and friends
ID: 11793 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Closed Status: Bogus Bug Type: Scripting Engine problem Operating system: PHP Version: 4.0.6 Assigned To: Comments: Previous Comments: --- [2001-06-29 03:09:36] [EMAIL PROTECTED] I'm having problem with file_exists(), is_file(), file_size() since the upgrade to 4.0.6. It does not work if I supply a variable as a filename. E.g. file_exists( $var ); will return false even if the variable contains a correct path. file_exists( path/to/file.txt ); works. Same for the is_file() and file_size(); --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11793edit=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 #11632 Updated: Bad Request on most Sites
ID: 11632 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Bogus Status: Open Bug Type: HTTP related Operating system: PHP Version: 4.0.6 Assigned To: Comments: Ah, sorry, I should've read the whole PR. Previous Comments: --- [2001-06-29 19:21:52] [EMAIL PROTECTED] Maybe you should read related documentation (the Apache manual would do if the HTTP RFC is too hard to congest for you). If I requested http://intranet; I would get a 400 error and in the Apache log, it would say Invalid URI 'GET HTTP/1.0' instead of a valid request GET / HTTP/1.0I don't see And where in http://intranet; do you request /? Nowhere. This is bogus. --- [2001-06-28 10:55:03] [EMAIL PROTECTED] Yes, (my intranet site address, which I use the script on, is http://intranet) If I requested http://intranet; I would get a 400 error and in the Apache log, it would say Invalid URI 'GET HTTP/1.0' instead of a valid request GET / HTTP/1.0 BUT, if I request http://intranet/; (WITH THE END SLASH), everything works fine! --- [2001-06-27 13:43:43] [EMAIL PROTECTED] No, this works for me just fine. Do you get any error messages? In apache logs? --Jani --- [2001-06-25 09:34:18] [EMAIL PROTECTED] ok...do you see what I mean? --- [2001-06-23 16:49:38] [EMAIL PROTECTED] reclassified. --- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11632edit=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 #11796 Updated: get_meta_tags doesn't work when the title tag consists of single quote
ID: 11796 Updated by: elixer Reported By: [EMAIL PROTECTED] Old-Status: Analyzed Status: Assigned Bug Type: Unknown/Other Function Operating system: PHP Version: 4.0.5 Assigned To: elixer Comments: I'll take this one. Previous Comments: --- [2001-06-29 13:27:52] [EMAIL PROTECTED] Reproduced with latest CVS. --- [2001-06-29 03:18:17] [EMAIL PROTECTED] get_meta_tags will get nothing when this statics file is used.(please see the code down there) Only when the single quote inside the title tag removed, then the meta will be retrieved. I have tried to use this code inside PHP Version 4.0.4, and it works. Does anyone has any clue about it? html head TITLESanmina acquires Alcatel's manufacturing operations in Texas/TITLE META NAME=VERSION CONTENT=2.1/ META NAME=ISSUE CONTENT=121345/ META NAME=STARTDATE CONTENT=27-JUN-2001/ /head /html Thanks. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11796edit=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 #11790 Updated: Error compiling PHP
ID: 11790 User Update by: [EMAIL PROTECTED] Status: Duplicate Bug Type: Compile Failure Operating system: Redhat Linux 5.x PHP Version: 4.0.6 Description: Error compiling PHP It is similar to bug report 11776, however, my Redhat Linux install is verified to be a true and correct install. I am wondering now if PHP-4.0.6 has now become not usable on older RH5.x LIBC5 platforms. Thanks. Previous Comments: --- [2001-06-30 04:28:24] [EMAIL PROTECTED] Dup of: 11776 --- [2001-06-29 14:32:35] [EMAIL PROTECTED] I have /usr/include/sys/mount.h but not statfs.h, and not stavfs.h I tried just adding the header files to the dir. (I know it's not the preferred way) but that did not good. I am running gcc version 2.7.2.1 and libc5.3.12 on RH 5.x. I have successfully compiled php-4.0.4pl1 on this machine. Thanks for any help. --- [2001-06-29 09:41:44] [EMAIL PROTECTED] Do you have following header files: /usr/include/sys/statvfs.h /usr/include/sys/statfs.h /usr/include/sys/mount.h --Jani --- [2001-06-28 23:44:59] [EMAIL PROTECTED] Compiling php4.0.6 on RH libc5.3 server as CGI module, received the following compile error: -- gcc -I. -I/home2/rlm/php-4.0.6/ext/standard -I/home2/rlm/php-4.0.6/main -I/home2/rlm/php-4.0.6 -I/home2/rlm/php-4.0.6/Zend -I/home/rlm/gd1.3/ -I/usr/local/Hughes/include -I/usr/local/mysql3/include -I/home2/rlm/php-4.0.6/ext/xml/expat/xmltok -I/home2/rlm/php-4.0.6/ext/xml/expat/xmlparse -I/home2/rlm/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c filestat.c touch filestat.lo filestat.c: In function `php_if_diskfreespace': filestat.c:157: storage size of `buf' isn't known make[3]: *** [filestat.lo] Error 1 make[3]: Leaving directory `/home2/rlm/php-4.0.6/ext/standard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home2/rlm/php-4.0.6/ext/standard' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home2/rlm/php-4.0.6/ext' make: *** [all-recursive] Error 1 --- configure line: ./configure --enable-force-cgi-redirect --with-mysql=/usr/local/mysql3 --with-msql --bindir=/home/rlm/php-4.0.6 --with-gd=/home/rlm/gd1.3 --with-config-file-path=/home/rlm/php-4.0.6 --- Full Bug description available at: http://bugs.php.net/?id=11790 -- 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 (542 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... 10457 Bogus ALKHOBAR ===[*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 ===[Documentation problem] 11155 Open ===[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
[PHP-DEV] CVS Account Request
Full name: Johannes Froemter Email: [EMAIL PROTECTED] ID: j-f Purpose: I want to assist bugfixing, translating and maintaining the (german) PHP manual. Proponent: Martin Jansen Request #: 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 #11808 Updated: any php program cant be exe. a masseg cannot execute html file .....
ID: 11808 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: PWS related Operating system: PHP Version: 4.0.4 Assigned To: Comments: I was unable to parse your sentence. Previous Comments: --- [2001-06-30 03:33:20] [EMAIL PROTECTED] --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11808edit=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 #11809 Updated: Make install fails: apxs: error: unknown option: S
ID: 11809 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Compile Failure Operating system: PHP Version: 4.0.6 Assigned To: Comments: Apache 1.3.2 is really old, please update it to a newer version, i.e. 1.3.20. Previous Comments: --- [2001-06-30 05:29:45] [EMAIL PROTECTED] I use Apache 1.3.2 on a Cobalt RaQ2 I used: ./configure --with-mysql --with-apxs --with-enable-track-vars make also didn't give any problems. make install gives an error: make[1]: Entering directory `/home/tmp/php4/php-4.0.6' /home/tmp/php4/php-4.0.6/build/shtool mkdir -p /usr/lib/apache /usr/sbin/ap xs -S LIBEXECDIR=/usr/lib/apache -i -a -n php4 libs/libphp4.so apxs:Error: Unknown option: S Usage: apxs -g -n modname apxs -q query ... apxs -c [-o dsofile] [-D name[=value]] [-I incdir] [-L libdir] [-l libname] files ... apxs -i [-a] [-n modname] dsofile ... make[1]: *** [install-sapi] Error 1 make[1]: Leaving directory `/home/tmp/php4/php-4.0.6' make: *** [install-recursive] Error 1 --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11809edit=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 #11766 Updated: Unable to save result set in
ID: 11766 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Duplicate Status: Bogus Bug Type: MySQL related Operating system: PHP Version: 4.0.6 Assigned To: Comments: Previous Comments: --- [2001-06-28 21:27:32] [EMAIL PROTECTED] I use mysql_query() / mysql_select_db() instead of mysql_db_query(). Both mysql_errno() and mysql_error() return NOTHING. The query was successful exectued by mysql.(I can find the query reselt in mysql database) But why php generated an error? This error occur on ALL OF my scripts after I had upgraded my php from 4.0.3 to 4.0.6 --- [2001-06-28 00:16:56] [EMAIL PROTECTED] I'm getting the following error message when I execute a query (such as insert or delete or update but not select) that doesn't produce any results: The script(error.php) is : ? $db_acc_user = root; $db_acc_passwd = password; $db = pacc; $sql = INSERT INTO type (name, quota, pc, cn, office) VALUES ('Howard', '10', '1', '0', '1') ; mysql_connect(localhost,$db_pacc_user,$db_pacc_passwd); mysql_db_query($db,$sql); mysql_close(); ? The result in browser is: Warning: MySQL: Unable to save result set in /home/0/admin/error.php on line 7 MySQL said NOTHING and the query was successful executed. I have set display_errors = Off in my php.ini, so no warnings should be shown , but php script can not go on at the line where the Warnning should display. But I just found that NO error in command line : root@localhost # php ./error.php X-Powered-By: PHP/4.0.6 Content-type: text/html root@localhost # I configured php with the following command: ./configure --with-mysql=/usr/local/mysql --enable-track-vars --with-gd=../../gd/gd1.3 --with-ftp --with-imap=../../mail/imap/imap-4.7c --enable-memory-limit --with-pgsql=/usr/local/pgsql MySQL is version 3.23.38 and PostgreSQL is version 7.1.2 and compiled with th following command: ./configure --prefix=/usr/local/mysql --with-mysqld-user=mysql --with-charset=gb2312 --with-extra-charsets=all ./configure --enable-multibyte --enable-unicode-conversion --with-perl --with-openssl=/usr/local/ssl --enable-odbc --with-CXX BTW : The script is perfect on mysql-php-4.0.3pl1 and postgreSQL-php-4.0.6 . --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11766edit=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]
Re: [PHP-DEV] Bug #11809 Updated: Make install fails: apxs: error: unknown option: S
On 30/06/01, [EMAIL PROTECTED] wrote: I use Apache 1.3.2 on a Cobalt RaQ2 Apache 1.3.2 is really old, please update it to a newer version, i.e. 1.3.20. Upgrading Apache on cobalt boxes invalidates the warranty; Cobalt do some wierdo stuff to apache so that their integrated web-based management system will work (-DBIG_SECURITY_HOLE + some other stuff with authentication etc.). While it is possible to rebuild with the security so Apache will run as root, I have no idea how their auth stuff works (it seems proprietary, since trying to use your own htusers for access control doesn't work). I manage a RaQ3 box for our web hosting customers and don't want to risk breaking the Cobalt OS or running into conflicts when Cobalt release an OS update. So, can we have configure detect this compatibility problem in apxs? Ideally, configure should be able to spot a cobalt system and omit the -S option. For the time-being I manually copy mod_php4.so into the apache libs dir... --Wez. -- 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 #11776 Updated: filestat.c:`php_if_diskfreespace': storage size of `buf' isn't known
ID: 11776 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Duplicate Bug Type: Compile Failure Operating system: PHP Version: 4.0.6 Assigned To: Comments: duplicate of #11790 Previous Comments: --- [2001-06-28 21:54:00] [EMAIL PROTECTED] I wonder where you got those sources since in my version of PHP 4.0.6 (which is the correct one) there is nothing like that on line 159 of filestat.c. And is your install of linux really working one? Do you have following header files: /usr/include/sys/statvfs.h /usr/include/sys/statfs.h /usr/include/sys/mount.h --Jani --- [2001-06-28 08:44:04] [EMAIL PROTECTED] When trying to compile PHP 4.0.6 I get the following error: gcc -I. -I/mnt/src/apache-install/php-4.0.6/ext/standard -I/mnt/src/apache-install/php-4.0.6/main -I/mnt/src/apache-install/php-4.0.6 -I/mnt/src/apache-install/apache_1.3.20/src/include -I/mnt/src/apache-install/apache_1.3.20/src/os/unix -I/mnt/src/apache-install/php-4.0.6/Zend -I/usr/local/include/freetype -I/mnt/src/apache-install/gd-1.8.4 -I/usr/local/mysql/include/mysql -I/mnt/src/apache-install/php-4.0.6/ext/xml/expat/xmltok -I/mnt/src/apache-install/php-4.0.6/ext/xml/expat/xmlparse -I/mnt/src/apache-install/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c filestat.c touch filestat.lo filestat.c: In function `php_if_diskfreespace': filestat.c:159: storage size of `buf' isn't known make[3]: *** [filestat.lo] Error 1 make[3]: Leaving directory `/mnt/src/apache-install/php-4.0.6/ext/standard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/src/apache-install/php-4.0.6/ext/standard' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/src/apache-install/php-4.0.6/ext' make: *** [all-recursive] Error 1 My configureline: ./configure --prefix=/usr/local/apache --activate-module=src/modules/auth_mysql/libauth_mysql.a --add-module=../mod_auth_cookie-1.9/mod_auth_cookie.c --activate-module=src/modules/php4/libphp4.a --enable-module=ssl --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11776edit=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 #7780 Updated: Return of Text field returns only 4kB, but only in ISAPI-Mode
ID: 7780 Updated by: fmk Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: MSSQL related Operating system: PHP Version: 4.0.3pl1 Assigned To: Comments: This has been fixed. When running the ISAPI module, the php.ini file was not read correctly. Upgrade to latest version Previous Comments: --- [2000-11-13 06:22:01] [EMAIL PROTECTED] Working with IIS 4 and ISAPI, and having added the following lines to php.ini *snip* mssql.textsize = 8192 ; mssql.textlimit = 8192 ; *snip* a request of a field with Data-Type Text 4kB gives back only the first 4kB of the text (in general). The interesting phenomenon is: After restarting IIS completely (net stop iisadmin), the WHOLE text out of the DB (appr. 6kB) will be returned, but only ONCE (meaning a reload in the browser, taking another browser, etc. gives again only the cutted text-field). Working in CGI-mode, the whole text will be returned every time. A exemplary code-snippet, if it helps: **shortened snip** $check = SELECT * FROM $table WHERE $QUERY_STRING; $result = mssql_query($check) or die(Konnte die Datenbankabfrage nicht durchführen.); $row=mssql_fetch_row($result); $head = makehtmlchar($row[2]); $body = makehtmlchar($row[3]); $mytext .= table width=610 trtdh4b$head/bbrfont class=stdtext($row[1])/font/h4/td/tr trtdfont class=bigtext$body /font/tdn; **snip** --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=7780edit=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 #8810 Updated: Access violation with mssql.allow_persistent = on
ID: 8810 Updated by: fmk Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: MSSQL related Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: The function mssql_pconnect() has been fixed in php4.0.6. Please update and try again. Previous Comments: --- [2001-01-19 14:45:00] [EMAIL PROTECTED] PHP 4.0.4pl1 gives an access violation when persistent connections are enabled using mssql.allow_persistent = on. It doesn't matter if they are used or not. The code seems to work but each request produces an access violation dialog. Setting mssql.allow_persistent to off resolves the problem (for a price I'm not willing to pay). I tried both MS SQL Server 7 and 2000 both on Windows 2000 Professional. PHP 4.0.4 had the same problems. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8810edit=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 #8777 Updated: Error in mssql_query
ID: 8777 Updated by: fmk Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: MSSQL related Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: Update to latest version. The return value for mssql_query has been fixed. Previous Comments: --- [2001-01-18 04:25:23] [EMAIL PROTECTED] for INSERT,UPDATE,DELETE $Sql=INSERT INTO $phpAds_tbl_session (Cod_Sessions,moses_SessionID,moses_SessionData,moses_LastUpdate)VALUES ($Max,'$SessionID', '.AddSlashes(serialize($Session)) . ', .date(YmdHis).) ; if ($conn-Execute($Sql)===false){ Connection_die(Kc_End insertando); $conn-close(); } $con-execute all code return false forever --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8777edit=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 #11730 Updated: Cannot use uniqueidentifier
ID: 11730 Updated by: fmk Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: MSSQL related Operating system: PHP Version: 4.0.6 Assigned To: Comments: UNIQUEIDENTIFYER is an alias for a 16 byte binary and as the support for binary data was changed between 4.0.5 and 4.0.6, the data returned is no longer converted to a readable string. A new function will be introduced mssql_guid_string() in 4.0.7. This function can convert the binary value to a readable string. If you dont want the extra call in your code, use this work arround: select cast(id as varchar(36)) from my table Previous Comments: --- [2001-06-27 05:15:20] [EMAIL PROTECTED] (Apache 1.3.20, PHP4.0.64.0.4,MSSQL70) Cannot work with the MSSQL-uniqueidentifier. e.g. I need to use following select in php: select newid() as id; normally I would get something like this id={874E725E-03A0-44C7-BB0B-E52C7EC74B9F} but the vars only get cryptical codes like ägøüO²wÕ® ? --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11730edit=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 #10413 Updated: Error retrieving image field from MSSQL database
ID: 10413 Updated by: fmk Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: MSSQL related Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: Handling of binary data was changed in php4.0.6. Please update and try again. Previous Comments: --- [2001-04-19 22:01:41] [EMAIL PROTECTED] Looks like there's a problem in the Windows version of the mssql extension. I'm having the same problem as Leonid Freidin with queries that have a image in the result. I'm using php4.04pl1. This is the code. ? $con = mssql_connect(laptop2000,sa,adfasdf) or die(couldnt connect to db); //Nos conectamos al servidor de BD if (mssql_select_db(MexMatch,$con)) { $query= select * from Usuario where apodo = 'karls'; //It crashes here, because I have an image field here. $result = mssql_query($query,$con) or die(bke); while($array = mssql_fetch_array($result)) echo $array{apodo}; mssql_free_result($result); } mssql_close($con); ? --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10413edit=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 #9379 Updated: mssql_query can't get result
ID: 9379 Updated by: fmk Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: MSSQL related Operating system: PHP Version: 4.0.3pl1 Assigned To: Comments: This is not a bug in the extension. You are sending queries to the server that causes the server to report errors. Previous Comments: --- [2001-02-21 13:45:45] [EMAIL PROTECTED] mssql_query() can't fetch result from server if I use sql server variables in query. For example this script: ?php mssql_connect([server],[user],[password]) $sql_result=mssql_query(declare @kala int;select @kala=5;delete from [table] where field1=@kala); $sql_result2=mssql_query(select * from kasutajad); ? If I turned error severity to 0 I saw following error:MS SQL error: Attempt to initiate a new SQL Server operation with results pending. (severity 7) in c:htdocssqltest.php on line 4 ...but the first query has no result to fetch... --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9379edit=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 #11810: unable to load dynamic library
From: [EMAIL PROTECTED] Operating system: win2000 advanced server with SP2 PHP version: 4.0.4pl1 PHP Bug Type: *Install and Config Bug description: unable to load dynamic library when i test whether the PHP work or not with the test.php with code ?phpinfo()? , it will show the error message box. i.e unable to load dynamic library PATH/FILE NAME . the module can not be found. I'm sure that the path of all .dll files are right. PATH = C:\PHP\extionsions\ FILE NAME = php_ifx.dll php_mssql65.dll php_oci8.dll php_oracle.dll php_sybase_ct.dll The test.php is certainly in the wwwroot folder. Actually I have tried all the version but all can't work. -- Edit Bug report at: http://bugs.php.net/?id=11810edit=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 #8086 Updated: query link identifiers are not usable
ID: 8086 Updated by: fmk Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: MSSQL related Operating system: PHP Version: 4.0.3pl1 Assigned To: Comments: Update to latest version. All link identifiers has been changed from integers to resources. Previous Comments: --- [2000-12-03 10:13:26] [EMAIL PROTECTED] This report uses php 4.04 and the php_mssql70.dll extension on windows nt 4. There seem to be a problem with the functions that accept a mssql_query() link identifier as parameter. I have the followin basic script : $hdb = mssql_connect( testserver, test, testpwd ); print( hdb = $hdbbr ); print( mssql_select_db : .mssql_select_db( test_db, $hdb ).br ); $hcur = mssql_query( select * from t_test, $hdb ); print( hcur = $hcurbr ); print( mssql_num_fields : .mssql_num_fields( $hcur ).br ); print( mssql_num_rows : .mssql_num_rows( $hcur ).br ); which produces the following output : hdb = Resource id #1 mssql_select_db : 1 hcur = 1 Warning: Supplied argument is not a valid MS SQL-result resource in c:phpdefault.php4 on line 17 mssql_num_fields : Warning: Supplied argument is not a valid MS SQL-result resource in c:phpdefault.php4 on line 18 mssql_num_rows : --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8086edit=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 #11045 Updated: Odd MSSQL errors about 25% of the time
ID: 11045 Updated by: fmk Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: MSSQL related Operating system: PHP Version: 4.0.5 Assigned To: Comments: An error in mssql_pconnect() was fixed in php 4.0.6. Please update and try again. Previous Comments: --- [2001-05-23 09:26:24] [EMAIL PROTECTED] Yes, I can piece some together. Most of the stuff is seperated into different files and classes so i'll just put examples of the database accesses in the order they happen. I am using ISAPI with Apache 1.3.19 and MS SQL Server 2k on Win2k Server SP1. Hope this helps. /* db.inc.php */ global $db_conn; $db_conn = mssql_pconnect ('localhost', '***', '***') or printf ('Cannot connect to SQL Server.'); mssql_select_db ('demoXpress') or printf ('Cannot select demoXpress DB.'); /* class_menu.php */ if (!empty($this-Name)) { $sql = SELECT * FROM Menus WHERE Name='{$this-Name}'; $rs = mssql_query ($sql); $this-Menu = mssql_fetch_object($rs); mssql_free_result($rs); } /* class_newsmachine.php */ $sql = 'SELECT NewsID, News.SectionID, News.Poster, CONVERT(varchar(50), News.PostDate, 120) AS PostDate, '; $sql .= 'Title, Teaser, DATALENGTH(Content) AS ContentLength, News.ViewCount, '; $sql .= 'Sections.Name, Sections.Icon, ISNULL(MessageCount, -1) AS CommentCount '; $sql .= 'FROM News, Sections, mb_Topics '; $sql .= 'WHERE (News.CommentID*=mb_Topics.TopicID) AND (News.SectionID=Sections.SectionID) AND (News.FrontPage=1) '; $sql .= 'ORDER BY News.PostDate DESC'; if (!($this-NewsRS = mssql_query ($sql, $db_conn))) echo mssql_get_last_message(); --- [2001-05-23 07:32:42] [EMAIL PROTECTED] Could you provide some sample code ? And are you using CGI or ISAPI ? --- [2001-05-23 04:27:43] [EMAIL PROTECTED] Below is an example of the series of errors I get when loading a page on my website. What is odd about it is that the errors do not always occur. About 75% of the time, the page works perfectly. Then I'll refresh the page without even making any changes to the source and the errors will occur. Refresh again and they disappear and the page works. Another interesting occurance. Sometimes, the first queries that are run will run and complete successfully, but then a query that comes later in the source on the same page will cause these errors. Warning: MS SQL error: Invalid parameter in DB-LIBRARY function reference. (severity 11) in c:wwwdemoxpress.comhtmldb.inc.php on line 4 Warning: MS SQL: Unable to select database: demoXpress in c:wwwdemoxpress.comhtmldb.inc.php on line 4 Cannot select demoXpress DB. Warning: MS SQL error: Invalid parameter in DB-LIBRARY function reference. (severity 11) in c:wwwdemoxpress.comhtmlclass_menu.php on line 30 Warning: MS SQL: Unable to set query in c:wwwdemoxpress.comhtmlclass_menu.php on line 30 Warning: Supplied argument is not a valid MS SQL-result resource in c:wwwdemoxpress.comhtmlclass_menu.php on line 31 Warning: Supplied argument is not a valid MS SQL-result resource in c:wwwdemoxpress.comhtmlclass_menu.php on line 32 Warning: MS SQL error: Invalid parameter in DB-LIBRARY function reference. (severity 11) in c:wwwdemoxpress.comhtmlclass_menu.php on line 30 Warning: MS SQL: Unable to set query in c:wwwdemoxpress.comhtmlclass_menu.php on line 30 Warning: Supplied argument is not a valid MS SQL-result resource in c:wwwdemoxpress.comhtmlclass_menu.php on line 31 Warning: Supplied argument is not a valid MS SQL-result resource in c:wwwdemoxpress.comhtmlclass_menu.php on line 32 Warning: MS SQL: Unable to set query in c:wwwdemoxpress.comhtmlclass_newsmachine.php on line 52 Warning: Supplied argument is not a valid MS SQL-result resource in c:wwwdemoxpress.comhtmlclass_newsmachine.php on line 58 Warning: MS SQL error: Invalid parameter in DB-LIBRARY function reference. (severity 11) in c:wwwdemoxpress.comhtmlclass_pollbox.php on line 22 Warning: MS SQL: Unable to set query in c:wwwdemoxpress.comhtmlclass_pollbox.php on line 22 --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11045edit=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 #7881 Updated: sybase-ct does not report server errors
ID: 7881 Updated by: fmk Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: MSSQL related Bug Type: Sybase-ct (ctlib) related Operating system: PHP Version: 4.0.3pl1 Assigned To: Comments: This is not related to the mssql extension. You are using the sybase extension. Previous Comments: --- [2000-11-21 16:44:45] [EMAIL PROTECTED] Reclassify: MSSQL related (was Sybase CT Related) --- [2000-11-19 21:39:13] [EMAIL PROTECTED] ok, this is my php configure line: ./configure --with-apxs=/www/bin/apxs --with-sybase-ct=/opt/sybase-11.9.2 --enable-track-vars I've got these 3 packages installed on /opt/sybase-11.9.2 sybase-ase-11.9.2-3.i386.rpm sybase-common-11.9.2-3.i386.rpm sybase-openclient-11.1.1-3.i386.rpm I can query a MSSQL 7.0 server + SP2 applied with no problems, but if I ever misstype a query php won't report the sql server error and hangs the script forever. I strace'd apache and here are part of the results: (the cmd used was: strace -s 128 /www/bin/httpd -X) connect(6, {sin_family=AF_INET, sin_port=htons(1433), sin_addr=inet_addr(200.32.xxx.xxx)}}, 16) = 0 ioctl(6, FIONBIO, [1]) = 0 ioctl(6, FIOASYNC, [0]) = 0 setsockopt(6, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 setsockopt(6, IPPROTO_TCP1, [1], 4) = 0 ... some more not meaningfull sys calls. send(6, 11 -- 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 #11188 Updated: translate national characters in freeeTDS-driver
ID: 11188 Updated by: fmk Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: MSSQL related Bug Type: Sybase (dblib) related Operating system: PHP Version: 4.0.5 Assigned To: Comments: This is not related to the mssql extension. You are using the sybase extension. Previous Comments: --- [2001-05-30 04:33:07] [EMAIL PROTECTED] I have: FreeBSD-FreeTDS-MSSQL 7.0 This line mssql_query(SELECT * FROM table WHERE field='national characters') dont normal work function ascci2unicode() in FreeTDS-driver is not good!!! --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11188edit=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 #8349 Updated: Accessing a text field
ID: 8349 Updated by: fmk Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: MSSQL related Bug Type: Sybase (dblib) related Operating system: PHP Version: 4.0.3pl1 Assigned To: Comments: This is not related to the mssql extension. You are using the sybase extension. Previous Comments: --- [2000-12-21 08:07:54] [EMAIL PROTECTED] I notice a bug in MSSQL functions. The bug is when you try to fetch a text field type from a table in MSSQL Server. It won't return any values, and even a single query it won't perform. But with other types of fields it didn't seems to has any kind of problem. If anyone that may have an idea of solving this problem, please let me know! Thank You! Felipe Almeida --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8349edit=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 #9171 Updated: Query Timeout
ID: 9171 Updated by: fmk Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: MSSQL related Bug Type: Sybase (dblib) related Operating system: PHP Version: 4.0.0 Assigned To: Comments: This is not related to the mssql extension. You are using the sybase extension. Previous Comments: --- [2001-02-08 06:10:41] [EMAIL PROTECTED] I have install freetds-0.51 on PHP to connect to MSSQL Server. But it shows message like Can't show page in chinese. My doubt is that is it because my query result to big(300 rows) or something wrong with my configuration. Can somebody help me out?? --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9171edit=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 #9244 Updated: sybase-ct does not report MSSQL-server errors
ID: 9244 Updated by: fmk Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: MSSQL related Bug Type: Sybase (dblib) related Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: This is not related to the mssql extension. You are using the sybase extension. Previous Comments: --- [2001-02-13 15:14:02] [EMAIL PROTECTED] Bug #7881, as posted by [EMAIL PROTECTED] is still present in PHP4.0.4pl1. My configuration is: Linux Mandrake 7.1, Apache 1.3.17, PHP4.0.4pl1, sybase-common-11.9.2.-3.1386.rpm, sybase-openclient-11.1.1-3.i386.rpm, SQLServer 7.0SP3 on Win2K. Sending a valid query, using mssql_query() works fine, sending an invalid query (for a table that does not exist for example), hangs the script. PHP does not timeout, the browser does eventually. For more details, see bug #7881. Thanks, Arjan --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9244edit=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 #9402 Updated: never ending cycle
ID: 9402 Updated by: fmk Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: MSSQL related Bug Type: Sybase (dblib) related Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: This is not related to the mssql extension. You are using the sybase extension. Previous Comments: --- [2001-02-22 09:12:18] [EMAIL PROTECTED] When I call mssql_query and sql server error occured (for example I add a column to table, but didn't redefine view), then php script doesn't stop, but instead of that, it will wait forever. I have sybase-ct built in php (can compile stand-alone module, but can use, don't know why). I don't think that in earlier versions (4.x) was this problem, but I am not sure. Thanx for help ojo. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9402edit=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 #10347 Updated: Core Dump when selecting TIMESTAMP with FreeTDS and SQL Server
ID: 10347 Updated by: fmk Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: MSSQL related Bug Type: Sybase (dblib) related Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: This is not related to the mssql extension. You are using the sybase extension. Previous Comments: --- [2001-04-16 12:37:21] [EMAIL PROTECTED] When I try and select a TIMESTAMP column from SQL Server, php core dumps. I am using PHP 4.0.4pl1, with FreeTDS 0.51 and SQL Server 7.0 SP1 on kernel 2.2.16, glibc-2.2 Something as simple as: SELECT dateJoined FROM members; will cause a core dump The bad line in add_string_to_string is : memcpy(result-value.str.val+op1-value.str.len, op2-value.str.val, op2-value.str.len); GDB values: (gdb) print result-value.str.val+op1-value.str.len $1 = 0x81d3be2 (gdb) print op2-value.str.val $2 = 0x81d08e4 (gdb) print op2-value.str.len $3 = -1 (gdb) bt #0 0x40791ace in memcpy () from /lib/libc.so.6 #1 0x80eda9e in add_string_to_string (result=0xbfffdaa0, op1=0xbfffdaa0, op2=0x81c6c2c) at zend_operators.c:1004 #2 0x8125efe in execute (op_array=0x81c69b4) at ./zend_execute.c:1389 #3 0x812679a in execute (op_array=0x81b7d6c) at ./zend_execute.c:1559 #4 0x80f0ef8 in zend_execute_scripts (type=8, file_count=3) at zend.c:729 #5 0x8061b18 in php_execute_script (primary_file=0xb6b0) at main.c:1221 #6 0x805fcf8 in main (argc=2, argv=0xb764) at cgi_main.c:738 #7 0x40727f31 in __libc_start_main (main=0x805f434 main, argc=2, ubp_av=0xb764, init=0x805d784 _init, fini=0x81309dc _fini, rtld_fini=0x4000e274 _dl_fini, stack_end=0xb75c) at ../sysdeps/generic/libc-start.c:129 --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10347edit=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 #11105 Updated: Does not compile MSSQL extension
ID: 11105 Updated by: fmk Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: MSSQL related Operating system: PHP Version: 4.0.5 Assigned To: Comments: The MSSQL extension is not available on Solaris (Only windows) You could use the sybase functions together with FreeTDS and configure like this: ./configure --with-sybase=/usr/local/freetds ... The sybase extension includes functions aliases that allows you to use mssql_connect etc. but it is still the sybase functions you are calling. Previous Comments: --- [2001-05-25 00:06:34] [EMAIL PROTECTED] Compiled latest version PHP 4.05 with database extenstion mssql (./configure --with-mssql) on Sparc/Solaris 2.6 . COmpilation does not give errors , but under ext directory, under mssql subdirectory, no changes are seen at the end of compilation i.e. no object files are seen compiled . When opened up ./configure script, did not see any instance of mssql , whereas all other databases are defined. Is this a bug in ./configure script ? EWgate.com Senyong --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11105edit=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 #11171 Updated: Faulty MSSQL-queries locks PHP
ID: 11171 Updated by: fmk Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: MSSQL related Bug Type: Sybase (dblib) related Operating system: PHP Version: 4.0.5 Assigned To: Comments: This is not related to the mssql extension. You are using the sybase extension. Previous Comments: --- [2001-05-29 11:15:03] [EMAIL PROTECTED] Bug #7881, as posted by [EMAIL PROTECTED] and bug #9244 is still present in PHP4.0.5. Setup: FreeBSD 3.4-STABLE, Apache 1.3.20, PHP4.0.5, newest SybaseOpenClient for FreeBSD (not sure of version, older doesn't work either), SQLServer 7.0SP3 on WinNT. Sending a valid query, using mssql_query() works fine, sending an invalid query (for a table that does not exist for example), hangs the script. PHP does not timeout, the browser does eventually. For more details, see bug #7881. This is very important for me to get fixed, would be happy for some information on why this happens? Thanks! Peter --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11171edit=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]