Help.. Funmobile

Started on the old forum in March 2008 · view the original in the archive · old links redirect here

11 replies · 1,144 views · started 18 years ago · 1 min read

Guest #1

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

wizard Senior · 493 posts #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();

Guest #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();

Guest #4
<?php include("config.php"); connectdb(); define ('WAP','text/vnd.wap.wml'); define ('WEB','application/xhtml+xml'); i changed it to text/html but still not working
wizard Senior · 493 posts #5
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='".$uid."'"));

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

Guest #6

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

Guest #9

i did but its not working still:(

Guest #11

hmmm i already done it for him :|

Guest #12

tnx bro

hmmm i already done it for him :|

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close