[PHP] error_log() bug on PHP 5.4.11?

2013-01-30 Thread J.S.
Hi, When I call error_log() to log a message to the log file, I end up with duplicate entries. Here is a minimal test script which reproduces the problem for me: ?php ini_set('error_log', 'C:\Apache2\htdocs\myapp\app\logs\error_log'); error_log('some log message that, via a bug, will be logged

Re: [PHP] UTC on php log bug

2012-08-26 Thread tamouse mailing lists
On Fri, Aug 24, 2012 at 8:48 PM, Martín Marqués martin.marq...@gmail.com wrote: Whats up with this bug?: https://bugs.php.net/bug.php?id=60723 perhaps direct the query (such as it is) to php-development -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] UTC on php log bug

2012-08-24 Thread Martín Marqués
Whats up with this bug?: https://bugs.php.net/bug.php?id=60723 -- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA, Programador, Administrador -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Bug?

2011-09-15 Thread Shawn McKenzie
On 09/15/2011 04:07 PM, Igor Escobar wrote: Anyone can explain this? https://gist.github.com/1220404 Part of the code are in portuguese so... iguais = equal diferentes = different Regards, Igor Escobar *Software Engineer * + http://blog.igorescobar.com + http://www.igorescobar.com

[PHP] Re: Bug?

2011-09-15 Thread Igor Escobar
Thank you guys. Regards, Igor Escobar *Software Engineer * + http://blog.igorescobar.com + http://www.igorescobar.com + @igorescobar http://www.twitter.com/igorescobar On Thu, Sep 15, 2011 at 6:32 PM, Shawn McKenzie nos...@mckenzies.netwrote: On 09/15/2011 04:07 PM, Igor Escobar wrote:

Re: [PHP] Re: Bug #51739 tricky string to float conversion

2011-09-01 Thread magic-php
Am Mittwoch, 31. August 2011, 20:48:37 schrieb Shawn McKenzie: On 08/31/2011 09:03 AM, magic-...@damage.devloop.de wrote: Hi, I have opend Bug #51739 in 2010. It was closed as bogus before my last question was answered. It would be fine to know what you think about that bug. In short:

[PHP] Re: Bug #51739 tricky string to float conversion

2011-08-31 Thread Shawn McKenzie
On 08/31/2011 09:03 AM, magic-...@damage.devloop.de wrote: Hi, I have opend Bug #51739 in 2010. It was closed as bogus before my last question was answered. It would be fine to know what you think about that bug. In short: var_dump((float)8315e839da08e2a7afe6dd12ec58245d); results in

[PHP] Re: Bug #51739 tricky string to float conversion

2011-08-31 Thread Shawn McKenzie
or misunderstandings as bug reports. The PHP developers sift through too many reports as it is and many or maybe the majority are support tickets like yours that are not bugs. The people assigned to bugs are not going to explain why your issue is not a bug in detail. They are tasked with fixing bugs

[PHP] Possible bug in PHP 5.3.5 with OAuth extension?

2011-03-04 Thread Daniel Hong
Hello, I'm using the PHP OAuth extension and running into a strange issue. I'm not sure if it's a bug in PHP 5.3.5, or if it's a bug in the OAuth extension when installed on a system with PHP 5.3.5. On a machine with PHP 5.3.5, when I call OAuth::fetch() with http method of POST, the debug info

[PHP] imagerotate bug?

2009-12-25 Thread Richard Lynch
Can anybody email me off-list to comment on whether the bug demonstrated here for imagerotate is fixed in current PHP? http://6112northwolcott.com/dogfight/rotate.htm All the backgrounds should be white, not black. I can't easily test on a newer version of PHP at the moment. -- Some people

[PHP] php bug from 2003 still alive?!

2009-03-30 Thread Merlin Morgenstern
Hello, I am experiencing problems with utf-8 and php. There seems to be a problem with BOM. Some postings say that I have to compile php with --enable-zend-multibyte. HOwever those postings are very old (2003!). http://bugs.php.net/bug.php?id=22108 Is this still necessary with the newest

Re: [PHP] php bug from 2003 still alive?!

2009-03-30 Thread Thiago H. Pojda
On Mon, Mar 30, 2009 at 12:42 PM, Merlin Morgenstern merli...@fastmail.fmwrote: Some postings say that I have to compile php with --enable-zend-multibyte. HOwever those postings are very old (2003!). http://bugs.php.net/bug.php?id=22108 Did you see what Derick said abut this in the last

Re: [PHP] php bug from 2003 still alive?!

2009-03-30 Thread Merlin Morgenstern
Yes I was reading about this. However, try to do a search on this: http://www.google.de/search?hl=deq=enable-zend-multibytebtnG=Google-Suchemeta= Loads of postings that do not look that good. What are all the chinese sites do? It is strange that there is no official description on php.net

[PHP] UTF 8 support - enable-zend-multibyte ( was Re: [PHP] php bug from 2003 still alive?! - )

2009-03-30 Thread Merlin Morgenstern
HI there, I now compiled php with zend multibyte. The trouble with the extra characters is now gone, but all special characters are now replaced with a questionmark! The document type shows utf-8, but somehow php seems not to pars the content OK. Does nobody have the same problem? Regards,

Re: [PHP] UTF 8 support - enable-zend-multibyte ( was Re: [PHP] php bug from 2003 still alive?! - )

2009-03-30 Thread haliphax
On Mon, Mar 30, 2009 at 12:34 PM, Merlin Morgenstern merli...@fastmail.fm wrote: HI there, I now compiled php with zend multibyte. The trouble with the extra characters is now gone, but all special characters are now replaced with a questionmark! The document type shows utf-8, but somehow php

Re: [PHP] UTF 8 support - enable-zend-multibyte ( was Re: [PHP] php bug from 2003 still alive?! - )

2009-03-30 Thread Merlin Morgenstern
haliphax wrote: On Mon, Mar 30, 2009 at 12:34 PM, Merlin Morgenstern merli...@fastmail.fm wrote: HI there, I now compiled php with zend multibyte. The trouble with the extra characters is now gone, but all special characters are now replaced with a questionmark! The document type shows utf-8,

[PHP] unpack bug?

2009-01-15 Thread James Lucas
Hi, I have some code developed on a linux system with PHP 5.1.6, its using the PEAR Net_DNS class to send dns updates, part of this requires unpacking a binary string, an example is below. This works on PHP 5.1.6 but fails on 5.2.8, it appears that it may be in relation to the following

[PHP] de-bug no input file specified

2008-12-19 Thread Gary Maddock-Greene
Hi, is it possible to de-bug a 'no input file specified' error. I get the error when trying to run my search script but do not know whats causing it. Is it a common error? PHP5 with MySQL adn IIS7 Thanks - Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] de-bug no input file specified

2008-12-19 Thread Philip Graham
On December 19, 2008 17:20:32 Gary Maddock-Greene wrote: Hi, is it possible to de-bug a 'no input file specified' error. I get the error when trying to run my search script but do not know whats causing it. Is it a common error? What code/command/request is causing the error? PHP5 with

Re: [PHP] de-bug no input file specified

2008-12-19 Thread Gary Maddock-Greene
Hi Philip, Here is my code ... ?php if (!function_exists(GetSQLValueString)) { function GetSQLValueString($theValue, $theType, $theDefinedValue = , $theNotDefinedValue = ) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue =

Re: [PHP] de-bug no input file specified

2008-12-19 Thread mike
first off - you must be coming from ASP for that code :P second - that error is usually due to the SCRIPT_FILENAME being incorrect. not the code in the script. On Fri, Dec 19, 2008 at 2:54 PM, Gary Maddock-Greene g...@maddock-greene.co.uk wrote: Hi Philip, Here is my code ... ?php if

Re: [PHP] de-bug no input file specified

2008-12-19 Thread Gary Maddock-Greene
the code was generated by Dreamweaver CS3 .. its php! How do I check the SCRIPT_FILENAME please? mike mike...@gmail.com wrote in message news:bd9320b30812191502t2448ef31xa8ad8758f8638...@mail.gmail.com... first off - you must be coming from ASP for that code :P second - that error is

Re: [PHP] de-bug no input file specified

2008-12-19 Thread Philip Graham
Hi Philip, Here is my code ... ?php if (!function_exists(GetSQLValueString)) { function GetSQLValueString($theValue, $theType, $theDefinedValue = , $theNotDefinedValue = ) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue =

Re: [PHP] de-bug no input file specified

2008-12-19 Thread mike
yeah but it stinks of microsoft/vb/asp :) i can't really tell you in IIS, but that's the common reason nginx has a no input file specified - people ask about it all the time. On Fri, Dec 19, 2008 at 3:15 PM, Gary Maddock-Greene g...@maddock-greene.co.uk wrote: the code was generated by

Re: [PHP] de-bug no input file specified

2008-12-19 Thread Gary Maddock-Greene
Thanks Philip i am running a search from a form (page 1) querying the db and returning the result on page 2 (well thats the theory) ! Philip Graham phi...@lightbox.org wrote in message news:200812191822.58155.phi...@lightbox.org... Hi Philip, Here is my code ... ?php if

Re: [PHP] de-bug no input file specified

2008-12-19 Thread Gary Maddock-Greene
Hi Mike ... I think Adobe code does look like VB script actually ... I agree :) I wish I knew php better (so I didn't have to rely on crappy Dreamweaver code), I only started using it today and just want to script a simple search form on a 5 colomn products table ... not too hard eh? I have

[PHP] Re: Bug in array_key_exist?

2008-08-26 Thread Lupus Michaelis
Korgan a écrit : public function addXXX($id, $count) { $count = (int)$cout; Try to work with error_reporting set to E_ALL ;) session_start(); var_dump($_SESSION['XX']); /** A **/ If XX is a right value for a variable name, they are no problem. -- Mickaël Wolff aka Lupus

[PHP] Re: Bug in array_key_exist?

2008-08-26 Thread Korgan
Error reporting is set on E_ALL notice: it change value if I add the item which isnt in array Lupus Michaelis wrote: Korgan a écrit : public function addXXX($id, $count) { $count = (int)$cout; Try to work with error_reporting set to E_ALL ;) session_start();

Re: [PHP] SimpleXML Bug question

2008-01-15 Thread Richard Lynch
On Tue, January 15, 2008 12:34 am, Naz Gassiep wrote: What's the current status on this bug: http://bugs.php.net/bug.php?id=39164 Regardless of what the PHP developers say in those comments, the modification of data when it is read is not correct. If it is intended behavior, then the

[PHP] SimpleXML Bug question

2008-01-14 Thread Naz Gassiep
What's the current status on this bug: http://bugs.php.net/bug.php?id=39164 Regardless of what the PHP developers say in those comments, the modification of data when it is read is not correct. If it is intended behavior, then the developer/s who intend it to be that way are wrong. Under no

[PHP] Re: Bug in stream_socket_server()?

2007-12-11 Thread Nathan Rixham
Would this class as a test? ?php $socket = stream_socket_server(tcp://0.0.0.0:8000, $errno, $errstr); if (!$socket) { echo $errstr ($errno)br /\n; } else { while (is_resource($conn = stream_socket_accept($socket, 30))) { while (is_resource($conn) $pkt = stream_get_line($conn, 100, \n)) {

[PHP] Re: Bug in == comparison?

2006-07-21 Thread Adam Zey
Jeffrey Sambells wrote: OK I have a very strange bug: In the middle of my script I have these two lines: var_dump($test,$test2); echo '$test'=='$test2' is .($test==$test2); which is giving: int(0) string(6) Points '0'=='Points' is 1 I understand that PHP is loose typed and automatically

[PHP] Re: Bug in == comparison?

2006-07-21 Thread Adam Zey
I tried comparing in the reverse sequence ($test2==$test) and the same occurred. It does work as expected if I have === but the rest of the scirpt isn't type sensitive so I want NULL, 0, and empty string to still maintain equality. Wups, I missed the last part there. You want the empty()

[PHP] Re: Bug in == comparison?

2006-07-21 Thread Adam Zey
Jeffrey Sambells wrote: hrm.. It just seemed strange as the script I was working on is 3 years old and had worked flawlessly until today. Thanks. - Jeff ~~ Jeffrey Sambells Director of Research and Development Zend Certified Engineer (ZCE) We-Create Inc.

[PHP] Re: Bug in == comparison?

2006-07-21 Thread Jeffrey Sambells
hrm.. It just seemed strange as the script I was working on is 3 years old and had worked flawlessly until today. Thanks. - Jeff ~~ Jeffrey Sambells Director of Research and Development Zend Certified Engineer (ZCE) We-Create Inc. [EMAIL PROTECTED] email

[PHP] PHP Bug Tracking

2006-07-06 Thread Chris Hemmings
Can anyone point me in the direction where I can find a place to download the bug track system that PHP/PEAR PECL uses. I seem to remember it is available but can't find it anymore! Ta! Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP Bug Tracking

2006-07-06 Thread Dan McCullough
This one? http://dev.mysql.com/downloads/other/eventum/ On 7/6/06, Chris Hemmings [EMAIL PROTECTED] wrote: Can anyone point me in the direction where I can find a place to download the bug track system that PHP/PEAR PECL uses. I seem to remember it is available but can't find it anymore! Ta!

Re: [PHP] PHP Bug Tracking

2006-07-06 Thread Chris Hemmings
Dan McCullough wrote: This one? http://dev.mysql.com/downloads/other/eventum/ On 7/6/06, Chris Hemmings [EMAIL PROTECTED] wrote: Can anyone point me in the direction where I can find a place to download the bug track system that PHP/PEAR PECL uses. I seem to remember it is available but

Re: [PHP] PHP Bug Tracking

2006-07-06 Thread Dan McCullough
I just installed it so its fresh in my mind. :) On 7/6/06, Chris Hemmings [EMAIL PROTECTED] wrote: Dan McCullough wrote: This one? http://dev.mysql.com/downloads/other/eventum/ On 7/6/06, Chris Hemmings [EMAIL PROTECTED] wrote: Can anyone point me in the direction where I can find a

[PHP] Re: Bug in XMLWriter?

2006-05-19 Thread Rob Richards
Expected behavior. See comments within code snippet. D. Dante Lorenso wrote: I am using XMLWriter with PHP 5.1.4 and find that it doesn't behave as I expect. I am under the impressing that until I call 'endElement', I should be free to continue adding attributes to an opened element

Re: [PHP] Re: Bug in XMLWriter?

2006-05-19 Thread D. Dante Lorenso
Rob Richards wrote: Expected behavior. See comments within code snippet. D. Dante Lorenso wrote: I am using XMLWriter with PHP 5.1.4 and find that it doesn't behave as I expect. I am under the impressing that until I call 'endElement', I should be free to continue adding attributes to an

Re: [PHP] Re: Bug in XMLWriter?

2006-05-19 Thread Rob Richards
D. Dante Lorenso wrote: Rob Richards wrote: Expected behavior. See comments within code snippet. D. Dante Lorenso wrote: I am using XMLWriter with PHP 5.1.4 and find that it doesn't behave as I expect. I am under the impressing that until I call 'endElement', I should be free to continue

[PHP] possible bug in date()

2006-04-17 Thread Mark Slater
, 2006 ) ); echo $this-dateCreated; I expect to see: 2006-02-23T00:00:00-08:00 The output I actually get is the ISO-8601 format: 2006-02-23T00:00:00-0800 The only difference is the colon in the GMT offset at the end. Is the example output in the web page wrong? Or is this a bug

[PHP] Strtodate() bug?

2006-04-03 Thread Jay Paulson
Hello, I've got some weird behavior using PHP 4.3.9. I use the function of strtotime(last Sunday); and it's returning the timestamp for last Saturday. However, if I use strtotime(-1 day); (I'm running this program on a Monday) it returns the correct timestamp for Sunday. Is this a bug in PHP

Re: [PHP] Strtodate() bug?

2006-04-03 Thread Philip Hallstrom
I've got some weird behavior using PHP 4.3.9. I use the function of strtotime(last Sunday); and it's returning the timestamp for last Saturday. However, if I use strtotime(-1 day); (I'm running this program on a Monday) it returns the correct timestamp for Sunday. Is this a bug in PHP 4.3.9

Re: [PHP] PHP/Oracle : bug with accent...

2006-03-15 Thread Burhan
David BERCOT wrote: Hi, I have a big problem with my Debian server (Apache 2, PHP 5, Oracle Instant Client). I've modified the environment variable NLS_LANG and, with SQL*Plus, everything is ok ! But, in a PHP page, I can't insert a value with accent (ex: Irène). I can read data with accent,

Re: [PHP] PHP/Oracle : bug with accent...

2006-03-15 Thread David BERCOT
I have a big problem with my Debian server (Apache 2, PHP 5, Oracle Instant Client). I've modified the environment variable NLS_LANG and, with SQL*Plus, everything is ok ! But, in a PHP page, I can't insert a value with accent (ex: Irène). I can read data with accent, but not inserting

[PHP] PHP/Oracle : bug with accent...

2006-03-14 Thread David BERCOT
Hi, I have a big problem with my Debian server (Apache 2, PHP 5, Oracle Instant Client). I've modified the environment variable NLS_LANG and, with SQL*Plus, everything is ok ! But, in a PHP page, I can't insert a value with accent (ex: Irène). I can read data with accent, but not inserting !!! I

Re: [PHP] Serious bug ?

2006-02-06 Thread Bogdan Ribic
Marco Kaiser wrote: Hi, i tested it with php 5.1.3-dev snap and it works correctly for me. btw. $return = $notdefined_variable; is a bad style for coding and this happens in your situation in a undefined behavior. If you think this is a bug please go to http://bugs.php.net and report them

Re: [PHP] Serious bug ?

2006-02-05 Thread Marco Kaiser
Hi, i tested it with php 5.1.3-dev snap and it works correctly for me. btw. $return = $notdefined_variable; is a bad style for coding and this happens in your situation in a undefined behavior. If you think this is a bug please go to http://bugs.php.net and report them there. 2006/2/4, Bogdan

[PHP] Serious bug ?

2006-02-04 Thread Bogdan Ribic
Hi all, I've found a strange bug with extract($GLOBALS, EXTR_REFS), and it only shows up if you try to access a non-existent variable or array member before that. Here's a demo script: // Uncomment this line to see the problem // $return = @$_GET['xx']; function extr_globals() {

Re: [PHP] Schroedinger's Bug - may require exorcism...

2005-11-30 Thread tg-php
What to do next? I'd check to see if your page is being inadvertantly called twice (I've seen this happen when people used frames.. or like someone else mentioned, doing a double include() or sometimes redirecting back to itself via header())... anything that could possibly re-initiate the

Re: [PHP] Schroedinger's Bug - may require exorcism...

2005-11-30 Thread Robert Cummings
On Wed, 2005-11-30 at 11:48, [EMAIL PROTECTED] wrote: What to do next? I'd check to see if your page is being inadvertantly called twice (I've seen this happen when people used frames.. or like someone else mentioned, doing a double include() or sometimes redirecting back to itself via

[PHP] Schroedinger's Bug - may require exorcism...

2005-11-29 Thread Adam Atlas
So... I have this script (being called in a perfectly typical way by PHP 4.4.1 through mod_php in Apache 2.0.55) which sometimes runs perfectly, and sometimes chooses, totally haphazardly, to seemingly run itself twice, which of course causes it to die with a fatal error after it tries to

Re: [PHP] Schroedinger's Bug - may require exorcism...

2005-11-29 Thread Robert Cummings
On Tue, 2005-11-29 at 19:22, Adam Atlas wrote: So... I have this script (being called in a perfectly typical way by PHP 4.4.1 through mod_php in Apache 2.0.55) which sometimes runs perfectly, and sometimes chooses, totally haphazardly, to seemingly run itself twice, which of course

Re: [PHP] Schroedinger's Bug - may require exorcism...

2005-11-29 Thread Robert Cummings
On Tue, 2005-11-29 at 19:42, Robert Cummings wrote: On Tue, 2005-11-29 at 19:22, Adam Atlas wrote: So... I have this script (being called in a perfectly typical way by PHP 4.4.1 through mod_php in Apache 2.0.55) which sometimes runs perfectly, and sometimes chooses, totally haphazardly,

[PHP] Possible bug with imagettftext and imageft text when imagealphablending is false

2005-10-12 Thread Ethilien
I have been attempting to write a dynamic text replacement script that would generate transparent PNGs using gd, and it works fine except when one of the characters in a font has parts of it that overhang into the previous characters. You can see what I mean in this test script: ?php $img =

[PHP] Possible bug in array_diff() php v4.4.0 or at least some odd behavior

2005-10-05 Thread Edward Vermillion
I have two arrays: $faqDataPost: array 1 = array 'faq_order' = '1' 'faq_question' = 'What is the air speed of a fully laden swallow?' 'show_question' = '1' 'faq_answer' = 'African or European?' 3 = array 'faq_order' = '2' 'faq_question' = 'Where

[PHP] possible bug (string equality to zero)?

2005-08-11 Thread Christopher J. Bottaro
Is it a bug that ($var == 0) is always true for any string $var? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] possible bug (string equality to zero)?

2005-08-11 Thread Jay Blanchard
[snip] Is it a bug that ($var == 0) is always true for any string $var? [/snip] You are comparing a string to an integer. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] possible bug (string equality to zero)?

2005-08-11 Thread Torgny Bjers
No, Christopher, that is not a bug. As long as the var is empty, and if you try to compare with 0, or false, it will report true in the comparison because the variable does not contain anything, which will mean false for a boolean and 0 for a variable. If you are attempting to discover if a string

Re: [PHP] possible bug (string equality to zero)?

2005-08-11 Thread Scott Noyes
[snip] Is it a bug that ($var == 0) is always true for any string $var? [/snip] You are comparing a string to an integer. Right. This is clearly documented at http://www.php.net/operators.comparison -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] possible bug (string equality to zero)?

2005-08-11 Thread Chris Shiflett
Christopher J. Bottaro wrote: Is it a bug that ($var == 0) is always true for any string $var? For any string? How about the string 5? :-) PHP tries to help you out, but there's not much it can do when you ask it to compare a string like 'foo' to an integer. It scans your string from left

Re: [PHP] possible bug (string equality to zero)?

2005-08-11 Thread xfedex
Hi, Is it a bug that ($var == 0) is always true for any string $var? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Check this out! http://us3.php.net/manual/en/types.comparisons.php -- PHP General Mailing List

[PHP] A bug with RecursiveIteratorIterator?

2005-08-08 Thread Chris
I'm trying to extend the RecursiveIteratorIterator class, to limit which children it recurses through. The documentation here: http://www.php.net/~helly/php/ext/spl/classRecursiveIteratorIterator.html says that there is a ahapublic method callHasChildren(), which I figured was a good place

Re: [PHP] A bug with RecursiveIteratorIterator?

2005-08-08 Thread Chris
In further looking at the SPL classes, I'm thinking I want to use the RecursiveFilterIterator class to filter my nodes. But I ran into another problem: the class RecursiveFilterIterator does not exist. Am I missing something here? Confused, Chris -- PHP General Mailing List

Re: [PHP] A bug with RecursiveIteratorIterator?

2005-08-08 Thread Jochem Maas
Chris wrote: In further looking at the SPL classes, I'm thinking I want to use the RecursiveFilterIterator class to filter my nodes. But I ran into another problem: the class RecursiveFilterIterator does not exist. Am I missing something here? your out on the bleeding edge so to speak -

Re: [PHP] A bug with RecursiveIteratorIterator?

2005-08-08 Thread Chris
Jochem Maas wrote: Chris wrote: In further looking at the SPL classes, I'm thinking I want to use the RecursiveFilterIterator class to filter my nodes. But I ran into another problem: the class RecursiveFilterIterator does not exist. Am I missing something here? your out on the

[PHP] A Bug in string 'brbr eD'?

2005-06-26 Thread cchereTieShou
I found this quite weired problem when I was trying to generate a mysql query string, something like WHERE TheDateDATA_ADD(..) The query string returns something like WHERE TheDate Withought the left part. You can actually try to use this to verify the problem: echo 'brbr eD';

Re: [PHP] A Bug in string 'brbr eD'?

2005-06-26 Thread Martín Marqués
El Dom 26 Jun 2005 17:31, cchereTieShou escribió: I found this quite weired problem when I was trying to generate a mysql query string, something like WHERE TheDateDATA_ADD(..) The query string returns something like WHERE TheDate Withought the left part. You can

[PHP] PHP Bug/Error with XML Parsing Syntax??

2005-06-13 Thread Scott Fletcher
I'm not sure what's wrong with PHP.. I ran the XML file through the Mozilla and it validate just fine. I get XML parse error but it gave no reason for the errors. The source code here is [code] $data = MessageWere changing/Message; $xml_parser = xml_parser_create('ISO-8859-1');

Re: [PHP] PHP Bug/Error with XML Parsing Syntax??

2005-06-13 Thread Richard Lynch
On Mon, June 13, 2005 10:21 am, Scott Fletcher said: I'm not sure what's wrong with PHP.. I ran the XML file through the Mozilla and it validate just fine. I get XML parse error but it gave no reason for the errors. The source code here is [code] $data = MessageWere changing/Message;

Re: [PHP] PHP Bug/Error with XML Parsing Syntax??

2005-06-13 Thread Scott Fletcher
Finally, the newsgroup start working once again... The problem was if (xml_error_string($xml_parser)) { which I was told should be if (xml_get_error_code($xml_parser) != XML_ERROR_NONE) { It solve my problem now. Now how do I parse the DTD's entity, element, etc along with the PHP's

[PHP] PHP bug within multi. dimensional arrays?

2005-06-06 Thread Merlin
Hi there, I am outputting an multidim. array. That works fine, except one thing. The first letter of the value inside dimension 1 always gets printed. For example: I fill the arrays: while ($row = mysql_fetch_object($result)){ $cat[$row-main_id][name]=

Re: [PHP] PHP bug within multi. dimensional arrays?

2005-06-06 Thread Richard Davey
Hello Merlin, Monday, June 6, 2005, 2:51:39 PM, you wrote: M while ($row = mysql_fetch_object($result)){ M $cat[$row-main_id][name] = $row-main_name; M $cat[$row-main_id][$row-sub_id][name] = M $row-sub_name; M } Quote array keys.. ALWAYS

Re: [PHP] PHP bug within multi. dimensional arrays?

2005-06-06 Thread Merlin
Richard Davey wrote: Hello Merlin, Monday, June 6, 2005, 2:51:39 PM, you wrote: M while ($row = mysql_fetch_object($result)){ M $cat[$row-main_id][name] = $row-main_name; M $cat[$row-main_id][$row-sub_id][name] = M $row-sub_name; M } Quote

Re: [PHP] PHP bug within multi. dimensional arrays?

2005-06-06 Thread Richard Lynch
On Mon, June 6, 2005 6:51 am, Merlin said: I am outputting an multidim. array. That works fine, except one thing. The first letter of the value inside dimension 1 always gets printed. For example: I fill the arrays: while ($row = mysql_fetch_object($result)){

[PHP] Curious bug and crash

2005-05-17 Thread Dave Lists
Hi, Tonight I installed a new php5 instance. php5.0.4/apache-1.3.33/mysql-4.1.10. I was getting \Wed May 18 01:59:42 2005] [notice] child pid 1621 exit signal Segmentation fault (11) error whenever I accessed a PHP enable page. I recompiled a few times and removed unnecessary modules. Still

Re: [PHP] Re: Bug, erreurs ou non =?iso-8859-1?q?document=E9?=

2005-05-08 Thread Andy Pieters
On Wednesday 04 May 2005 22:47, Amir Mohammad Saied wrote: Bonjour Amir C'est liste est en Anglais. Cependant, la réponse: Il est necessaire de 'eschapper' le character '\' Au lieux d'ecrire '\', il faut ecrire '\\' Donc si le chemin est

[PHP] Re: Bug, erreurs ou non =?ISO-8859-1?Q?document=E9?=

2005-05-04 Thread Amir Mohammad Saied
[EMAIL PROTECTED] wrote: Bonjour, J'utilise php en profondeur depuis peu. Je viens d'utiliser les fonctions sur les fichier tel que is_file(), is_dir() ou encore file_exists(). J'obtiens des résultat qui ne correspondent pas à la documentation. Apparement la longueur de chaîne influe sur le

Re: [PHP] strtotime() bug?

2005-04-05 Thread Richard Lynch
On Mon, April 4, 2005 3:14 pm, Al said: Suddenly my strtotime() are goofy, anyone have any ideas? echo date('Y/m/d/H', time()). br; //2005/04/04/18 echo date('Y/m/d/H', strtotime(-1 day)). br; //2005/04/03/18 echo date('Y/m/d/H', strtotime(last

[PHP] strtotime() bug?

2005-04-04 Thread Al
Suddenly my strtotime() are goofy, anyone have any ideas? echo date('Y/m/d/H', time()). br; //2005/04/04/18 echo date('Y/m/d/H', strtotime(-1 day)). br; //2005/04/03/18 echo date('Y/m/d/H', strtotime(last Sunday)). br; //2005/04/02/23

[PHP] Re: Bug or undocumented functionality of unset()?

2005-02-23 Thread Jason Barnett
[EMAIL PROTECTED] wrote: Hi All, Does unset() create a copy of the array and then overwrite the original somehow destroying the reference? ... --- ?php $stuff = array(array('one','two'), array('one','two'), array('three','four'),

[PHP] COM Bug in PHP 4.3.10

2004-12-30 Thread Tohar Trabinovitch
Hi, I need to know when will be the next PHP 4.3.x release with the fix for the COM bug which was in 4.3.10. This is CRITICAL for us, because we run our application over windows using COM object and we use earlier version of PHP which has security bugs. COM Bug URL:

[PHP] debug_backtrace bug?

2004-11-17 Thread Thomas Peri
I wanted to run this past the list before submitting a bug report. (I've searched the bugs and haven't found anything relevant to my problem.) The problem is that when s method of one class is overridden in a subclass, debug_backtrace() doesn't distinguish between the two methods. For

Re: [PHP] debug_backtrace bug?

2004-11-17 Thread Marek Kilimajer
The 'class' index reflects what __CLASS__ constant would show. Bug report: http://bugs.php.net/22960 Status: It works as expected and intended. Thomas Peri wrote: I wanted to run this past the list before submitting a bug report. (I've searched the bugs and haven't found anything relevant to my

Re: [PHP] debug_backtrace bug?

2004-11-17 Thread Greg Beaver
Marek Kilimajer wrote: The 'class' index reflects what __CLASS__ constant would show. Bug report: http://bugs.php.net/22960 Status: It works as expected and intended. right, but this states that __CLASS__ is bar inside bar::b() and is foo inside foo::b(). In this case, debug_backtrace() is

RE: [PHP] Re: Bug-Tracking-System in PHP ?

2004-10-30 Thread Reinhart Viane
oktober 2004 16:51 To: [EMAIL PROTECTED] Subject: [PHP] Re: Bug-Tracking-System in PHP ? Am 2004-10-29 09:48:32, schrieb Reinhart Viane: Dunno if this is ok: http://www.mantisbt.org/ Nice features and 1.0 support postgresql (can not use MySQL because some tools conflicts with postgresql

[PHP] Re: Bug-Tracking-System in PHP ?

2004-10-29 Thread Michelle Konzack
Am 2004-10-29 09:48:32, schrieb Reinhart Viane: Dunno if this is ok: http://www.mantisbt.org/ Nice features and 1.0 support postgresql (can not use MySQL because some tools conflicts with postgresql) Unfortunatly no E-Mail support... :-( Greetings Michelle -- Linux-User #280138 with the

Re: [PHP] Re: Bug-Tracking-System in PHP ?

2004-10-29 Thread Robby Russell
On Fri, 2004-10-29 at 16:51 +0200, Michelle Konzack wrote: Am 2004-10-29 09:48:32, schrieb Reinhart Viane: Dunno if this is ok: http://www.mantisbt.org/ Nice features and 1.0 support postgresql (can not use MySQL because some tools conflicts with postgresql) How do mysql and postgresql

Re: [PHP] Re: Bug-Tracking-System in PHP ?

2004-10-29 Thread Greg Donald
On Fri, 29 Oct 2004 16:51:06 +0200, Michelle Konzack [EMAIL PROTECTED] wrote: http://www.mantisbt.org/ Nice features and 1.0 support postgresql (can not use MySQL because some tools conflicts with postgresql) A database abstraction layer might be the solution to that. ADOdb is very good.

[PHP] Re: Bug with mktime??

2004-08-30 Thread Peter Brodersen
On Tue, 31 Aug 2004 09:53:01 +1200, in php.general [EMAIL PROTECTED] (John Clegg) wrote: I have been using mktime() to determine the next 12 months for a program, and i have discovered what seems a bug in the function. The following code... ?php for($i=0;$i 12;$i++){ $currentDate = date(d m

Re: [PHP] PHP bug tracker, it is freely available

2004-08-15 Thread Jean-Christian Imbeault
Christian Stocker wrote: http://cvs.php.net/php-bugs-web/ Thanks! Now, is there any installation documentation? ;) Can't seem to find any under php-bugs-web. Jc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP bug tracker, it is freely available

2004-08-13 Thread Jean-Christian Imbeault
I absolutely love the PHP bug tracker and was wondering if it freely available software or software internal to php.net only? I've looked around but can't find a link to it anywhere. -- Jean-Christian Imbeault Assistant Manager Technology Department _ Mizuho

Re: [PHP] PHP bug tracker, it is freely available

2004-08-13 Thread Christian Stocker
http://cvs.php.net/php-bugs-web/ chregu On Fri, 13 Aug 2004 18:18:45 +0900, Jean-Christian Imbeault [EMAIL PROTECTED] wrote: I absolutely love the PHP bug tracker and was wondering if it freely available software or software internal to php.net only? I've looked around but can't find a link

Re: [PHP] php.net bug tracking tool?

2004-07-29 Thread Andreas Goetz
Curt, thank you. I like Mantis, too but wanted to check the php thing. I was confused there is no reference to it anywhere, as it's used by e.g. MySQL, too. Thanks, Andreas Curt Zirzow [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] * Thus wrote Andreas Goetz: Which bug tracking

[PHP] php.net bug tracking tool?

2004-07-28 Thread Andreas Goetz
Which bug tracking tool is php.net using? I know it sounds stupid, but even as I can look at the source on php.net, I can't find any documentation- is this package available for download somewhere? Thanks, Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] php.net bug tracking tool?

2004-07-28 Thread Curt Zirzow
* Thus wrote Andreas Goetz: Which bug tracking tool is php.net using? I know it sounds stupid, but even as I can look at the source on php.net, I can't find any documentation- is this package available for download somewhere? you can checkout the code from cvs: cvs -d :pserver:[EMAIL

[PHP] PHP5 Bug with DOMDocument-xinclude

2004-07-21 Thread Siddharth Hegde
Hi, Can anyone tell me if they faced a similar problem. When I manually save the following line into an file, it works xi:include href=xml_file.xml parse=xml/ But if I remove this line, and add it dynamically using the following code, and only after that call $xml_file-xinclude(); it does not

Re: [PHP] PHP5 Bug with DOMDocument-xinclude

2004-07-21 Thread Siddharth Hegde
Cool that worked :-) Thanks. BTW your presentation on your site was very useful. - Sid On Wed, 21 Jul 2004 13:25:11 +0200, Christian Stocker [EMAIL PROTECTED] wrote: On Wed, 21 Jul 2004 16:02:54 +0530, Siddharth Hegde [EMAIL PROTECTED] wrote: Hi, Can anyone tell me if they faced a

  1   2   3   4   >