how to display mkhoj ads

Started on the old forum in November 2009 · view the original in the archive · old links redirect here

9 replies · 996 views · started 17 years ago · 1 min read

7 participants
rdxmob Developer · 68 posts #1

anyone coder know how to display mkhoj ads on pc browser

ranzit2 Developer · 187 posts #2

rdxmob wrote: anyone coder know how to display mkhoj ads on pc browser

why to cheat with them lol

she is beautifull than php.and i love her more than php.

rdxmob Developer · 68 posts #4

thanx gum but i am alredy try this code its not working i want to display mkhoj ads on pc browser like opera internet explore mozila like etc mkhoj no issue to display mkhoj ads on pc its only display on mobile device but i see on another site they display mkhoj ads on pc browser so can help me i am very thanx to u

rdxmob Developer · 68 posts #5

GumSlone wrote: Use

$mkhoj_test = true;

and you will see the test ads in your pc browser

thanx gum but i am alredy try this code its not working i want to display mkhoj ads on pc browser like opera internet explore mozila like etc mkhoj no issue to display mkhoj ads on pc its only display on mobile device but i see on another site they display mkhoj ads on pc browser so can help me i am very thanx to u😊

wingsrajesh Newbie · 4 posts #7

friends in mkhoj ads,a line HTTP_USER_AGENT command line is identify users internet browsing agent(like as opera,mozilla,nokia72 etc.) its function collect information of users & browsers & send to mkhoj. & mkhoj identify mobile & pc browser, & they display add or NO.

if we set defaut USER_AGENT in our server/php code. then a default user agent string send to mkhoj and our ads are display in our pc also. if we set opera mini or nokia N72 USER AGENT string default, our ads display in pc also. they are three type of methods for set our user agent string TYPE 1; .htaccess Add the following line to your .htaccess file and that should do the trick:

php_value user_agent Opera/9.80 (J2ME/MIDP;Opera Mini/4.2.14912/812; U;en) Presto/2.2.0

TYPE 2: PHP set You could also use an ini_set to define the user agent too, just place this PHP line into the head of the script doing the Curl:

ini_set('user_agent', 'Opera/9.80 (J2ME/MIDP;Opera Mini/4.2.14912/812; U;en) Presto/2.2.0');

Set it in Curl You can also set the parameter in the Curl script itself, meaning that only this action is identified as Opera mini. Just add the following line into the Curl script in your PHP (not forgetting to change the $curl variable to whatever you're using:

curl_setopt($curl, CURLOPT_USERAGENT, 'Opera/9.80 (J2ME/MIDP;Opera Mini/4.2.14912/812; U;en) Presto/2.2.0');

For more information read the original piece of content at TorrentialWebDev as they deserve all the praise for this. If you'd like to learn how to scrape website content using Curl, check out my tutorial.

this trick is not tested,i think its work fine if u can install.

Rajesh

wingsrajesh Newbie · 4 posts #8

friends in mkhoj ads,a line HTTP_USER_AGENT command line is identify users internet browsing agent(like as opera,mozilla,nokia72 etc.) its function collect information of users & browsers & send to mkhoj. & mkhoj identify mobile & pc browser, & they display add or NO.

if we set defaut USER_AGENT in our server/php code. then a default user agent string send to mkhoj and our ads are display in our pc also. if we set opera mini or nokia N72 USER AGENT string default, our ads display in pc also. they are three type of methods for set our user agent string TYPE 1; .htaccess Add the following line to your .htaccess file and that should do the trick:

php_value user_agent Opera/9.80 (J2ME/MIDP;Opera Mini/4.2.14912/812; U;en) Presto/2.2.0

TYPE 2: PHP set You could also use an ini_set to define the user agent too, just place this PHP line into the head of the script doing the Curl:

ini_set('user_agent', 'Opera/9.80 (J2ME/MIDP;Opera Mini/4.2.14912/812; U;en) Presto/2.2.0');

Set it in Curl You can also set the parameter in the Curl script itself, meaning that only this action is identified as Opera mini. Just add the following line into the Curl script in your PHP (not forgetting to change the $curl variable to whatever you're using:

curl_setopt($curl, CURLOPT_USERAGENT, 'Opera/9.80 (J2ME/MIDP;Opera Mini/4.2.14912/812; U;en) Presto/2.2.0');

For more information read the original piece of content at TorrentialWebDev as they deserve all the praise for this. If you'd like to learn how to scrape website content using Curl, check out my tutorial.

this trick is not tested,i think its work fine if u can install.

Rajesh

coder4u Developer · 76 posts #9

mkjoh adds see

rdxmob wrote: anyone coder know how to display mkhoj ads on pc browser

mkhoj see all mobiles n u use pc mozilla n opera so mkhoj not show coz its mobile adds n ppl cheat so mkhoj see only phone n u can make pc real browser as like phone u see mkhoj adds on ur pc😍

modfiles Developer · 200 posts #10

I think it will be good if someone will post the advance version or v2 script of inmobi that display multiple ads in a page and will display an add in pcweb browsers. Thinking of moving to inmobi network too since im reading to many negative post bout admob.

Write your reply now; next you create a free account (or sign in) and it is posted right away. 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