XML-RPC , YouTube , <name> tag - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: XML-RPC , YouTube , <name> tag (/showthread.php?tid=6664) |
XML-RPC , YouTube , <name> tag - El Forum - 03-06-2008 [eluser]ezafy[/eluser] I am new to php and xml-rpc and I spend like 4 hours on this so far and no luck yet youtube requires request like this: Code: <?xml version='1.0'?> but whatever i do I can not get CI's xml-rpc to produce the <name> tag what is wrong with my code or is it not possible? Code: <?php XML-RPC , YouTube , <name> tag - El Forum - 03-06-2008 [eluser]Chris Newton[/eluser] Code: $request = array(array("dev_id" => array('My_DEV_ID', 'string'), Looks like you're missing the data type of your request. XML-RPC , YouTube , <name> tag - El Forum - 03-07-2008 [eluser]ezafy[/eluser] first of all, thanks for looking @ my code BUT the problem still persists I am trying to send a request to youtube's XML-RPC server not send a reponse to a client according to CI's docs what you suggested (using struct) is used when constructing a response to a request! I also tried Code: $request = array( Code: $request = array( Code: $request = array( XML-RPC , YouTube , <name> tag - El Forum - 03-08-2008 [eluser]ezafy[/eluser] :lol: got it to work like so: Code: $request = array( |