RE: [PHP4BETA] Initial experience - it breaks ;)

From: Date: Mon, 19 Jul 1999 21:59:14 +0000
Subject: RE: [PHP4BETA] Initial experience - it breaks ;)
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-2264@lists.php.net to get a copy of this message
Sure. But I'd be wanting to discuss this with my fellow PHP4'ers, for all I know they have a solution! Excuse me for saying, but this list looks like the perfect place to ask around if someone has encountered similar things, and if there are solutions. Or is there another place? Sander > -----Original Message----- > From: Zeev Suraski [mailto:bourbon@netvision.net.il] > Sent: Monday, July 19, 1999 23:53 > To: Sander Pilon > Cc: php4beta@lists.php.net > Subject: Re: [PHP4BETA] Initial experience - it breaks ;) > > > Please, pretty please, bug reports should not go to this list, but to > bugs.php.net/version4/! > > Thanks, > > Zeev > > On Mon, 19 Jul 1999, Sander Pilon wrote: > > > Okay, i've compiled it, put it online and... it breaks :) > > > > Most of the stuff works, but I've been getting weird MySQL and uksort() > > errors: > > > > First, MySQL: > > > > Warning: MySQL Connection Failed: Unknown MySQL Server Host > (tdn_sections) > > (0) in tdn_functions.x on line 407 > > > > The piece of code: > > > > Function TDN_Frontpage_Sections() > > { > > global $sectionsdatabase,$sander,$pollcookie,$pollid; > > > > $p_sec="tdn_fp"; > > > > $q="select identifier,url from sections where > section='$p_sec' order > > by added desc"; > > <407> $r=mysql($sectionsdatabase,$q); > > echo "Err.".mysql_error(); > > > > ... > > > > This is wack, because other mysql() calls to the same database, > same table > > seem to work. > > > > Second, where uksort() previously worked, it doesnt now: > > > > > > Warning: Wrong datatype in uksort() call in > include/ne_baselib.x on line 11 > > > > --- > > function key_desc($a, $b) > > > > > > if ($a == $b) return 0; > > > > return ($a > $b) ? -1 : 1; > > } > > > > functiOn ksort_desc($array) > > { > > <11> uksort($array,'key_desc'); > > } > > --- > > > > Both of these errors are new and I've never seen them before. > > > > So, I threw it offline again and I intend to figure it out > later (tomorrow) > > If any of you have some brilliant ideas, lemme know. > > > > Sander > > > > > > -- > > PHP 4 Beta > > > > -- > ----------------------------------------------------- > Zeev Suraski <zeev@zend.com> http://www.zend.com/ > For a PGP public key, finger bourbon@netvision.net.il > >

« previous php.version4 (#2264) next »