Re: [PHP-DEV] RE: Bug #12740 Updated: LDAP modify functions do not handle special characters
On Thu, Nov 08, 2001 at 08:30:39PM +0100, Christian Chateauvieux wrote: No, it still does not fix my problem. I don't know if I am missing the point but I don't see how my locale settings could help. Your code looks okay, but I don't trust it 100%, could you please do something like: $info[objectclass][] = top; $info[objectclass][] = person; $info[cn][] = Test Person; $info[sn][] = Person; and check you can add the entry. Then replace say Person with a string $sn that contains at least one special character, and add: $info[objectclass][] = top; $info[objectclass][] = person; $info[cn][] = utf8_encode(Test $sn); $info[sn][] = utf8_encode($sn); If this fails, give me the entire script that fails, if it works, the problem is probably in your own code. Try to move gradually from this simple code, to what you have below. It might help you to check the contents of the array right before you call ldap_add(). var_dump() is nice for printing contents of an array. BTW, your problem could also be that an attribute is defined to be IA5 (plain ascii) only. Stig -- 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 #13909 Updated: Parsed .php as .html error when parsed .shtml as .html exist
ID: 13909 Updated by: joey Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: *Configuration Issues Operating System: Linux RH 7 PHP Version: 4.0.6 New Comment: Actually, it's not all THAT convoluted: index.html where .html is going to be processed by SSI...not reccomended behavior !-- your ssi stuff here -- !-- #include virtual=/page/to/be/parsed/by.php -- But I would also point out that PHP is a much more flexible structure than SSI, while covering (more or less) all of SSI's feature set, and you should really look closely at any solution that requires this workaround. Previous Comments: [2001-11-02 13:26:43] [EMAIL PROTECTED] I am pretty sure Apache 1.3.x only allows one processor for an extension. There are convuleted (VERY) ways to do this, but why??? Why would you want this?? :) Everything shtml can do, so can PHP and more. -Chris [2001-11-02 13:23:11] [EMAIL PROTECTED] AFAIK, you can't with 1.3.x. You can try 2.0, which is still in beta (or alpha?). [2001-11-02 13:06:56] [EMAIL PROTECTED] When both server-parse exist in httpd.conf, one will not work. How to make Apache to parse .php as .html and then follow by parsing .shtml as .html. My conf is as followed: AddType application/x-httpd-php .php .html AddType application/x-httpd-php-source .phps AddType text/html .shtml .html AddHandler server-parsed .shtml .html --- Help please, Cheers, Earnpin Lee, [EMAIL PROTECTED] Edit this bug report at http://bugs.php.net/?id=13909edit=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 #13974 Updated: file functions fail without trailing slash on urls with only the domain
ID: 13974 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Filesystem function related Operating System: FreeBSD 4.3 PHP Version: 4.0.6 New Comment: works fine now: [mini:pgl]:~ $ /usr/local/bin/php -v 4.2.0-dev [mini:pgl]:~ $ cat fopen.php #!/usr/local/bin/php -q ? $loc = 'http://www.php.net';// no trailing slash if ($fp = fopen($loc, r)) echo opened file\n; ? [mini:pgl]:~ $ ./fopen.php opened file regards, Peter Lowe. Previous Comments: [2001-11-08 13:06:35] [EMAIL PROTECTED] This should be fixed, can you try a snapshot from snaps.php.net and report back wheter it works or not? Derick [2001-11-07 06:45:17] [EMAIL PROTECTED] if the trailing slash is left off urls when using fopen(), file() etc, php doesn't open the location. eg: [mini:pgl]:~/public_html/test $ cat fopen.php #!/usr/local/bin/php -q ? $loc = 'http://www.php.net/'; if ($fp = fopen($loc, r)) echo opened file\n; ? [mini:pgl]:~/public_html/test $ ./fopen.php opened file but: [mini:pgl]:~ $ cat fopen.php #!/usr/local/bin/php -q ? $loc = 'http://www.php.net';// no trailing slash if ($fp = fopen($loc, r)) echo opened file\n; ? [mini:pgl]:~ $ ./fopen.php br bWarning/b: fopen(http://www.php.net,r;) - Undefined error: 0 in b./fopen.php/b on line b3/bbr same with file(): [mini:pgl]:~ $ cat file.php #!/usr/local/bin/php -q ? $loc = 'http://www.php.net/'; echo count(file($loc)); ? [mini:pgl]:~ $ ./file.php 531 take away the trailing slash: [mini:pgl]:~ $ ./file.php br bWarning/b: file(http://www.php.net;) - Undefined error: 0 in b./file.php/b on line b3/bbr 1 [mini:pgl]:~ $ /usr/local/bin/php -v 4.0.6 regards, Peter Lowe. Edit this bug report at http://bugs.php.net/?id=13974edit=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 #13938 Updated: Bad line numbers reported for parse errors
ID: 13938 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Scripting Engine problem Operating System: WinNT 4.0 PHP Version: 4.0.6 New Comment: There are absolutely no newlines. In fact, at this very moment I am making changes to a web application, and am getting a parse error on line 1837 of a script which has only 1148 lines. Previous Comments: [2001-11-05 21:43:29] [EMAIL PROTECTED] Can you check your file for newlines after the %. I can reproduce the error by putting 3 or 4 newlines at the end of the file after the closing tag. Because you are in a string, it errors when it reaches EOF. [2001-11-05 16:56:41] [EMAIL PROTECTED] I saw some previous reports of this bug in earlier versions of PHP 4. It's back in 4.0.6, at least on WinNT 4.0. Here's an extremely simple sample script: % $test = This is an improperly terminated string; % This script has a total of 5 lines. The error generated to the browser when this script is accessed is: Parse error: parse error in d:\users\tleaver\leaver.com\htdocs\bad.php on line 9 Line 9 does not exist. Unlike previous reports of this bug which I've seen, this bug does not depend on includes. Edit this bug report at http://bugs.php.net/?id=13938edit=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 #13938 Updated: Bad line numbers reported for parse errors
ID: 13938 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Operating System: WinNT 4.0 PHP Version: 4.0.6 New Comment: I should have said there are no EXTRA newlines. Of course there are newlines in the script :) Previous Comments: [2001-11-09 06:32:18] [EMAIL PROTECTED] There are absolutely no newlines. In fact, at this very moment I am making changes to a web application, and am getting a parse error on line 1837 of a script which has only 1148 lines. [2001-11-05 21:43:29] [EMAIL PROTECTED] Can you check your file for newlines after the %. I can reproduce the error by putting 3 or 4 newlines at the end of the file after the closing tag. Because you are in a string, it errors when it reaches EOF. [2001-11-05 16:56:41] [EMAIL PROTECTED] I saw some previous reports of this bug in earlier versions of PHP 4. It's back in 4.0.6, at least on WinNT 4.0. Here's an extremely simple sample script: % $test = This is an improperly terminated string; % This script has a total of 5 lines. The error generated to the browser when this script is accessed is: Parse error: parse error in d:\users\tleaver\leaver.com\htdocs\bad.php on line 9 Line 9 does not exist. Unlike previous reports of this bug which I've seen, this bug does not depend on includes. Edit this bug report at http://bugs.php.net/?id=13938edit=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] Re: Wow ! Good news (to me at least) ...
Hi August! On Thu, 08 Nov 2001, August Zajonc wrote: Why not the GPL? Because it's viral nature? :) -- teodor -- 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 #13977 Updated: Sometimes php crashes when executing a script everytime at the same point.
ID: 13977 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Reproducible crash Operating System: Windows 2000 SP2 PHP Version: 4.0.6 New Comment: Hi all, the problem is, that the script not allways crashes. It just crashes on my home pc with amd-cpu. I also put the script online (Linuxbox, Kernel 2.2.16, mod_php-4 (4.0.6), Apache/1.3.19 (Unix) (SuSE/Linux), MySQL 3.23.43 ,and there it runs perfectly: Here is the script: = ?php Version 0.1 hcms_fe_engine.php ( Frontendengine ) Gibt den Inhalt der Site für WebUser aus / // Sessionverwaltung einbinden include ('hcms_fe_session.php'); // Allgemeine Konfiguration einbinden include('hcms.init.php'); // Datenbankschnittstelle einbinden include ('hcms_smod_db.php'); // FE-Funktionen einbinden include('hcms_fe_functions.php'); // Site-Konfiguration aus DB holen $sConfig = getSiteConfig(); // Überprüfen, ob Site online ist if ($sConfig[online] == n) { header(Location: hcms_fe_siteoffline.html); // Ausweichdokument anzeigen } // Site ist online else { // Prüfung ob GenTime gewünscht if ($sConfig[showgentime] === y) { // Start der Erstellungsdauer $timer = new cGenTime; $timer-start(); } /// ENDE Prüfung GenTime gewünscht // // Seiten-Code erzeugen // if (!isset($location)) { $location = 1; } /// Seitenkopf generieren echo(htmlheadtitle$sConfig[sitename]/title/headbody bgcolor=\#66\); include('layouts/site.css'); // Main-Layout-Tabelle generieren echo (center table class=bodytab cellpadding=0 cellspacing=0 border=0 width=800); echo (trtd colspan=3 height=81img src=\.$IMG_SITE.logo_head.png\ border=0 width=800/td/tr); echo(trtd colspan=3 height=10 valign=top width=800); // Main-Menu aus DB holen $mmenu = generate_menu(1,$location); echo(table cellspacing=0 cellpadding=0 border=0 width=\800\ trtd class=conmenunbsp;nbsp;);^ for ($i = 1; $i = count($mmenu) - 1; $i++) { echo($mmenu[$i]nbsp;nbsp;|nbsp;); } This is the part that crashes under Win2k The 3. iteration of the loop. Not everytime, but often echo(a href=hcms_admin_login_form.phpLogin/a); echo (/tdtd class=conmenu align=right);echo(datum());echo(/tr/table); echo(/td/tr); // Kontextzeile einblenden echo(trtd class=fecx align= nbsp;nbsp;a href=\$PHP_SELF\img src=\pics_intern/news_haus.png\ border=0/a nbsp; a href=\mailto:$sConfig[webmaster]\;img src=\pics_intern/news_umschlag.png\ border=0/a /tdtd class=fecxfont color=whiteSie befinden sich font color=orangeb /b/font ); echo(getCX($location, $cx)); echo(/font/tdtd class=fecxnbsp;/td/tr); echo(trtd class=tdsmenu valign=\top\); // Sub-Menu aus DB holen get_subcats($location); /// // Content aus DB holen /// echo(nbsp;/tdtd class=tdcontent valign=top); // if (isset($cx) isset($idart)) { $file = renderCat($cx, $idart); include($DYN_PATH$file); // Temporäre Inc-Datei nach Verwendung löschen unlink($DYN_PATH$file); } elseif (isset($cx)) { $file = renderCat($cx, ); include($DYN_PATH$file); // Temporäre Inc-Datei nach Verwendung löschen unlink($DYN_PATH$file); } else { $file = renderCat($location, ); include($DYN_PATH$file); // Temporäre Inc-Datei nach Verwendung löschen unlink($DYN_PATH$file); } echo(/td); // ENDE Content aus DB holen / // Polls und Akutinfos aus DB holen echo(td class=tdpoll); echo(Poll); echo(/td); Ende Polls und Akutinfos aus DB holen / echo(/tr/table/centerbr); / /// Nochmalige Prüfung ob Timer gewünscht if ($sConfig[showgentime] == y) { // Zeit stoppen $timer-stop(); echo(hr width=800centerDiese Seite wurde generiert in ); $timer-showtime(); echo( Sekunden/center); } // // Prüfen, ob Poweredby-Logo gewünscht if ($sConfig[showpoweredby] == y) { echo(brcentera href=\http://www.heavensoft.org\; target=_blank img src=\pics_intern/hcms_logo.png\ border=0/a); } /// Seitenfuss generieren
[PHP-DEV] Re: [PHP-QA] Compile troubles, impossible to create .so extensionswith current cvs?
I think it's the libtool 1.4(.x) again that is breaking. Or we're doing something weird. Sascha might know? I noticed this myself sometime ago but I forgot about it.. --Jani On Fri, 9 Nov 2001 [EMAIL PROTECTED] wrote: Hi, First, I'm not well into compiling PHP in specific ways, so consider these semi-newbie questions. I hope someone has an idea about what could be going on, if so, please drop me a line. My system is Linux Debian unstable, everything relevant is up-to-date. My compile-line is: ./configure --disable-static --with-mysql=shared * Result on 406 dist: works fine, mysql.so appears in modules dir * Any recent snapshot: mysql.a and mysql.la appear in modules, but no .so * Latest cvs after ./buildconf: same result * getting back to 406 by means of CVS, ./buildconf fails: cvs up -r PHP_4_0_6 ./cvsclean make clean make distclean [jeroen@richard]~/php/php4 ./buildconf buildconf: checking installation... buildconf: autoconf version 2.52 (ok) buildconf: automake version 1.5 (ok) buildconf: libtool version 1.4 (ok) rebuilding Makefile templates rebuilding configure ./aclocal.m4:814: error: m4_defn: undefined macro: _m4_divert_diversion ./aclocal.m4:360: PHP_SUBST is expanded from... ./aclocal.m4:814: the top level rebuilding main/php_config.h.in ./aclocal.m4:814: error: m4_defn: undefined macro: _m4_divert_diversion ./aclocal.m4:360: PHP_SUBST is expanded from... ./aclocal.m4:814: the top level autoconf: tracing failed Thanks a lot Jeroen -- 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: Wow ! Good news (to me at least) ...
I promised that anybody that I'll break the neck of anybody that complains about not going with the GPL. Please inform me of any PHP conferences you intend to attend, so I know where to find you :) Zeev At 20:28 08/11/2001, August Zajonc wrote: Why not the GPL? But excellent any which way... L0t3k [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... http://zend.com/news/pr.php?id=26 -- 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 #13997: Would be nice to report which module conflicts if API version incorrect
From: [EMAIL PROTECTED] Operating system: FreeBSD 4.3 PHP version: 4.0CVS-2001-11-09 PHP Bug Type: Feature/Change Request Bug description: Would be nice to report which module conflicts if API version incorrect I recently tried to compile PHP and got this error: PHP Warning: UåìoVSè: Unable to initialize module Module compiled with debug=52, thread-safety=109 module API=674941832 PHP compiled with debug=0, thread-safety=0 module API=20010901 These options need to match in Unknown on line 0 it would be nice to know which module was causing this error (or at least some more information about what to do)! in this case it was the dbg module that needed recompiling, but it took a while to figure out. regards, Peter Lowe. -- Edit bug report at: http://bugs.php.net/?id=13997edit=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] Re: Wow ! Good news (to me at least) ...
Date: Fri, 09 Nov 2001 14:35:56 +0100 To: August Zajonc [EMAIL PROTECTED] From: Zeev Suraski [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Re: Wow ! Good news (to me at least) ... I promised that anybody that I'll break the neck of anybody that complains about not going with the GPL. Please inform me of any PHP conferences you intend to attend, so I know where to find you :) Zeev Thank you for the BSD-style license. And another thank you for not GPLing it. :) -- FreeBSD 4.4-STABLE 3:03PM up 17 days, 1:46, 22 users, load averages: 0.00, 0.02, 0.06 -- 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 #12469 Updated: crash on die() from inside a class thats included
ID: 12469 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Reproducible crash Operating System: win2k PHP Version: 4.0.5 New Comment: Does it happen with PHP 4.0.6 ? Previous Comments: [2001-07-30 13:22:08] [EMAIL PROTECTED] had some ugly crashes without any output, by terminating a class-function with die(). the class was defined inside an included *.php . i think to remember same crashes with includes, that had an error (like unmatched brackets }) system: win2k + php 4.05 + apache Edit this bug report at http://bugs.php.net/?id=12469edit=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] Re: Wow ! Good news (to me at least) ...
August Zajonc wrote: Why not the GPL? four words: linking against Oracle(*) libraries (*) insert your favorite commercial lib here -- Hartmut Holzgraefe [EMAIL PROTECTED] http://www.six.de +49-711-99091-77 -- 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 #13986 Updated: Cannot rollback transaction when die in class
ID: 13986 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Class/Object related Operating System: Win2k / Linux + Oracle8i+Apache PHP Version: 4.0.4pl1 New Comment: Have you tried PHP 4.0.6 ? Previous Comments: [2001-11-08 01:47:35] [EMAIL PROTECTED] I am using a database class to manipulate data. I found that when the program is terminated in the class, the transaction will be committed, even I've set the mode to OCI_DEFAULT. The same case occured in both Win2k and Linux with Oracle and Apache. // Schema /* create table test ( id varchar2(5) not null, name varchar2(10), primary key (id) ); // Source Code /// class Database { var $conn, $stmt, $row_data; function Database() { $DB_SERVER = ; $DATABASE= ; $DB_USER = test; $DB_PASSWORD = test; putenv($DATABASE); $this-conn = OCILogon($DB_USER, $DB_PASSWORD, $DB_SERVER); if ($this-conn == false) { die(Cannot connect to server); } } function Query($sql) { $this-stmt = OCIParse($this-conn, $sql); if ($this-stmt == false) { die(Statement Error); } if (OCIExecute($this-stmt, OCI_DEFAULT) == false) { die(Cannot Execute Statment); } } function Commit() { OCICommit($this-conn); } function terminate() { die( Not OK :( ); } } $db = new Database(); $sql = insert into test (id, name) values ('1', '1'); $db-Query($sql); $db-terminate(); // This will commit the transaction, // even the program is terminated. die( OK :) ); // If the program is terminated here, // the transaction is rollbacked. $db-Commit(); [2001-11-08 01:42:41] [EMAIL PROTECTED] I am using a database class to manipulate data. I found that when the problem is terminated in the class, the transaction will be committed, even I've set the mode to OCI_DEFAULT. The same case occured in both Win2k and Linux with Oracle and Apache. // Schema /* create table test ( id varchar2(5) not null, name varchar2(10), primary key (id) ); // Source Code /// class Database { var $conn, $stmt, $row_data; function Database() { $DB_SERVER = ; $DATABASE= ; $DB_USER = test; $DB_PASSWORD = test; putenv($DATABASE); $this-conn = OCILogon($DB_USER, $DB_PASSWORD, $DB_SERVER); if ($this-conn == false) { die(Cannot connect to server); } } function Query($sql) { $this-stmt = OCIParse($this-conn, $sql); if ($this-stmt == false) { die(Statement Error); } if (OCIExecute($this-stmt, OCI_DEFAULT) == false) { die(Cannot Execute Statment); } } function Commit() { OCICommit($this-conn); } function terminate() { die( Not OK :( ); } } $db = new Database(); $sql = insert into test (id, name) values ('1', '1'); $db-Query($sql); $db-terminate(); // This will commit the transaction, // even the program is terminated. die( OK :) ); // If the program is terminated here, // the transaction is rollbacked. $db-Commit(); Edit this bug report at http://bugs.php.net/?id=13986edit=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 #13988 Updated: get_meta_tags function failure if title tag contains a '
ID: 13988 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Unknown/Other Function Operating System: Windows 98 first edition PHP Version: 4.0.4pl1 New Comment: Reopen if this happens with PHP 4.0.6 Previous Comments: [2001-11-08 04:09:22] [EMAIL PROTECTED] Example: pippo.html etc etc titleIl mio nome e' pippo/title meta name=description contentciao ciao etc pippo.php $tags = get_meta_tags(pippo.html); echo $tags['description']; Case A) Failed titleIl mio nome e' pippo/title meta name=description contentciao ciao echo $tags['description'], echos nothing Case B) OK meta name=description contentciao ciao titleIl mio nome e' pippo/title $tags['description'], echos ciao ciao Case C) OK, I remove the character ' titleIl mio nome est pippo/title meta name=description contentciao ciao $tags['description'], echos ciao ciao SUMMARY: It seems there is a problem of get_meta_tags parsing the meta from an html file. The problem is the ' character. If it is contained inside a tag title before a meta then get_meta_tags fails. If the title tag with the ' character is put after the meta, then it works. If I delete the ' character then it works always. Edit this bug report at http://bugs.php.net/?id=13988edit=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] Re: [PHP-QA] Compile troubles, impossible to create .so extensions with current cvs?
FYI, I use ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18) on one machine, and ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52) on the other. Downgrading to 1.3.3 did not solve the problem: ltmain.sh (GNU libtool) 1.3.3 (1.385.2.181 1999/07/02 15:49:11) I'm trying further... --Jeroen - Original Message - From: Jani Taskinen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, November 09, 2001 1:14 PM Subject: Re: [PHP-QA] Compile troubles, impossible to create .so extensions with current cvs? I think it's the libtool 1.4(.x) again that is breaking. Or we're doing something weird. Sascha might know? I noticed this myself sometime ago but I forgot about it.. --Jani On Fri, 9 Nov 2001 [EMAIL PROTECTED] wrote: Hi, First, I'm not well into compiling PHP in specific ways, so consider these semi-newbie questions. I hope someone has an idea about what could be going on, if so, please drop me a line. My system is Linux Debian unstable, everything relevant is up-to-date. My compile-line is: ./configure --disable-static --with-mysql=shared * Result on 406 dist: works fine, mysql.so appears in modules dir * Any recent snapshot: mysql.a and mysql.la appear in modules, but no .so * Latest cvs after ./buildconf: same result * getting back to 406 by means of CVS, ./buildconf fails: cvs up -r PHP_4_0_6 ./cvsclean make clean make distclean [jeroen@richard]~/php/php4 ./buildconf buildconf: checking installation... buildconf: autoconf version 2.52 (ok) buildconf: automake version 1.5 (ok) buildconf: libtool version 1.4 (ok) rebuilding Makefile templates rebuilding configure ./aclocal.m4:814: error: m4_defn: undefined macro: _m4_divert_diversion ./aclocal.m4:360: PHP_SUBST is expanded from... ./aclocal.m4:814: the top level rebuilding main/php_config.h.in ./aclocal.m4:814: error: m4_defn: undefined macro: _m4_divert_diversion ./aclocal.m4:360: PHP_SUBST is expanded from... ./aclocal.m4:814: the top level autoconf: tracing failed Thanks a lot Jeroen -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] ?php= ? sytanx again
It's not only because of xml stuff but also because of the portability reasons..not everyone has short-tags enabled. Would it be that most of the people who have them enabled do that just because ?php= doesn't work..? +1 for ?php= if those short-tags are deprecated. :) --Jani On Fri, 9 Nov 2001, Edin Kadribasic wrote: Combine that with incompatibility of PHP's short open tag with XML, and the reason for having ?php= becomes clearer. As Rasmus is probably tired of pointing out, this isn't much of an argument. This: if ($i 4) { ... is incompatible with XML (it'd have to be if ($i lt; 4) ...) That's not what I'm talking about. Last time I tried ?xml ... with short open tag enabled, PHP gave me parse error. Edin -- 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 #13976 Updated: sybase_query(UPDATE/INSERT) returns FALSE on success
ID: 13976 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Sybase-ct (ctlib) related Operating System: FreeBSD 4.3 RC PHP Version: 4.0.6 New Comment: Closed then. Previous Comments: [2001-11-08 10:20:42] [EMAIL PROTECTED] It was probably bug in FreeTDS, at least according to http://franklin.oit.unc.edu/cgi-bin/lyris.pl?visit=freetdsid=163709519 PHP4 with FreeTDS from the current CVS seems to work correctly. [2001-11-07 07:58:02] [EMAIL PROTECTED] if i send UPDATE/INSERT/DELETE query to the script quoted bellow, it will display an empty string as a result of the sybase_query call even if the query was correctly processed. e.g. when i send delete from testtable, sybase_query returns false, but i can see all records from testtable are deleted. otherwise if i try to send select query, i can see something like Resource id #xx on success. i'm using php 4.0.6 compiled as an apache's dso, and freetds 0.52 from the freebsd ports collection (php and apache 1.3.22 are also compiled from the freebsd ports collection). test script starts here: form action=?php echo $PHP_SELF ? method=post textarea name=query rows=6 cols=50 vrap=virtual ?php echo htmlspecialchars($query) ?/textarea brinput type=submit value=submit /form ?php $link = sybase_connect('', 'php', 'xxx'); if (!sybase_select_db('tempdb', $link)) { die(can't use db); } $res= sybase_query($query, $link); echo res = $resbr\n; ? Edit this bug report at http://bugs.php.net/?id=13976edit=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 #13977 Updated: Sometimes php crashes when executing a script everytime at the same point.
ID: 13977 Updated by: jeroen Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Reproducible crash Operating System: Windows 2000 SP2 PHP Version: 4.0.6 New Comment: Derick wrote: Please include the shortest possible script (preferrably link to it) that crashes PHP. Is this the shortest?? Try to weed out lines until it doesn't crash anymore, because your script is a bit too long to check, and it's not self-containing either, it won't run because of parse errors and missing includes. YOu say it's because of DB access, try to do the specific queries only, and nothing else. Previous Comments: [2001-11-09 07:02:42] [EMAIL PROTECTED] Hi all, the problem is, that the script not allways crashes. It just crashes on my home pc with amd-cpu. I also put the script online (Linuxbox, Kernel 2.2.16, mod_php-4 (4.0.6), Apache/1.3.19 (Unix) (SuSE/Linux), MySQL 3.23.43 ,and there it runs perfectly: Here is the script: = ?php Version 0.1 hcms_fe_engine.php ( Frontendengine ) Gibt den Inhalt der Site für WebUser aus / // Sessionverwaltung einbinden include ('hcms_fe_session.php'); // Allgemeine Konfiguration einbinden include('hcms.init.php'); // Datenbankschnittstelle einbinden include ('hcms_smod_db.php'); // FE-Funktionen einbinden include('hcms_fe_functions.php'); // Site-Konfiguration aus DB holen $sConfig = getSiteConfig(); // Überprüfen, ob Site online ist if ($sConfig[online] == n) { header(Location: hcms_fe_siteoffline.html); // Ausweichdokument anzeigen } // Site ist online else { // Prüfung ob GenTime gewünscht if ($sConfig[showgentime] === y) { // Start der Erstellungsdauer $timer = new cGenTime; $timer-start(); } /// ENDE Prüfung GenTime gewünscht // // Seiten-Code erzeugen // if (!isset($location)) { $location = 1; } /// Seitenkopf generieren echo(htmlheadtitle$sConfig[sitename]/title/headbody bgcolor=\#66\); include('layouts/site.css'); // Main-Layout-Tabelle generieren echo (center table class=bodytab cellpadding=0 cellspacing=0 border=0 width=800); echo (trtd colspan=3 height=81img src=\.$IMG_SITE.logo_head.png\ border=0 width=800/td/tr); echo(trtd colspan=3 height=10 valign=top width=800); // Main-Menu aus DB holen $mmenu = generate_menu(1,$location); echo(table cellspacing=0 cellpadding=0 border=0 width=\800\ trtd class=conmenunbsp;nbsp;);^ for ($i = 1; $i = count($mmenu) - 1; $i++) { echo($mmenu[$i]nbsp;nbsp;|nbsp;); } This is the part that crashes under Win2k The 3. iteration of the loop. Not everytime, but often echo(a href=hcms_admin_login_form.phpLogin/a); echo (/tdtd class=conmenu align=right);echo(datum());echo(/tr/table); echo(/td/tr); // Kontextzeile einblenden echo(trtd class=fecx align= nbsp;nbsp;a href=\$PHP_SELF\img src=\pics_intern/news_haus.png\ border=0/a nbsp; a href=\mailto:$sConfig[webmaster]\;img src=\pics_intern/news_umschlag.png\ border=0/a /tdtd class=fecxfont color=whiteSie befinden sich font color=orangeb /b/font ); echo(getCX($location, $cx)); echo(/font/tdtd class=fecxnbsp;/td/tr); echo(trtd class=tdsmenu valign=\top\); // Sub-Menu aus DB holen get_subcats($location); /// // Content aus DB holen /// echo(nbsp;/tdtd class=tdcontent valign=top); // if (isset($cx) isset($idart)) { $file = renderCat($cx, $idart); include($DYN_PATH$file); // Temporäre Inc-Datei nach Verwendung löschen unlink($DYN_PATH$file); } elseif (isset($cx)) { $file = renderCat($cx, ); include($DYN_PATH$file); // Temporäre Inc-Datei nach Verwendung löschen unlink($DYN_PATH$file); } else { $file = renderCat($location, ); include($DYN_PATH$file); // Temporäre Inc-Datei nach Verwendung löschen unlink($DYN_PATH$file); } echo(/td); // ENDE Content aus DB holen / // Polls und Akutinfos aus DB holen echo(td class=tdpoll); echo(Poll); echo(/td); Ende Polls und Akutinfos aus DB holen / echo(/tr/table/centerbr); / /// Nochmalige Prüfung ob Timer gewünscht if
Re: [PHP-DEV] ?php= ? sytanx again
SHORT TAGS WILL NOT BE DEPRECATED. There. Zeev At 15:54 09/11/2001, Jani Taskinen wrote: It's not only because of xml stuff but also because of the portability reasons..not everyone has short-tags enabled. Would it be that most of the people who have them enabled do that just because ?php= doesn't work..? +1 for ?php= if those short-tags are deprecated. :) --Jani On Fri, 9 Nov 2001, Edin Kadribasic wrote: Combine that with incompatibility of PHP's short open tag with XML, and the reason for having ?php= becomes clearer. As Rasmus is probably tired of pointing out, this isn't much of an argument. This: if ($i 4) { ... is incompatible with XML (it'd have to be if ($i lt; 4) ...) That's not what I'm talking about. Last time I tried ?xml ... with short open tag enabled, PHP gave me parse error. Edin -- 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 #13938 Updated: Bad line numbers reported for parse errors
ID: 13938 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Operating System: WinNT 4.0 PHP Version: 4.0.6 New Comment: Yes, I am using Windows, and the Windows convention is CR+LF, while I guess the Unix convention is LF only. However, the Windows version of PHP should understand the difference, in fact version 4.0.4pl1 worked fine. I still consider this a bug. You are correct, the error in the script I was working on earlier this morning was very close to line 919. Previous Comments: [2001-11-09 10:06:46] [EMAIL PROTECTED] You don't happen to use Windows newlines (I see your OS is windows)? Not that that _should_ matter, but it can be the source of the problem. Try to convert to unix newlines. I notice that with (n+1)/2 you get the actual line the error is on. In the long file, doesn't the error occur on line 919 by coincidence? [2001-11-09 06:33:17] [EMAIL PROTECTED] I should have said there are no EXTRA newlines. Of course there are newlines in the script :) [2001-11-09 06:32:18] [EMAIL PROTECTED] There are absolutely no newlines. In fact, at this very moment I am making changes to a web application, and am getting a parse error on line 1837 of a script which has only 1148 lines. [2001-11-05 21:43:29] [EMAIL PROTECTED] Can you check your file for newlines after the %. I can reproduce the error by putting 3 or 4 newlines at the end of the file after the closing tag. Because you are in a string, it errors when it reaches EOF. [2001-11-05 16:56:41] [EMAIL PROTECTED] I saw some previous reports of this bug in earlier versions of PHP 4. It's back in 4.0.6, at least on WinNT 4.0. Here's an extremely simple sample script: % $test = This is an improperly terminated string; % This script has a total of 5 lines. The error generated to the browser when this script is accessed is: Parse error: parse error in d:\users\tleaver\leaver.com\htdocs\bad.php on line 9 Line 9 does not exist. Unlike previous reports of this bug which I've seen, this bug does not depend on includes. Edit this bug report at http://bugs.php.net/?id=13938edit=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] Fwd: can't build PHP_4_0_7 branch
Hm, it seems I'm not the only one having troubles compiling. I catched this one on php.install These are exact the same errors as I'm getting. --Jeroen Grigori Goronzy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... I checked out the PHP_4_0_7 branch and tried running ./buildconf. I got: bash-2.05$ ./buildconf buildconf: checking installation... buildconf: autoconf version 2.52 (ok) buildconf: automake version 1.5 (ok) buildconf: libtool version 1.4 (ok) rebuilding Makefile templates rebuilding configure ./aclocal.m4:944: error: m4_defn: undefined macro: _m4_divert_diversion ./aclocal.m4:473: PHP_SUBST is expanded from... ./aclocal.m4:944: the top level rebuilding acconfig.h rebuilding main/php_config.h.in ./aclocal.m4:944: error: m4_defn: undefined macro: _m4_divert_diversion ./aclocal.m4:473: PHP_SUBST is expanded from... ./aclocal.m4:944: the top level autoconf: tracing failed bash-2.05$ same with php_4_0_7RC2 and RC3. What can I do? -greg -- 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 #13977 Updated: Sometimes php crashes when executing a script everytime at the same point.
ID: 13977 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Reproducible crash Operating System: Windows 2000 SP2 PHP Version: 4.0.6 Previous Comments: [2001-11-09 07:02:42] [EMAIL PROTECTED] Hi all, the problem is, that the script not allways crashes. It just crashes on my home pc with amd-cpu. I also put the script online (Linuxbox, Kernel 2.2.16, mod_php-4 (4.0.6), Apache/1.3.19 (Unix) (SuSE/Linux), MySQL 3.23.43 ,and there it runs perfectly: Here is the script: = ?php Version 0.1 hcms_fe_engine.php ( Frontendengine ) Gibt den Inhalt der Site für WebUser aus / // Sessionverwaltung einbinden include ('hcms_fe_session.php'); // Allgemeine Konfiguration einbinden include('hcms.init.php'); // Datenbankschnittstelle einbinden include ('hcms_smod_db.php'); // FE-Funktionen einbinden include('hcms_fe_functions.php'); // Site-Konfiguration aus DB holen $sConfig = getSiteConfig(); // Überprüfen, ob Site online ist if ($sConfig[online] == n) { header(Location: hcms_fe_siteoffline.html); // Ausweichdokument anzeigen } // Site ist online else { // Prüfung ob GenTime gewünscht if ($sConfig[showgentime] === y) { // Start der Erstellungsdauer $timer = new cGenTime; $timer-start(); } /// ENDE Prüfung GenTime gewünscht // // Seiten-Code erzeugen // if (!isset($location)) { $location = 1; } /// Seitenkopf generieren echo(htmlheadtitle$sConfig[sitename]/title/headbody bgcolor=\#66\); include('layouts/site.css'); // Main-Layout-Tabelle generieren echo (center table class=bodytab cellpadding=0 cellspacing=0 border=0 width=800); echo (trtd colspan=3 height=81img src=\.$IMG_SITE.logo_head.png\ border=0 width=800/td/tr); echo(trtd colspan=3 height=10 valign=top width=800); // Main-Menu aus DB holen $mmenu = generate_menu(1,$location); echo(table cellspacing=0 cellpadding=0 border=0 width=\800\ trtd class=conmenunbsp;nbsp;);^ for ($i = 1; $i = count($mmenu) - 1; $i++) { echo($mmenu[$i]nbsp;nbsp;|nbsp;); } This is the part that crashes under Win2k The 3. iteration of the loop. Not everytime, but often echo(a href=hcms_admin_login_form.phpLogin/a); echo (/tdtd class=conmenu align=right);echo(datum());echo(/tr/table); echo(/td/tr); // Kontextzeile einblenden echo(trtd class=fecx align= nbsp;nbsp;a href=\$PHP_SELF\img src=\pics_intern/news_haus.png\ border=0/a nbsp; a href=\mailto:$sConfig[webmaster]\;img src=\pics_intern/news_umschlag.png\ border=0/a /tdtd class=fecxfont color=whiteSie befinden sich font color=orangeb /b/font ); echo(getCX($location, $cx)); echo(/font/tdtd class=fecxnbsp;/td/tr); echo(trtd class=tdsmenu valign=\top\); // Sub-Menu aus DB holen get_subcats($location); /// // Content aus DB holen /// echo(nbsp;/tdtd class=tdcontent valign=top); // if (isset($cx) isset($idart)) { $file = renderCat($cx, $idart); include($DYN_PATH$file); // Temporäre Inc-Datei nach Verwendung löschen unlink($DYN_PATH$file); } elseif (isset($cx)) { $file = renderCat($cx, ); include($DYN_PATH$file); // Temporäre Inc-Datei nach Verwendung löschen unlink($DYN_PATH$file); } else { $file = renderCat($location, ); include($DYN_PATH$file); // Temporäre Inc-Datei nach Verwendung löschen unlink($DYN_PATH$file); } echo(/td); // ENDE Content aus DB holen / // Polls und Akutinfos aus DB holen echo(td class=tdpoll); echo(Poll); echo(/td); Ende Polls und Akutinfos aus DB holen / echo(/tr/table/centerbr); / /// Nochmalige Prüfung ob Timer gewünscht if ($sConfig[showgentime] == y) { // Zeit stoppen $timer-stop(); echo(hr width=800centerDiese Seite wurde generiert in ); $timer-showtime(); echo( Sekunden/center); } // // Prüfen, ob Poweredby-Logo gewünscht if ($sConfig[showpoweredby] == y) { echo(brcentera href=\http://www.heavensoft.org\; target=_blank
[PHP-DEV] Bug #13938 Updated: Windows-newlines are counted twice
ID: 13938 Updated by: jeroen Reported By: [EMAIL PROTECTED] Old Summary: Bad line numbers reported for parse errors Status: Open Bug Type: Scripting Engine problem Operating System: WinNT 4.0 PHP Version: 4.0.6 New Comment: I didn't say it wasn't a bug, I was trying to track down the problem. Changed summary. (the *nix php version handles winnewlines correctly) Previous Comments: [2001-11-09 10:17:41] [EMAIL PROTECTED] Yes, I am using Windows, and the Windows convention is CR+LF, while I guess the Unix convention is LF only. However, the Windows version of PHP should understand the difference, in fact version 4.0.4pl1 worked fine. I still consider this a bug. You are correct, the error in the script I was working on earlier this morning was very close to line 919. [2001-11-09 10:06:46] [EMAIL PROTECTED] You don't happen to use Windows newlines (I see your OS is windows)? Not that that _should_ matter, but it can be the source of the problem. Try to convert to unix newlines. I notice that with (n+1)/2 you get the actual line the error is on. In the long file, doesn't the error occur on line 919 by coincidence? [2001-11-09 06:33:17] [EMAIL PROTECTED] I should have said there are no EXTRA newlines. Of course there are newlines in the script :) [2001-11-09 06:32:18] [EMAIL PROTECTED] There are absolutely no newlines. In fact, at this very moment I am making changes to a web application, and am getting a parse error on line 1837 of a script which has only 1148 lines. [2001-11-05 21:43:29] [EMAIL PROTECTED] Can you check your file for newlines after the %. I can reproduce the error by putting 3 or 4 newlines at the end of the file after the closing tag. Because you are in a string, it errors when it reaches EOF. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/?id=13938 Edit this bug report at http://bugs.php.net/?id=13938edit=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] Modifying PHP CGI/DSO module for custom purpose
Hi all, I'm new to this list, and just got subscribed under hint of Andrei Zmievski. So forgive me if my question may seem stupid. I'd like to modify PHP, so that when I request for a file with a particular extension, it will be preprocessed before being parsed (read: decrypted). I'm doing tests with the CGI version at first, and switch to DSO module later. I modified streams.c/.h so that on fopen of a file with a certain extension, a flag in stream structure marks it as encrypted. Next read and gets operations will process the buffer, if encryption flag is set. This approach doesn't work. But since I'm new to the way PHP processes scripts, I could have wrong the path. Do you know of any smarty approach to solve this problem? (keep the sources encrypted). I'd really want them to be unaccessible if not by using the modified php module. Let me specify that I'm aware of Zend Encoder, but I can't choose it due the fact that the cost is simply too much for what I want to do. Preprocessing input file would be sufficient for my application. Any advice will be greatly appreciated. Thanks for listening. Mirko -- 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 #13938 Updated: Windows-newlines are counted twice
ID: 13938 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Operating System: WinNT 4.0 PHP Version: 4.0.6 New Comment: Ok, Gotchya. If it would help at all, I can change to Unix style with Homesite and let you know if the line is correctly identified. Also, I'm very suprised that this has not been reported previously. 4.0.6 has been out for awhile, and I'm sure there must be some other Windows PHP users out there. Is there any way that this has anything to do with the ISAPI dll I'm using vs cgi, or possibly the obscure web server software I'm using? I'm using a web server called Sambar Server (www.sambar.com), which is not widely used. I just figure somebody else would be complaining about this if it happened under IIS. Previous Comments: [2001-11-09 10:37:22] [EMAIL PROTECTED] I didn't say it wasn't a bug, I was trying to track down the problem. Changed summary. (the *nix php version handles winnewlines correctly) [2001-11-09 10:17:41] [EMAIL PROTECTED] Yes, I am using Windows, and the Windows convention is CR+LF, while I guess the Unix convention is LF only. However, the Windows version of PHP should understand the difference, in fact version 4.0.4pl1 worked fine. I still consider this a bug. You are correct, the error in the script I was working on earlier this morning was very close to line 919. [2001-11-09 10:06:46] [EMAIL PROTECTED] You don't happen to use Windows newlines (I see your OS is windows)? Not that that _should_ matter, but it can be the source of the problem. Try to convert to unix newlines. I notice that with (n+1)/2 you get the actual line the error is on. In the long file, doesn't the error occur on line 919 by coincidence? [2001-11-09 06:33:17] [EMAIL PROTECTED] I should have said there are no EXTRA newlines. Of course there are newlines in the script :) [2001-11-09 06:32:18] [EMAIL PROTECTED] There are absolutely no newlines. In fact, at this very moment I am making changes to a web application, and am getting a parse error on line 1837 of a script which has only 1148 lines. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/?id=13938 Edit this bug report at http://bugs.php.net/?id=13938edit=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 #13971 Updated: OleMainThreadWndName end task windows appears while logout
ID: 13971 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: iPlanet related Operating System: Windows NT4 sp6a PHP Version: 4.0.6 New Comment: Hi all, I found out that this bug bolongs to the NSAPI funktions in PHP. If I follow the installation instructions for PHP on WinNT and the instructions for the CGI functions under iPlanet, there is no OleMainThreadWndName at logout. If I follow the instructions and install PHP as NSAPI it gives me the ^ message again. thanks, Matthias Previous Comments: [2001-11-07 06:01:13] [EMAIL PROTECTED] Hi all, looks similar as bug #11256 but with the new PHP version also. I got this bug with IPlanet 4.1sp6 and IPlanet 6. When I try to log out or to shut down the system it takes some time and than a window will appear that is named: OleMainThreadWndName asking if I want to 1. wait 2. end task 3. Cancel. The problem is, that I cannot remote restarte the server without killing this task by hand. I downloaded the php-4.0.6-Win32.zip file extractet it and followed the installation instructions for NT an Netscape servers. I got no extensions enabled yet. Thanks in advance, Matthias Merkel Edit this bug report at http://bugs.php.net/?id=13971edit=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] gettext codeset patch
On Thu, Nov 08, 2001 at 09:58:44PM +0100, Rudi Benkovi wrote: attached is a little patch that adds function bind_textdomain_codeset(), which allows you to set the output codeset of your translated strings. It doesn't break backwards compatibility with older releases of gettext. Hopefully someone will test commit this. It seems to work alright here, so I just committed it. -- Jon Parise ([EMAIL PROTECTED]) . Information Technology (2001) http://www.csh.rit.edu/~jon/ : Computer Science House Member -- 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 #13998: + in commandline disappears
From: [EMAIL PROTECTED] Operating system: windows 2000 - apache server PHP version: 4.0.6 PHP Bug Type: Unknown/Other Function Bug description: + in commandline disappears If I echo the query_string, I get: case=1file_id=file_35id=35name=Grondplan%20T+1.jpgftype=drawing but when I ask the following: echo $name; it gives me: Grondplan T 1.jpg the + has disappeared. can anyone help me. -- Edit bug report at: http://bugs.php.net/?id=13998edit=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 #13998 Updated: + in commandline disappears
ID: 13998 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Open Status: Duplicate Bug Type: Unknown/Other Function Operating System: windows 2000 - apache server PHP Version: 4.0.6 New Comment: Dupe of #12219 Previous Comments: [2001-11-09 11:46:05] [EMAIL PROTECTED] If I echo the query_string, I get: case=1file_id=file_35id=35name=Grondplan%20T+1.jpgftype=drawing but when I ask the following: echo $name; it gives me: Grondplan T 1.jpg the + has disappeared. can anyone help me. Edit this bug report at http://bugs.php.net/?id=13998edit=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 #13998 Updated: + in commandline disappears
ID: 13998 Updated by: sander Reported By: [EMAIL PROTECTED] Status: Duplicate Bug Type: Unknown/Other Function Operating System: windows 2000 - apache server PHP Version: 4.0.6 New Comment: Or, if you meant that an url like http://localhost/file.php?var=foo+bar resulted in $var being foo bar, RTM: http://www.php.net/manual/en/language.variables.external.php Previous Comments: [2001-11-09 12:10:41] [EMAIL PROTECTED] Dupe of #12219 [2001-11-09 11:46:05] [EMAIL PROTECTED] If I echo the query_string, I get: case=1file_id=file_35id=35name=Grondplan%20T+1.jpgftype=drawing but when I ask the following: echo $name; it gives me: Grondplan T 1.jpg the + has disappeared. can anyone help me. Edit this bug report at http://bugs.php.net/?id=13998edit=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 #13990 Updated: Command line Input Problems with '+'
ID: 13990 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Open Status: Duplicate Bug Type: Strings related Operating System: GNU/Linux Debian SID PHP Version: 4.1.0RC1 New Comment: Dupe of #12219 Previous Comments: [2001-11-08 10:12:59] [EMAIL PROTECTED] I use Debian/SIDs standard php4 as of 08/11/2001 Here is the Script to reproduce the Problem: ? var_dump($argv); ? When I call the script like this: nsn@nsn:~ php4 -q test.php a+b var_dump tells me I gave the Script 2 Parameters (a and b) Actually I gave it 1 Parameter ('a+b'). I think PHP url-decodes the argvs before interpretion, but when I call the Script like this: nsn@nsn:~ php4 -q test.php a%2bb (with %2b being the url-endoded String for +) PHP does not url-decode the String properly. As it seems it is not possible to send a string containing the character '+' to PHP on the command line. please excuse my rather bad english regards Michael Bayer [[EMAIL PROTECTED]] Edit this bug report at http://bugs.php.net/?id=13990edit=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 #10240 Updated: passthru / exec etc have problems with input output of executed programs
ID: 10240 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: IIS related Operating System: Windows ME/2000 PHP Version: 4.0.4pl1 New Comment: Can you try the latest CVS? (Windows builds at http://php-dev-win.dhs.org/, source at snaps.php.net or via CVS) Using PHP 4.0.6 on Windows probably won't work; there were many problems with exec-alike functions on 4.0.6 which are fixed in the latest CVS. And if it still doesn't work, can you provide a sample script? Previous Comments: [2001-04-09 06:51:58] [EMAIL PROTECTED] I cannot have output of executed programs from functions like passthru or exec. The same script runs well on Linux php (it is version 3.0 on Linux). I tried on Windows something like passthru(command /c dir); and on Linux passthru(/bin/ls); On windows ME I'm using the CGI version of PHP, on PWS, on 2000 I 'm using the CGI version with IIS. On Linux, I don't know exactly what's going on, I know only that it runs Apache. With passthru the CGI execution takes TOO MUCH time, and with exec it doesn't fill the return array with the output. Edit this bug report at http://bugs.php.net/?id=10240edit=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 #13999: Invalid array initialization will crash Apache !?
From: [EMAIL PROTECTED] Operating system: Apache - Linux / Windows PHP version: 4.0.6 PHP Bug Type: Reproducible crash Bug description: Invalid array initialization will crash Apache !? This code will crash apache : ?php $a = ''; $i = 'TEST'; if (!isset($a['BUG'][$i])) { $a['BUG'][$i] = 'SAMPLE'; } ? But not this one : ?php $a = ''; $i = 'TEST'; $a['BUG'][$i] = 'SAMPLE'; ? Nor this one : ?php $a = array(); $i = 'TEST'; if (!isset($a['BUG'][$i])) { $a['BUG'][$i] = 'SAMPLE'; } ? -- Edit bug report at: http://bugs.php.net/?id=13999edit=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 #8440 Updated: fopen on a url returns success as an error
ID: 8440 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: HTTP related Operating System: Debian Linux 2.2.14 PHP Version: 4.0.4pl1 New Comment: Reopened. Previous Comments: [2001-10-18 15:21:23] [EMAIL PROTECTED] Any news on this yet? [2001-04-27 22:09:34] [EMAIL PROTECTED] I don't believe it has happened since the Apache MaxRequestsPerChild was reduced. I shall suspend this until I have a chance to test more thoroughly. [2001-04-27 21:56:00] [EMAIL PROTECTED] Any example scripts? Works just fine for me with latest CVS. --Jani [2001-01-18 20:36:58] [EMAIL PROTECTED] It's nothing to do with redirects, no. It doesn't return a redirect response. [2001-01-07 14:23:20] [EMAIL PROTECTED] The reason might be that fopen() doesn't handle redirects. I hope to add redirect support again though. To check if this is the reason, check the contents of $http_response_header right after the fopen() call and see if it contains a redirect. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/?id=8440 Edit this bug report at http://bugs.php.net/?id=8440edit=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 #12884 Updated: Content-Encoding: PHP sends incorrect Content-Length when gzip is used on a re
ID: 12884 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: HTTP related Operating System: PHP Version: 4.0.6 New Comment: No feedback. Reopening. Previous Comments: [2001-10-02 18:56:00] [EMAIL PROTECTED] So is this problem still valid or not? [2001-08-23 22:33:31] [EMAIL PROTECTED] I don't think that it's fixed the way yngve expects: ob_get_length() is still not fixed as far as I know. However, a work-around involving sending a Content-Length header form the ob_gzhandler, has been committed to CVS. See also discussion at http://groups.google.com/groups?th=20970c04f298469f,2 http://groups.google.com/groups?th=723d03bc0ba6cbe5,8 [2001-08-22 01:25:40] [EMAIL PROTECTED] this should be fixed in CVS. Could you please try the latest snapshot to verify: http://snaps.php.net/ --Jani [2001-08-21 14:43:56] [EMAIL PROTECTED] I am a developer at Opera Software, in charge of the HTTP protocol support in the Opera Browser. We recently received a report of a problem on http://www.amdforums.com . When I investigating this report I found that the problem was caused by an incorrect Content-Length header in combination with a Content-Encoding: gzip header. The length indicated by the Content-Length is actually the length of the original, uncompressed body, but it should have been the length of the compressed body (References: RFC 2616 section 4.4, 7.2 and 14.13). The mismatch between the indicated Content-Length and the actual amount of received data causes Opera to do repeated load attempts (This is a fallback primarily used to handle problems with pipelining and persistent connections). This mismatch also destroys the pipelining and persistent connection capabilities in HTTP 1.1. I actually observed one example where the HTTP header of the next (pipelined) request was received and added to the content of the gzipped file. Investigating the PHP sourcecode I found that the code to add the Content-Length header was disabled. I am still investigating workarounds that will handle this problem, but unless it is removed on the server side it will affect all Opera versions after v4.0, as well as any other HTTP useragent that uses HTTP pipelining and therefore have to trust the Content-Length headers To fix this problem you will have to replace the Content-Length header with a proper header, or remove it. An alternative (for HTTP 1.1 clients) is to use the chunked transfer encoding. This is an example session: GET / HTTP/1.1 User-Agent Mozilla/3.0 (Windows 2000; U) Opera 5.50 [en] Host www.amdforums.com Accept text/html, image/png, image/jpeg, image/gif, image/x-xbitmap, */* Accept-Language en Accept-Charset iso-8859-1,*,utf-8 Accept-Encoding deflate, gzip, x-gzip, identity, *;q=0 Connection Keep-Alive, TE TE deflate, gzip, chunked, identity, trailers (Cookie header removed) with the following response from the server HTTP/1.1 200 OK Date Mon, 13 Aug 2001 175609 GMT Server Apache/1.3.19 (Unix) (Red-Hat/Linux) PHP/4.0.6 mod_perl/1.24_01 X-Powered-By PHP/4.0.6 Content-Length 60928 Content-Encoding gzip Vary Accept-Encoding Keep-Alive timeout=15, max=100 Connection Keep-Alive Content-Type text/html followed by an entity body of 9562 bytes of gzipped data. The gzipped data expands to 60928 bytes of data, as specified in the content length header. Edit this bug report at http://bugs.php.net/?id=12884edit=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 #11879 Updated: error al ejecuta make
ID: 11879 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Compile Failure Operating System: NCR WM 4300 unix systema V MP-RA PHP Version: 4.0.6 Assigned To: derick New Comment: No feedback. Closing. Previous Comments: [2001-10-16 04:23:12] [EMAIL PROTECTED] I didn't see any files coming my way, can you resend them? Derick [2001-09-23 18:47:11] [EMAIL PROTECTED] fixing status that was not set. [2001-07-13 11:53:52] [EMAIL PROTECTED] i send the files to e-mail [EMAIL PROTECTED] is ok thanks's [2001-07-05 10:16:33] [EMAIL PROTECTED] true... can you put them up in a gzip file on a website? Derick [2001-07-05 10:08:29] [EMAIL PROTECTED] how Can i add my main/php_config.h, config.log, config.debug into this bugreport what is your e-mail the file's is very long the number lines for files 1981 ./main/php_config.h 494 ./config.log the file config.debug not exist, only file config* are this config.cache config.guess config.log config.nice config.status config.sub config_vars.mk configure configure.in thanks... The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/?id=11879 Edit this bug report at http://bugs.php.net/?id=11879edit=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 #13576 Updated: ldap_add does not return true or false
ID: 13576 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: LDAP related Operating System: PHP Version: 4.0.6 New Comment: No feedback. Closing. Previous Comments: [2001-10-06 15:56:24] [EMAIL PROTECTED] Can you post a sample script and your configure-line? [2001-10-06 14:39:00] [EMAIL PROTECTED] issuing an ldap_add does not return 1 or 0 it returns nothing. Edit this bug report at http://bugs.php.net/?id=13576edit=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 #13575 Updated: sybase stops connecting after a while
ID: 13575 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Sybase-ct (ctlib) related Operating System: slackware 7 / linux 2.2.16 PHP Version: 4.0.6 New Comment: No feedback. Closing. Previous Comments: [2001-10-17 21:22:17] [EMAIL PROTECTED] Please check you sybase configuration and make sure that you aren't simply exhausting your # of client connections. [2001-10-06 14:08:24] [EMAIL PROTECTED] running apache 1.3.20, php 4.0.6 under slackware 7 with linux 2.2.16. after a random number of days (mostly 30+) php refuses to connect to sybase. when this occurs the only thing that helps is restarting apache. a stop and start works fine, restart doesn't fix the problem. thought it was number of connections to sybase, but have changed that and no difference. really hard to explain, but that's as much as i know :o) / d Edit this bug report at http://bugs.php.net/?id=13575edit=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 #13574 Updated: strip_tags() adds space after '\n'
ID: 13574 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Strings related Operating System: UNIX PHP Version: 4.0.6 New Comment: No feedback. Closing. Previous Comments: [2001-10-06 13:53:15] [EMAIL PROTECTED] I can't reproduce this For example, this code: $text = This is just a test\nLine 2\nLast line; echo strip_tags($text); Produces this (output run through od -c): 000 T h i s i s j u s t a t 020 e s t \n L i n e 2 \n L a s t 040 l i n e No extra spaces anywhere. Could you show me a simple example that does this for you? [2001-10-06 13:47:40] [EMAIL PROTECTED] strip_tags() adds a space after '\n', when string does not contain any html tags Edit this bug report at http://bugs.php.net/?id=13574edit=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 #13557 Updated: Compile bails when you use --with-snmp=shared,/path
ID: 13557 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Compile Failure Operating System: PHP Version: 4.0.6 New Comment: No feedback. Closing. Previous Comments: [2001-10-05 08:57:46] [EMAIL PROTECTED] Please try the latest CVS snapshot: http://snaps.php.net/ as this should be fixed now. [2001-10-05 03:15:31] [EMAIL PROTECTED] Although the configure --help says you can use --with-snmp=shared,/usr it infact does not work. You get errors like this: checking for SNMP support... yes, shared ./configure: shared,/usr/include: No such file or directory and gcc -I. ... -Ishared,/usr/include/ucd-snmp .. -o snmp.lo snmp.c:60: default_store.h: No such file or directory Edit this bug report at http://bugs.php.net/?id=13557edit=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 #13555 Updated: Configure doesn't seem to search /lib for libdb-3.so
ID: 13555 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Compile Failure Operating System: RedHat Linux 6.2 PHP Version: 4.0.6 New Comment: No feedback. Closing. Previous Comments: [2001-10-05 08:56:00] [EMAIL PROTECTED] Which RPM does install it in /lib/ ?? [2001-10-05 02:58:27] [EMAIL PROTECTED] Configure doesn't seem to search /lib for db-3.so. On RedHat 6.2 (and above?) systems db3 is installed in /lib not /usr/lib. I tried specifying --with-db3=/ and that didn't seem to solve the issue. Edit this bug report at http://bugs.php.net/?id=13555edit=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 #13624 Updated: Premature end of script headers
ID: 13624 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Reproducible crash Operating System: Windows 2000 PHP Version: 4.0.6 New Comment: No feedback. Closing. Previous Comments: [2001-10-10 04:24:25] [EMAIL PROTECTED] Please provide the smallest *complete* script which reproduces this. - Markus [2001-10-10 04:07:27] [EMAIL PROTECTED] I have a reproducible bug when I use a script. A script contains the following code: for ($i=0; $isizeof($motcle); $i++) { $href1=a href='visu.php?fiche=.$motcle[$i][1].hist=1'; $href2=/a; $txt=ereg_replace($motcle[$i][0],$href1.$motcle[$i][0].$href2,$txt); Where $txt is a page of various txt. If the ereg_replace function find an occurence of $motcle[][] in the $txt variable, there give a crash of PHP.exe This bug appears only when the script is call by an link. If I affich the page with an // before the ereg_replace and then I delete the // and I refresh the page it works... Edit this bug report at http://bugs.php.net/?id=13624edit=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 #13608 Updated: segmentation fault in apache when using imap-function in php
ID: 13608 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Reproducible crash Operating System: linux debian-woody PHP Version: 4.0.6 New Comment: No feedback. Closing. Previous Comments: [2001-10-09 03:02:00] [EMAIL PROTECTED] This should be fixed in 4.0.7RC3, can you try it from www.php.net/~zeev/php-4.0.7RC3.tar.gz ? Derick [2001-10-09 02:59:10] [EMAIL PROTECTED] I get a segmentation fault in de log-file of apache when using an imap-function. It first happened when I tried IMP, but I can reproduce it with a silly program of 1 line of php-code(and a php with less modules). Versions: - Debian-woody imap-2001.FINAL.tar.Z make slx apache-1.3.20 configure --prefix=/usr/local/apache \ --sysconfdir=/etc/apache \ --libexecdir=/usr/local/apache/1.3 \ --enable-shared=max \ --enable-module=all make make install php-4.0.6 configure --enable-debug \ --with-imap=../imap \ --with-gettext \ --with--apxs=/usr/local/apache/bin/apxs \ --enable-trackvars \ --with-confif-file-path=/etc make make install cp php.ini-dist /etc/php.ini My 'silly program': - ?php $mbox=imap_open({mail.khbo.be:143}INBOX, demo, x); ? The gdb backtrace Starting program: /usr/local/apache/bin/httpd -X (no debugging symbols found)...(no debugging symbols found)... ... Program received signal SIGSEGV, Segmentation fault. 0x0 in ?? () (gdb) bt #0 0x0 in ?? () #1 0x40549d88 in _nss_db_getspnam_r () from /lib/libnss_db.so.2 #2 0x40549e40 in _nss_db_getspnam_r () from /lib/libnss_db.so.2 #3 0x4054885e in _nss_db_endprotoent () from /lib/libnss_db.so.2 #4 0x40548ac8 in _nss_db_getprotobyname_r () from /lib/libnss_db.so.2 #5 0x401dae9f in getprotobyname_r () from /lib/libc.so.6 #6 0x401dad4d in getprotobyname () from /lib/libc.so.6 #7 0x40419a8c in tcp_getbuffer (stream=0xbfffcf2c, size=3221210924, s=0xbfffc728 ) at tcp_unix.c:527 #8 0x40419900 in tcp_getbuffer (stream=0xbfffd40c, size=0, s=0x8f Address 0x8f out of bounds) at tcp_unix.c:502 #9 0x40412e23 in strcrlflen () at nl_unix.c:84 #10 0x40411670 in mail_thread_parse_references (s=0xbfffd40c mail.khbo.be, flag=0) at mail.c:4565 #11 0x40429e4f in imap_login (stream=0x8112d88, mb=0xd0, pwd=0xbfffe7bc \fh??u14@, usr=0x40407de8 \211G$\203DtW\213\225\\x??\213B8?P\203D \205@u\r\203Dxj) at imap4r1.c:949 #12 0x40407dfa in mail_fetch_text (stream=0x0, msgno=135346788, section=0x0, len=0x4034ad74, flags=1078791940) at mail.c:1525 #13 0x4034b1f5 in php_if_imap_get_quota (ht=3, return_value=0x810e8bc, this_ptr=0x0, return_value_used=1) at php_imap.c:1040 #14 0x4034b335 in php_if_imap_get_quota (ht=3, return_value=0x810e8bc, this_ptr=0x0, return_value_used=1) at php_imap.c:1061 #15 0x40310ad7 in execute (op_array=0x810e6fc) at ./zend_execute.c:1729 #16 0x403221d0 in add_index_string (arg=0x8, index=3, str=0x0, duplicate=-1073743176) at zend_API.c:368 #17 0x4033a4f3 in php_fopen_primary_script () at fopen_wrappers.c:304 #18 0x40335a4e in php_merge_dir (p=0x8105794, basev=0x0, addv=0xbb0c) at mod_php4.c:612 #19 0x403367b8 in php_info_apache (zend_module=0x8105794) atphp_apache.c:281 #20 0x403367fb in php_info_apache (zend_module=0x8105794) at php_apache.c:283 #21 0x8054959 in ap_invoke_handler () #22 0x80692df in process_request_internal () #23 0x8069346 in ap_process_request () #24 0x8060256 in child_main () #25 0x8060411 in make_child () #26 0x806058c in startup_children () #27 0x8060bfc in standalone_main () #28 0x806142c in main () #29 0x4011464f in __libc_start_main () from /lib/libc.so.6 Thank you for any advice Philip Edit this bug report at http://bugs.php.net/?id=13608edit=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 #13702 Updated: SSL + Sessions
ID: 13702 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Session related Operating System: Linux 2.2.14 x86 PHP Version: 4.0.6 New Comment: No feedback. Closing. Previous Comments: [2001-10-17 02:36:53] [EMAIL PROTECTED] Please be a bit more spcific, i.e. include an example. (Please also read the bugs.php.net/bugs-dos-and-donts.php guidelines). derick [2001-10-16 20:38:15] [EMAIL PROTECTED] Seems like there are some problems with global variables being called from the customer session handler functions. This only seems to exist when the connection is HTTPS. Edit this bug report at http://bugs.php.net/?id=13702edit=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 #8929 Updated: ldap modify and add operations send trailing garbage to iplanet in dn's
ID: 8929 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: LDAP related Operating System: Linux 2.2.13 / Solaris 8 PHP Version: 4.0.4pl1 New Comment: No feedback. Closing. Previous Comments: [2001-10-09 14:29:26] [EMAIL PROTECTED] Can you include a sample script? [2001-01-26 02:52:04] [EMAIL PROTECTED] Using ldap_mod_replace() and ldap_add() causes trailing garbage to be sent to iPlanet Directory Server in the dn-parameter. In the script the strings are fine but when tracking the accesslog of the iPlanet there is a few characters of trailing garbage in the DN's. The configuration is: --with-apache=../apache_1.3.14 --with-mysql=/usr --with-oci8 --with-mcrypt=/usr/local --with-imap=../imap/c-client --with-ttf=/usr/local --with-zlib=/usr/local --with-jpeg-dir=/usr/local --with-gd=/usr/local --with-xpm-dir=/usr/X11R6 --with-ming=/usr/local/lib --with-ldap=/usr/local --with-dom=/usr/local --with-config-file-path=/etc/httpd --disable-session --disable-debug --disable-pear --enable-sigchild --enable-static=yes --enable-shared=no --enable-safe-mode=yes --enable-track-vars=yes --enable-magic-quotes=yes --enable-force-cgi-redirect=yes --enable-discard-path=yes --enable-url-include=yes LDAP client library used is openldap 2.0.7 Edit this bug report at http://bugs.php.net/?id=8929edit=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 #13692 Updated: mail function returns always false
ID: 13692 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Mail related Operating System: FreeBsd PHP Version: 4.0.6 New Comment: No feedback. Closing. Previous Comments: [2001-10-16 17:56:54] [EMAIL PROTECTED] Can't reproduce (althoug I'm running Linux). Can you test a more recent version from snaps.php.net? ty, - Markus [2001-10-16 11:28:31] [EMAIL PROTECTED] we are using freeBsd with php 4.0.6 and the problem still remains. we always get FALSE back, even the mail was sent. with the version 4.0.1 it worked all fine... we didn´t make any upgrades on the sendmail or something else, only apache and php. so what´s our problem? thanx a lot Edit this bug report at http://bugs.php.net/?id=13692edit=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 #13679 Updated: When using array_unique with an array null values are created for the new array
ID: 13679 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Arrays related Operating System: Slackware 8.0 PHP Version: 4.0.6 New Comment: No feedback. Closing. Previous Comments: [2001-10-15 19:23:40] [EMAIL PROTECTED] status - feedback [2001-10-15 18:45:19] [EMAIL PROTECTED] Can you please provide a short stand-alone script exhibiting the problems? Try to use only array(), array_unique() and var_dump() functions, and in any case no functions like mysql_query(). (there exists a 'null' keyword, for if you need it) [2001-10-15 18:32:27] [EMAIL PROTECTED] Creating a mysql database that holds a field of values, e.g. TLDs, with row 0 containing cx nu com org net, row 1 containing it at de us com, and so forth, a semi-annoying bug can be created with array_unique() that will insert null elements into the new array. For example: ? $connection = mysql_connect(localhost,classicgames,classicgames); mysql_select_db(classicgames,$connection); $query = select votes from tldvote; $result = mysql_query($query); $i = 0; while($row = mysql_fetch_row($result)) { $string = implode(,$row); $tempArray = explode( ,$string); for($j = 0; $j 5; $j++) { $votes[$i][$j] = $tempArray[$j]; } $i++; } for($i = 0, $k = 0; $i sizeOf($votes); $i++) for($j = 0; $j 5; $j++) { $type[$k] = $votes[$i][$j]; $k++; } /* Bug is created here, just this script alone will produce an array of unique types as well as null (more-so towards ) types. */ $tempType = array_unique($type); for($i = 0; $i sizeOf($type); $i++) for($j = 0; $j sizeOf($tempType); $j++) if($type[$i] == $tempType[$j]) $tally[$j] = $tally[$j] + 1; array_multisort($tally, SORT_DESC,$tempType); for ($i = 0; $i sizeOf($tally); $i++) echo $tempType[$i]. has .$tally[$i]. votes.br; ? Now, I was able to fix this by adding: ? for($i = 0; $i sizeOf($tempType); $i++) if($tempType[$i] == NULL) { array_push($tempType,$i); array_pop($tempType); } ? which simply takes the new unique array and pushes null values to the top, then pops them out of the array. Configure line: './configure' '--disable-debug' '--with-config-file-path=/usr/local/apache/conf' '--with-mysql=/usr/local/mysql' '--prefix=/usr/local/php4' '--with-apxs=/usr/local/apache/bin/apxs' '--enable-track-vars' '--with-xml' '--enable-track-errors' '--enable-force-cgi-redirect' '--enable-discard-path' '--enable-safe-mode' '--enable-calendar' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-gd=/usr' '--enable-gd-native-tt' '--with-zlib-dir=/usr/local' '--with-zlib' '--enable-trans-sid' '--enable-ftp' '--with-png-dir=/usr/local' '--with-gettext' '--enable-memory-limit' '--with-mcrypt' '--with-mcrypt-dir=/usr' '--with-pspell-dir=/usr/local/pspell' If any other information is required, just write an e-mail back. Edit this bug report at http://bugs.php.net/?id=13679edit=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] PHP Module in source dist?
On Fri, 09 Nov 2001, John Lange wrote: I've written a module for PHP which I believe would be a valuable add-on for users of PHP. What is the feasibility of getting the module included in the source distribution of PHP and how should I begin this process? I can't seem to find any FAQ on this topic. First tell us what the module does. -Andrei We all have photographic memories, it's just that some of us don't have any film. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] PHP Module in source dist?
What is the feasibility of getting the module included in the source distribution of PHP and how should I begin this process? Well... you can start by telling us what it does... Sander -- 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: Wow ! Good news (to me at least) ...
Zeev Suraski wrote: I promised that anybody that I'll break the neck of anybody that complains about not going with the GPL. Please inform me of any PHP conferences you intend to attend, so I know where to find you :) Any guess on when a decision for the final license is reached? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] PHP Module in source dist?
Just at this particular moment I can't discuss the specifics of the module because it uses a 3rd party library which may not be free code. I'm currently in discussions with the owners of the code to see if they would be interested in making it fully unencumbered thus allowing it to be distributed with PHP. If you can humor me for the moment and make the assumption that it would be something the PHP developer group thinks is a valuable addition, is it mostly a matter of the developers on this list deciding it should be added? Or is there a more formal process? Should I be addressing email directly to a specific person? Sorry about being so vague, I just don't want to step on any toes until I've had a chance to discuss it with them further. John Lange On Fri, 9 Nov 2001, Andrei Zmievski wrote: On Fri, 09 Nov 2001, John Lange wrote: I've written a module for PHP which I believe would be a valuable add-on for users of PHP. What is the feasibility of getting the module included in the source distribution of PHP and how should I begin this process? I can't seem to find any FAQ on this topic. First tell us what the module does. -Andrei We all have photographic memories, it's just that some of us don't have any film. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] PHP Module in source dist?
If you can humor me for the moment and make the assumption that it would be something the PHP developer group thinks is a valuable addition, is it mostly a matter of the developers on this list deciding it should be added? Or is there a more formal process? Should I be addressing email directly to a specific person? Its just a question of finding someone to commit the code for you or getting a cvs account yourself after discussion on php-dev but remeber the libary needs to be compatible with the PHP License before we can distribute the source code with PHP.. - James -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] PHP Module in source dist?
On Fri, 09 Nov 2001, James Moore wrote: Its just a question of finding someone to commit the code for you or getting a cvs account yourself after discussion on php-dev but remeber the libary needs to be compatible with the PHP License before we can distribute the source code with PHP.. Actually at this point, we should probably encourage people to put extensiosn into PEAR, like Rasmus did with XMMS. -Andrei * The best source is the source code. * -- 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 #14000: [notice] child pid XXXXX exit signal Segmentation fault (11)
From: [EMAIL PROTECTED] Operating system: FreeBSD PHP version: 4.0.6 PHP Bug Type: Mail related Bug description: [notice] child pid X exit signal Segmentation fault (11) Hosting Server: --- FreeBSD fbsd.austin.rr.com 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001 [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC i386 Pop3 Server: +OK Qpopper (version 4.0.3) at dual.spysatcentral.net starting. [EMAIL PROTECTED] Error in /var/log/httpd-error.log: -- [Fri Nov 9 13:23:56 2001] [notice] child pid 95700 exit signal Segmentation fault (11) PHP Version 4.0.6 options: './configure' '--with-apxs=/usr/local/sbin/apxs' '--with-config-file-path=/usr/local/etc' '--enable-versioning' '--with-system-regex' '--disable-debug' '--enable-track-vars' '--without-gd' '--without-mysql' '--with-imap=/usr/local' '--prefix=/usr/local' 'i386--freebsd4.4' HTML/PHP code: -- HTMLHEAD/HEADBODY ?php $mbox = imap_open ({dual.spysatcentral.net:110/pop3}INBOX, someuser, somepass); imap_close($mbox); ? /BODY/HTML Comments: - I don't know any c programming much less how to use a debugger. but I set this up with a fresh install of FreeBSD 4.4-stable, and installed from /usr/ports/www/mod_php4 and added imap options. I was able to get imap to connext to the pop3 on a Lotus Domino servers pop3 port and work so it apears to be a bug in the the way php4.0.6 talks to Qpopper( also found in the FreeBSD ports ) then again maby I am just doing something stupid. :P my original code has much more to it but I can get the segfault with just the little code I provided. -- Edit bug report at: http://bugs.php.net/?id=14000edit=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] Problems with DBM
Hi!! I'm trying to visualize a .dbm file. It's hosted in the same directory as my .php file. With this test example: -//--- htmlheadtitlePHP Test/title/head body ?php $fn=proyectos2000.mdb; $db=dbmopen($fn,r); $key = dbmfirstkey ($db); while ($key) { echo $key = . dbmfetch ($db, $key) . \n; $key = dbmnextkey ($db, $key); } dbmclose($db); ? /body/html -//-- I do not get anything. Could anybody provide me an example of using DBM? Thank you very much. ___ Gana un antivirus abriendo tu cuenta de correo gratis en HispaVista. http://www.hispavista.com/altacorreo/ -- 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] 00:00:01 EST Status: Live
Status Alert: .BIZ is NOW LIVE The new .BIZ domain extension was officially launched today, and new registrations are already on a record-setting pace. Several sites have just made .BIZ available to the general public which means that ordinary internet users can register this exciting new domain without the cumbersome paperwork. One such popular site is: www.NewInternetDomain.com Brief History Back in November, 2000, ICANN, the regulatory agency which oversees the Internet's Domain Name System, approved seven new domain extensions to meet growing demand from the consumer and business sectors. Since the new extensions were first announced last year, experts have widely expected .BIZ to become the most popular of the new extensions and to eventually supercede .COM. The .BIZ registry will be managed by upstart NeuLevel, in direct competition with the former monopoly of Network Solutions. .BIZ represents the first new generic domain name to be introduced since .COM was first launched in 1984. In the ten year span between 1984 and 1994, less than one million .COM domains were registered in total. Today, the registration total for .BIZ will have already exceeded one million. How times have changed... The Benefits: .BIZ aims to be the quintessential domain choice for all businesses on the Internet. Short for .BUSINESS, the .BIZ domain directly addresses the growing need for new generic domain names to eventually replace .COM as the Internet most widely used domain name. The benefits to go .BIZ are clear: * abundant availability of easy to remember and practical domain names * technically recognized across the Internet's DNS * short and catchy extension * affordable registration fees and simplified registration procedures Establishing a .biz domain name also will help companies cut through the .com clutter. More than 28 million .com names have already been registered. Since the .com domain covers so many sites serving so many different purposes, it's impossible to know whether a particular .com address represents a bona-fide business. In contrast, .biz means business, period. Chicago Tribune, August 22, 2001 To register a new .BIZ extension, you will simply need to check the availability of your domain name at: www.NewInternetDomain.com and then register it using the easy 3 step process which takes less than 5 minutes. *** This firm opposes the continued sending of unsolicited email and does not intend to send email to anyone who does not wish to receive their special mailings. As a result, they have retained the services of Auto Email Removal, an independent 3rd party, to administer their list management and removal services (http://www.autoemailremoval.com/cgi-local/remove.pl?[EMAIL PROTECTED]). This is not unsolicited email. If you do not wish to receive further mailings, please click this link and your removal request will be honored. The removal administrator can then preclude your email address from future mailings. http://www.autoemailremoval.com/cgi-local/remove.pl?[EMAIL PROTECTED] Auto Email Removal Company. Ref# 011105 *** -- 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 #14002: array_merge of subarrays deletes subarrays of unmerged data
From: [EMAIL PROTECTED] Operating system: unix PHP version: 4.0.4pl1 PHP Bug Type: Arrays related Bug description: array_merge of subarrays deletes subarrays of unmerged data Example script is also @ http://dev0.fidion.de/ssilk/test/err_array_merge.php This behavior takes me now 2 hours... Perhaps it is fixed with 4.0.6? Sorry, no testing machine available. ?php $a=array( 'ERROR' = array( 'tags in text-text' = array( 'err' = 'tags', 'type'= 'nachts' ), 'range-ax-Erscheinungsdatum' = array( 'err' = 'bla', 'type' = 'blubb' ) ), 'WARN' = array( 'ax-Anzeigenextra' = array( 'err' = 'hugo', 'type' = 'sex' ) ) ); echo pre; echo BUG:\n; foreach ($a as $key = $val) { if ( empty($this-totalerrs[$key]) ) { $totalerrs[$key]=array(); } foreach ( $val as $k = $v) { print_r($v); $totalerrs[$key]= array_merge($totalerrs[$key],$val); } } echo \n\nFIX:\n; foreach ($a as $key = $val) { if ( empty($this-totalerrs[$key]) ) { $totalerrs[$key]=array(); } $x=$val; foreach ( $val as $k = $v) { print_r($v); $totalerrs[$key]= array_merge($totalerrs[$key],$x); } } ? -- Edit bug report at: http://bugs.php.net/?id=14002edit=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] global variable for all scripts
hi ppl, id like to set something like a global variable or constant. i need this, to set the path of my document root. all scripts should then use this path. e.g. my apache document root is: /www all my skriptfiles are in /www/my_subdir i include a special php script in all script files with: /* ? include(config/file.php); ? */ if i like to move my scripts to /www/my_newdir i habe to change the include() function in every script any workaround here? thanks a lot in advance sascha -- --- Sascha Biber Hegenloh Reisen GmbH t: 0 71 61-67 34-68 f: 0 71 61-67 34-64 m: 0177-589 14 96 -- 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: Wow ! Good news (to me at least) ...
At 22:04 09/11/2001, Sebastian Bergmann wrote: Zeev Suraski wrote: I promised that anybody that I'll break the neck of anybody that complains about not going with the GPL. Please inform me of any PHP conferences you intend to attend, so I know where to find you :) Any guess on when a decision for the final license is reached? No, not really. Well, actually, if I was to guess - I could guess/hope it won't take more than two weeks or so. I'm going to talk to Andi on Sunday and we'll pitch something, probably similar/identical to that of the PHP license, and see how it goes from there. Zeev -- 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 #14003: fgetc from php://stdin doesn't return after one byte typed
From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.0.6 PHP Bug Type: Scripting Engine problem Bug description: fgetc from php://stdin doesn't return after one byte typed ? $rtdin = fopen(php://stdin, r); for(;;){ $c = fgetc($rtdin); fflush($rtdin); if ($c == 'q') break; else echo you pressed: . $c . \n; } ? = This script doesn't work as expected: fgetc doesn't return until \n is read from stdin. How can I catch single key-presses from the keyboard? -- Edit bug report at: http://bugs.php.net/?id=14003edit=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 #14004: Session variables
From: [EMAIL PROTECTED] Operating system: Windows XP PHP version: 4.0.6 PHP Bug Type: IIS related Bug description: Session variables It will not record sessions, or write them. It seems that the win xp file system or NTFS has problems with writing session vars. I am not sure what was wrong, I had FAT32 on Windows 2000 IIS 5, and had no problems before. But when I changed to windows XP with NTFS it started to give me these errors. Everything else on the site works fine besides this. Note: it use to work on 4.05-6 before on Windows 2000, so I dont think its code related. Warning: open(C:\Program Files\PHP\sessiondata\sess_da5da90887723e0574ab384c7f402499, O_RDWR) failed: m (13) in Unknown on line 0 Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\Program Files\PHP\sessiondata) in Unknown on line 0 -- Edit bug report at: http://bugs.php.net/?id=14004edit=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] Great Stocking Stuffer Ideas from Lego Software
Get Four Fun LEGO Games for One Fantastic Price! FOR ALL 4 GAMES! Includes FREE Shipping Handling! (Free Standard Shipping Only) Order Today While Supplies Last! OR . . . Get Seven LEGO Games for Only $10.00 More! FOR ALL 7 GAMES! Includes FREE Shipping Handling! (Free Standard Shipping Only) Order Today While Supplies Last! Take a Closer Look at These Fun and Educational LEGO Programs: CLICK HERE for Even More LEGO Games. They're All FREE! You Pay Only $6.95 SH Each! LEGO Alpha Team Welcome to a world of secret agents, amazing gadgets and covert operations where only the quick-witted will survive! Suggested Price: $34.95 LEGO Chess Your favorite LEGO characters do battle on a virtual 3D Chess board where simple moves turn into a hilarious, animated duel. Suggested Price: $34.95 LEGO Creator Build a town with an unlimited number of bricks, add vehicles and mini-figures, then watch your creations come to life. Suggested Price: $34.95 LEGO Friends Create a world of your very own music and dance moves as you hang out with all of your favorite LEGO Friends. Suggested Price: $34.95 LEGO Knights' Kingdom Enlist the help of a brave warrior as you create a fantastical kingdom and protect it from your enemies. Suggested Price: $34.95 LEGO Island There's lots of fun waiting for you on LEGO Island. But if the Brickster gets out of jail, he will destroy it all, brick by brick! Suggested Price: $34.95 LEGOLAND Design, create and run your own Legoland Park! Build a driving school, a water park and dozens of other rides. Suggested Price: $34.95 LEGO Loco As chief conductor, you will enjoy commanding your own train system with unlimited track building potential. Suggested Price: $34.95 LEGO Racers Start your engines! Race through exciting LEGO worlds and battle the greatest LEGO racers of all time. Suggested Price: $34.95 LEGO Rock Raiders Danger lurks deep within the dark tunnels of a mysterious underground world on a distant planet. Suggested Price: $34.95 LEGO Stunt Rally Build the most fantastical stunt tracks imaginable, then challenge friends or LEGO characters to crash test fun. Suggested Price: $34.95 These special offers from iRewards are limited to inventory, so secure your order now. Your #1 Source for Free Products Super Deals Online Programs featured are under license by CD Micro, Inc. or their respective copyright holders. Program contents are the property of their respective copyright holders. Graphics and logos are trademarks of CD Micro, Inc. or their respective holders and may not be used without prior written permission. Remove yourself from this list by either: Entering your email address below and clicking REMOVE: OR Reply to this message with the word remove in the subject line. This message was sent to address [EMAIL PROTECTED] pmguid:ud.si3.61e6m -- PHP Development Mailing List 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 for all scripts
Ask support questions at [EMAIL PROTECTED] . You might want to specify some kind of documentroot.php in every directory and use the $GLOBALS array or jus work with the prepend feature (see manual) - Markus On Sat, Nov 10, 2001 at 12:53:09AM +0100, sascha biber wrote : hi ppl, id like to set something like a global variable or constant. i need this, to set the path of my document root. all scripts should then use this path. e.g. my apache document root is: /www all my skriptfiles are in /www/my_subdir i include a special php script in all script files with: /* ? include(config/file.php); ? */ if i like to move my scripts to /www/my_newdir i habe to change the include() function in every script any workaround here? -- 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 #14005: missing possibility to store mails on imap-server
From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.4 PHP Bug Type: Feature/Change Request Bug description: missing possibility to store mails on imap-server I found it impossible to store mails on an imap server (to e.g. implement some kind of sent objects-folder) with php's imap functions. -- Edit bug report at: http://bugs.php.net/?id=14005edit=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 #14005 Updated: missing possibility to store mails on imap-server
ID: 14005 Updated by: mfischer Reported By: [EMAIL PROTECTED] Old Status: Closed Status: Bogus Bug Type: Feature/Change Request Operating System: linux PHP Version: 4.0.4 New Comment: Not a PHP bug - bogus. Previous Comments: [2001-11-09 22:18:48] [EMAIL PROTECTED] imap_append is what you're after. [2001-11-09 22:15:57] [EMAIL PROTECTED] I found it impossible to store mails on an imap server (to e.g. implement some kind of sent objects-folder) with php's imap functions. Edit this bug report at http://bugs.php.net/?id=14005edit=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]