Re: [openSRS-PHP-dev] Quasi-Stupid Question
Brought to you by:
cviebrock
From: John C. <jc...@ir...> - 2001-08-23 00:44:13
|
Looking at my code, I test for != 0 so it must be a boolean. John Capo IRBS Engineering, Inc. Quoting Matt Prigge (mp...@po...): > Hey Folks, > Im fairly new to opensrs-php, so bear with me here. I have been toying > around with it and have so far found it extremely useful, but I have run > into one little problem. My guess is that this is going to end up being a > non-php specific question, but I have so far only experienced it using this > library (the perl lib _seems_ to work as I would expect), so Im not sure. > When I get the info for a domain in the list context, the 'remainder' > field is incorrect. It always seems to report '1' even though that is > grossly off (unless it is supposed to be a bool; the OSRS docs dont show it > as being one though). I can write around this pretty easily since the > 'count' field is correct and I can obviously tell how many Ive retrieved > already. I just wanted to know if theres something Im doing wrong or if > theres something that needs to be fixed. > If anyone else has seen this problem, please let me know. > > Thanks! > Matt Prigge > > Example command/result set: > (note that 'remainder' is '1' when it should be '279') > > COMMAND: > Array > ( > [action] => get > [object] => domain > [cookie] => (cookie) > [attributes] => Array > ( > [type] => list > ) > ) > > RESULT: > Array > ( > [is_success] => 1 > [protocol] => XCP > [_OPS_msg_type] => standard > [object] => GET > [_OPS_msg_id] => (msg id) > [response_text] => Command Successful > [attributes] => Array > ( > [count] => 319 > [remainder] => 1 > [domain_list] => Array > ( > [0] => (first domain) > [... 38 domains ...] > [39] => (fortieth domain) > ) > [ext_results] => Array > ( > [... ext results for all 40 domains ...] > ) > ) > [response_code] => 200 > [action] => REPLY > [_OPS_version] => 0.9 > ) > > > > > > > > > _______________________________________________ > opensrs-php-devel mailing list > ope...@li... > http://lists.sourceforge.net/lists/listinfo/opensrs-php-devel |