|
Comments for: jesus20000402
| Message # 1013600: |
|
Date: 09/30/02 17:52
By: tryin 2help Subject: RE: Does PHP support WDDX Recordsets ?? Per AlainL post, look at page: http://www.php.net/manual/en/function.wddx-deserialize.php To Quote php at mike2k dot com: if you have WDDX data coming from a third party source and it isnt being parsed correctly in your php, try translating their WDDX. we have a third party sending us WDDX from cold fusion, and it uses a <recordset> element, which PHP seems to ignore (looking around the web we found some other people having trouble) so the (hopefully temporary) solution we found was to translate the WDDX midstream and then we were able to parse it: $url = "http://somedomain.com/blah.wddx"; $fp = fopen($url,"r"); $page = fread($fp,10000); fclose($fp); $page = str_replace("<recordset","<struct",$page); $page = str_replace("</recordset","</struct",$page); $page = str_replace("<field","<var",$page); $page = str_replace("</field","</var",$page); $values = wddx_deserialize($page); while(list($key,$val) = each($values)) { print "$key => $val "; } this works for us. it's a hack, and hopefully php will support this in the future or something. |
Previous Message | Next Message |
| Comments: | ||
| does jscript support wddx? | faraz | 05/01/05 12:35 |
| is WDDX still being supported? | Raymond Sassine | 07/23/03 22:36 |
| RE: Does PHP support WDDX Recordsets ?? | tryin 2help | 09/30/02 17:52 |
| Help with PHP4and XML | radhakrishna | 08/23/02 11:51 |
| How to use xml function in php?? | dysow | 05/29/02 02:46 |
| RE: Deserialize packet | Bart Stutton | 04/10/02 17:25 |
| Stability / Practicality | Robert Yelvington | 03/22/02 01:16 |
| Deserialize packet | andriani97 | 01/04/02 06:36 |
| RE: Does PHP support WDDX Recordsets ?? | AlainL | 12/21/01 02:19 |
| RE: How to use DOM ? | Tobias Beuving | 12/16/01 15:44 |
| RE: Does PHP support WDDX Recordsets ?? | Jarek Zgoda | 12/04/01 06:41 |
| RE: wddx under win32 | Mike | 06/09/01 20:48 |
| RE: Does PHP support WDDX Recordsets ?? | Marlow | 06/06/01 06:49 |
| PHP XML CODES GENERATOR | Monic | 04/20/01 20:01 |
| where is you company located? | Tyson | 03/18/01 03:16 |
| wddx under win32 | Mikey Likes It | 03/12/01 23:00 |
| RE: Does PHP support WDDX Recordsets ?? | Joao Marcus | 02/17/01 12:36 |
| Help with PHP and XML | cullan crothers | 01/03/01 16:02 |
| How to use DOM ? | Tran Anh Nhan | 12/27/00 22:37 |
| RE: Does PHP support WDDX Recordsets ?? | Cory Factor | 10/26/00 19:57 |
| Does PHP support WDDX Recordsets ?? | jack-e | 06/28/00 19:24 |
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


