Re: [PHP] if elseif elseif elseif....

2009-03-07 Thread Naz
lling them what fields they missed or what was incorrectly filled out. 2. You can set multiple criteria over and above simply checking for a value, e.g., ensuring that the gender field is either M or F and not an invalid value (in practice this will probably be a radio or drop l

[PHP] Error Reporting

2008-09-16 Thread Naz
I am trying to turn on errors in the browser, but for some reason they are being suppressed. In php.ini I have display_errors = On and error_reporting = E_STRICT What else could be suppressing errors? السلام عليكم - Naz. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[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 actu

[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] 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] SimpleXML Bug question

2008-01-14 Thread Naz Gassiep
er no circumstances can it be considered appropriate for any read operation to write anything. Some clarity on this matter would be great. Regards, - Naz. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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 che

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

2008-01-13 Thread Naz Gassiep
rs.com/variables%26r%3D67&usg=AFQjCNEEdMRqxKMgkWXftVCWfE4kZr98jg>are evil<http://www.google.com/url?sa=X&oi=dict&ei=xYCGR-TiK4fcgASYpOi2Bg&sig2=HxVB1-BREdrmjuSHo6E9jQ&q=http://www.answers.com/evil%26r%3D67&usg=AFQjCNErEUXMUFMcXbjo95hRT2t8pzkISg> "*. (*0.07* seco

[PHP] XML Data merging

2008-01-12 Thread Naz Gassiep
ta in the update will perfectly eclipse the data in the main file. If I can do this it would save me writing a whole bunch of logic. Thanks, - Naz. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Out of Memory error

2007-08-23 Thread Naz Gassiep
t possible that the image is what is causing the scrip to OOM? Thanks, - Naz. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] UTF-8 support

2007-08-04 Thread Naz Gassiep
Great! Thanks for the answer, that's very helpful. Will trim() work if I specify charlists in the ASCII range? Not that I ever do, but just curious. - Naz Daniel Macedo wrote: Hi Naz, Any byte function is NOT safe for UTF-8. trim() works properly with UTF-8 IF you don't specify th

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

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

2007-08-02 Thread Naz Gassiep
ositioning pedant like me, oepning 20 files at the start of a coding session can be a pain. Regards, - 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