[PHP] XML Data merging

2008-01-12 Thread Naz Gassiep
I'm using simplexml to fetch data from a set of data files. If I have two files, and one is an update to the other, is there an easy way to merge the two files together, rather than having write logic that checks one and then the other? Both files conform to the same DTD and thus the data in

Re: [PHP] uh oh, I defined a resoruce

2008-01-13 Thread Naz Gassiep
While global variables are good in quotes did not return any results from Google, global variables are evil in quotes only returned a result set of 4: Results *1* - *4* of *4* for *

Re: [PHP] XML Data merging

2008-01-14 Thread Naz Gassiep
Eric Butera wrote: On 1/12/08, Naz Gassiep [EMAIL PROTECTED] wrote: I'm using simplexml to fetch data from a set of data files. If I have two files, and one is an update to the other, is there an easy way to merge the two files together, rather than having write logic that checks one

[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] Multibyte strings as array keys

2008-01-16 Thread Naz Gassiep
Does this work? Something is breaking when I try to do this, and all I can think of is that PHP does not allow multibyte array keys. - Naz. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Hashes and character encodings

2008-01-17 Thread Naz Gassiep
When passing strings to md5() or sha1() do the strings get coerced to utf8 for hashing, or does that not matter? Does anyone have a URL that comprehensively deals with this issue? - Naz. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] UTF-8 support

2007-08-02 Thread Naz Gassiep
The functions trim() and explode() appear to be munging multibyte UTF-8 strings. I can't find multibyte safe versions of them in the manual, do they exist, or do I have to make my own? - Naz. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Which PHP-Editor to use?

2007-08-02 Thread Naz Gassiep
Merlin wrote: Hi there, I have worked now for several years happily with homesite 4.5, but now it looks like I have to switch to another system as homesite will not run without admin rights on a XP machine. What editors do you use? Do you have any recomendations on a special one? I have

Re: [PHP] UTF-8 support

2007-08-04 Thread Naz Gassiep
I've seen that, there is no mb_trim() that I can see. - Naz. adel wrote: http://www.php.net/manual/en/ref.mbstring.php On 8/3/07, Naz Gassiep [EMAIL PROTECTED] wrote: The functions trim() and explode() appear to be munging multibyte UTF-8 strings. I can't find multibyte safe versions

Re: [PHP] UTF-8 support

2007-08-04 Thread Naz Gassiep
string. ~ DM adel escreveu: http://www.php.net/manual/en/ref.mbstring.php On 8/3/07, Naz Gassiep [EMAIL PROTECTED] wrote: The functions trim() and explode() appear to be munging multibyte UTF-8 strings. I can't find multibyte safe versions of them in the manual, do they exist, or do I have

[PHP] Out of Memory error

2007-08-23 Thread Naz Gassiep
I'm getting out of memory errors in my image handling script, I *think* its because I'm handling images that are too large to fit in memory, but I thought I'd check before just upping the setting to 32mb. It is currently set to 16mb and I am working with a 2048x1536 image. Is it possible that

[PHP] IMAP errors

2008-04-27 Thread Naz Gassiep
I'm using PHP's IMAP functions, and they seem to be working fine, however, on the page where I call imap_fetchstructure() I get a string of errors at the very end of the script. they do not occur at the point the function is executed, rather at the very end. They do not specify where they