Help.. Funmobile

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

    Help.. Funmobile

    hi,
    i need help on how o install my admob on a funmobile script. also how to make a funmobile script work on internet explorer. tnx

    #2
    firstly to make it work in IE change the content type from application/xhtml+xml to text/html. for the ad, create a function called ad() in core, copy the adcode to the function and wherever in the script u want the random ad to show put ad();

    Comment


      #3
      ill try it mate. tnx alot

      firstly to make it work in IE change the content type from application/xhtml+xml to text/html. for the ad, create a function called ad() in core, copy the adcode to the function and wherever in the script u want the random ad to show put ad();[/b]

      Comment


        #4
        <?php

        include("config.php");

        connectdb();

        define (&#39;WAP&#39;,&#39;text/vnd.wap.wml&#39;);
        define (&#39;WEB&#39;,&#39;application/xhtml+xml&#39;);


        i changed it to text/html but still not working

        Comment


          #5
          Code:
          if($v=="w")
          {
          
          $mime = "text/vnd.wap.wml"; 
          
          }else if($v=="x")
          {
          
          $mime = "application/xhtml+xml"; 
          
          }else if($v=="")
          {
          
          $getview = mysql_fetch_array(mysql_query("SELECT view FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
          
          if($getview[0]=="w") {
          
          $mime = "text/vnd.wap.wml"; 
          
          }else if($getview[0]=="x") {
          
          $mime = "application/xhtml+xml";
          
          }else if($getview[0]=="") {
          
          $content_type = "";
          
          //$content_type = "text/vnd.wap.wml";  //for debugging
          
          if ($content_type=="")
          {
          
          $mime = ((stristr($_SERVER["HTTP_ACCEPT"],"application/xhtml+xml")) ? "application/xhtml+xml" : "text/vnd.wap.wml");
          
          }else{
          
          $mime = $content_type;
          
          }
          }
          }
          there u need to change those also

          Comment


            #6
            all of the applicaion/xhtml+xml that i see in core.php?

            Comment


              #7
              all of the applicaion/xhtml+xml that i see in core.php?[/b]

              yes, just use txt replace in notepad or ++

              Comment


                #8
                all of the applicaion/xhtml+xml that i see in core.php?[/b]

                yes, just use txt replace in notepad or ++

                Comment


                  #9
                  i did but its not working still

                  Comment


                    #10
                    i did but its not working still[/b]

                    what exactly did u do?

                    Comment


                      #11
                      hmmm i already done it for him :|

                      Comment


                        #12
                        tnx bro

                        hmmm i already done it for him :|[/b]

                        Comment

                        Working...
                        X