Php Code On Wml Page

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

2 replies · 1,083 views · started 19 years ago · 1 min read

2 participants
Guest #1

hi there i don't know php properly. i want to add admob code on my wml page how can i do it?

i m using lycos Tripod and t35 hosting.....

plz help me......

blackhowk Senior · 411 posts #2
<?php header("Content-type: text/vnd.wap.wml"); header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); header("Provided-by: [ngeo@ngeo.ro](mailto:ngeo@ngeo.ro) "); echo "<?xml version=\"1.0\"?> <!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"" ." \"http://www.wapforum.org/DTD/wml_1.1.xml\">\n";

?> <wml> <card id="ngeo" title="<?php echo"$title";?>">

External image (may be gone)

welcome to ngeo mobile chat

<a href ="wml.php?type=chat&amp;nocache_time=<?php echo $now;?>">enter</a>

<a href ="wml.php?type=terms&amp;nocache_time=<?php echo $now;?>">terms</a>

</card> </wml>

.php not . wml

rukiya Lead · 569 posts #3

hi there i don't know php properly. i want to add admob code on my wml page how can i do it?

i m using lycos Tripod and t35 hosting.....

plz help me......

CODEmake admob.php then copy & paste the php codes in the admob.php

the add this include("admob.php"); in ur wml page where u want to show the add links

and also dont 4get to change from "test" into "live" in ur admob php codes

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