Decktrade Help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Decktrade Help

    Hi

    I dont get ads from decktrade with operamini so i contacted them and they want me to do the following.

    qoute from decktrade support:

    what you'll need to do is echo out
    the request you are sending to us to the screen so that you can read it and
    send it to us. It does require you have some knowledge of the code language
    you are using so you can debug the code.
    can anyone help me do this

    Thanks

    #2
    here is the install code:
    PHP Code:
    <?php
    $dt_siteid 
    276;
    $dt_adserver "ads.dt.mydas.mobi";
    $dt_default_response "";
    $dt_mode "test"// Change this to 'live' when ready for live Ads

    $dt_ua urlencode$_SERVER["HTTP_USER_AGENT"] );
    $dt_ip urlencode$_SERVER["REMOTE_ADDR"] );

    $dt_id urlencode$_SERVER["REMOTE_ADDR"] );

    if( isset( 
    $_SERVER["HTTP_X_UP_SUBNO"] ) )
      
    $dt_id urlencode$_SERVER["HTTP_X_UP_SUBNO"] );
    else if( isset( 
    $_SERVER["HTTP_XID"] ) )
      
    $dt_id urlencode$_SERVER["HTTP_XID"] );
    else if( isset( 
    $_SERVER["HTTP_CLIENTID"] ) )
      
    $dt_id urlencode$_SERVER["HTTP_CLIENTID"] );
    $dt_url "http://$dt_adserver/getAd.php5?asid=$dt_siteid&auid=$dt_id&ua=$dt_ua&uip=$dt_ip&mode=$dt_mode";

    @
    $dt_response file_get_contents$dt_url );
    echo 
    $dt_response != FALSE $dt_response $dt_default_response;
    ?>
    Advertise your mobile site for FREE with AdTwirl

    Comment


      #3
      i have the code its just not working with opera mini

      Comment


        #4
        Code:
        if( isset(  $_SERVER['HTTP_X_OPERAMINI_PHONE_UA']) ){
        $dt_ua = urlencode(  $_SERVER['HTTP_X_OPERAMINI_PHONE_UA']);
        }else{
        $dt_ua = urlencode( $_SERVER["HTTP_USER_AGENT"] );
        }

        Comment


          #5
          DECKTRADE dnt hav ads for indian ip.s
          CHEK IT

          Comment


            #6
            My decktrade ads doesnt show on my ej site

            WapCHAT Forum Currenltly changing over to xhtml

            My Dowloads Site

            Comment

            Working...
            X