- OpenX Community Forums
![]() ![]() |
Jan 30 2012, 06:14 AM
Post
#1
|
|
|
Beginner ![]() Group: Members Posts: 2 Joined: 30-January 12 Member No.: 171,439 |
Dear,
I am using openx2.6.0. I Wanna call generateTags by XMLRPC-php client. The core code as following: CODE $lastParams = new XML_RPC_Value( array( 'target' => new XML_RPC_Value('_blank', 'string'), 'source' => new XML_RPC_Value('', 'string'), 'refresh' => new XML_RPC_Value('', 'string'), 'resize' => new XML_RPC_Value(0, 'int'), 'transparent' => new XML_RPC_Value( 0, 'int'), 'ilayer' => new XML_RPC_Value( 0, 'int'), 'iframetracking' => new XML_RPC_Value( 1, 'int'), 'thirdpartytrack' => new XML_RPC_Value( 0, 'int'), 'cachebuster' => new XML_RPC_Value( 1, 'int'), 'comments' => new XML_RPC_Value( 0, 'int'), ), 'struct' ); $aParams = array( new XML_RPC_Value($sessionId, 'string'), new XML_RPC_Value(1,'int'), new XML_RPC_Value("adframe",'string'), $lastParams ); the server's response is : CODE <iframe id='a6c9439c' name='a6c9439c' src='http://172.16.9.176:8080/www/delivery/afr.php?n=a6c9439c&zoneid=1' framespacing='0' frameborder='no' scrolling='no'><a href='http://172.16.9.176:8080/www/delivery/ck.php?n=a8a035e5&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://172.16.9.176:8080/www/delivery/avw.php?zoneid=1&n=a8a035e5' border='0' alt='' /></a></iframe> But i login in site by Web Browse, then click the "invocation code" tab in admin site. The result is CODE <iframe id='a28a0ee8' name='a28a0ee8' src='http://172.16.9.176:8080/www/delivery/afr.php?n=a28a0ee8&zoneid=1' framespacing='0' frameborder='no' scrolling='no' width='100' height='50'><a href='http://172.16.9.176:8080/www/delivery/ck.php?n=a0010648&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://172.16.9.176:8080/www/delivery/avw.php?zoneid=1&cb=INSERT_RANDOM_NUMBER_HERE&n=a0010648' border='0' alt='' /></a></iframe> My question is ,Why the two result is different? The first doesn't include "cb.." and "width" and "height" property in iframe tag? Thanks |
|
|
|
Feb 17 2012, 02:58 AM
Post
#2
|
|
|
Beginner ![]() Group: Members Posts: 2 Joined: 30-January 12 Member No.: 171,439 |
Any help ? Thanks
|
|
|
|
![]() ![]() |