[PHP-DEV] File upload error - no mime boundary found after start of file header

2001-02-04 Thread David Croft
I am working on a site that handles a lot of file uploads. Occasionally the following error will be thrown: shell httpd: PHP Warning: File Upload Error - No Mime boundary found after start of file header in Unknown on line 0 Now I figured this was probably a browser bug rather than a PHP bug b

[PHP-DEV] php-bugs

2001-02-05 Thread David Croft
Can we get the bugs mailings moved off onto a separate mailing list, say php-bugs, so this list is easier to read and can focus on development discussion? Follows from the bugs list could be set to this list. David -- PHP Development Mailing List To unsubscribe, e-mail:

[PHP-DEV] Midgard

2001-02-16 Thread David Croft
Midgard extension contains 200k of vanity images. This is unreasonable bloat to the core of PHP. Can you please remove them? David -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP-DEV] Re: PHP 4.0 Bug #9307 Updated: Numeric-looking array keys are forcedto be integers

2001-03-06 Thread David Croft
Even for array keys that are *not numbers*? How do I get a string for my array key in this case? On 6 Mar 2001, Bug Database wrote: > ID: 9307 > Updated by: stas > Reported By: [EMAIL PROTECTED] > Old-Status: Open > Status: Closed > Bug Type: Scripting Engine problem > Assigned To: > Comments:

Re: [PHP-DEV] Re: PHP 4.0 Bug #9307 Updated: Numeric-looking arraykeys are forced to be integers

2001-03-06 Thread David Croft
So what about a string key that breaks when someone enters a string that can be autoconverted. Zend turns it into a number and hey presto nothing works any more. Can we have a construct to *force* it not to convert these things? On Tue, 6 Mar 2001, Stanislav Malyshev wrote: > DC>> Even for arr

Re: [PHP-DEV] Re: PHP 4.0 Bug #9307 Updated: Numeric-looking arraykeys are forced to be integers

2001-03-06 Thread David Croft
function some_generic_function($myarray) { foreach ($myarray as $k => $v) { if (is_string($k)) { /* some behaviour for associative array element */ } else { /* some behaviour for indexed array element */ } } } On Tue, 6 Mar 2001, Stanislav Malyshev wrote: > DC>>

[PHP-DEV] Extension format (fwd)

2002-02-14 Thread David Croft
Could someone please update me on what needs to be changed to make an 4.0.6 extension function on 4.1.1? Thanks. -- |> /+\ \| | |> David Croft Infotrek -- Forwarded message -- Date: Mon, 11 Feb 2002 18:21:19 -0500 (EST) From: David Croft <[EMAIL PROTECTED]>

[PHP-DEV] function table

2001-04-26 Thread David Croft
#x27;d say the CG only had global functions and EG has functions currently in scope - is that right? Thanks, David -- |> /+\ \| | |> David Croft Infotrek -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP-DEV] function table / hashes

2001-04-26 Thread David Croft
conversion to string. Lastly, I am trying to see the difference between zend_hash_find and zend_hash_quick_find. Would I be correct in assuming quick_find only looks at string keys, and it would be safe to use this if the function expects only associative arrays? Thanks again! David -- |> /

Re: [PHP-DEV] MySQL problems at bugs.php.net

2001-04-28 Thread David Croft
Also unable to fork errors on the search page, and it's been VERY slow recently. -- |> /+\ \| | |> David Croft Infotrek On Sun, 29 Apr 2001, Zak Greant wrote: > Hello All, > > I just noted a problem at bugs.php.net: > > Warning: MySQL Connection Failed: Can't

[PHP-DEV] key_exists from php

2001-04-29 Thread David Croft
ke to add a function key_exists, with the following proto: bool key_exists(array search, string key) Please let me know if this is inappropriate or I have missed something obvious, otherwise I shall add this tomorrow. Thanks, David. -- |> /+\ \| | |> David Croft Infotrek -- PHP Deve

Re: [PHP-DEV] key_exists from php

2001-04-29 Thread David Croft
On Sun, 29 Apr 2001, Andrei Zmievski wrote: > Key may be a number as well. > > -Andrei should that be separate e.g. index_exists? -- |> /+\ \| | |> David Croft Infotrek -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: [PHP-DEV] key_exists from php

2001-04-30 Thread David Croft
mysql_fetch_array (and probably others) return a key with 'null' as the value if the field is null. This is distinct from that field not having been returned at all/not existing. -- |> /+\ \| | |> David Croft Infotrek On Mon, 30 Apr 2001, Zeev Suraski wrote: > Why woul

Re: [PHP-DEV] key_exists from php

2001-04-30 Thread David Croft
not true, then foreach/each need to be altered to skip over keys that have a null value. However I find it quite useful to be able to use null as a distinct value. David -- |> /+\ \| | |> David Croft Infotrek On Mon, 30 Apr 2001, Zeev Suraski wrote: > Why? It's only interesti

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV]Release process

2001-05-03 Thread David Croft
attended to - if nothing else, by adding a new 'does not exist' marker to the bucket that the zend_hash_ functions will recognize. In the meantime a very large note can be added to the documentation if you are able to determine exactly what circumstances cause this behaviour. Cheers, Dav

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV]Release process

2001-05-03 Thread David Croft
set and key_exists. Isset asks whether it is set to a tangible value. Key_exists asks whether the array contains an entry, any entry, for that key. My 2 cents, David -- |> /+\ \| | |> David Croft Infotrek On Thu, 3 May 2001, Zeev Suraski wrote: > At 17:20 3/5/2001, Cynic wrote: > >

[PHP-DEV] CVSROOT patch for multiple-author extensions

2001-01-10 Thread David Croft
gen_ext_sapi_list.sh isn't generating avail lines properly for extensions with multiple authors... the solution is to change the "for j in $@;" to just "for j;" David Index: gen_ext_sapi_list.sh === RCS file: /repository/CVSROOT

Re: [PHP-DEV] Re: PHP 4.0 Bug #8242 Updated: the date('B') givesbogus output when system date is Thu Dec 14 01:56:02 EET 20

2001-01-10 Thread David Croft
probably not, but if we're guaranteeing never to write more than 3 bytes to the buffer then it's worth a failsafe David On Wed, 10 Jan 2001, Boian Bonev wrote: > hi, > > i see you take care about timezones with offset bigger than one day... is it > possible? > > thank you :)) > > b. > > -

[PHP-DEV] DOM XML errors

2001-01-22 Thread David Croft
DOM XML functions write errors to apache's error_log, not very helpful. Any reason for this? any workarounds? Any reason it shouldn't trigger a PHP error? David -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E