From: Robin Gilks (lus.syglb@camerondiv.com)
Date: Wed May 12 2004 - 02:58:55 EEST
> Greetings
>
> I've recently updated my system and am now using php 4.3. This has
> incorporated a recent change that causes register_global to be off by
> default and as a result it has broken the webconvers (ww convers access
> through a web page gateway) scripts I wrote a few years back.
>
> I've managed to get all the global variable handling stuff sorted out
> (with a sprinkling of $_POST and $_GET acesses as required!!) but I'm
> finding that in either the file or socket handling there is a very large
> delay (minutes on occation).
>
> When I get home tonite I'll post what I have to my website (look under the
> personal pages for g8ecj) in case anyone knows of a "standard fix" that
> I've missed in my browsing of php.net :-))
>
I've found the major problem at last - there is a bug in feof() handling
on non-blocking streams that causes it to hang for the timeout time. By
using stream_get_meta_data and testing the eof status I've got round it.
The suggestions of turning on register_global in php.ini, although
appreciated, are totally against what I was trying to do which was fix the
scripts so they would be more secure (which is why the change happened in
the first place!!).
Many thanks for the replies..
-- Robin Gilks zl3rob/g8ecj Internet: terhi.victor@logonet.com http://www.gilks.org- To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to dmgfusic.bbnn@vvmc.com More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b30 : Wed May 12 2004 - 03:04:15 EEST