I am generating WML content with a PHP file, but i need to re-invoke the same PHP file to generate the WML content again after 10 seconds. It is kinda pushing pages to the user.
I have tried the following..
push.wml
Code: Select all
<? php
echo "<wml>";
echo "<card blah>";
echo "<p>";
echo $PHP_Variable;
echo "</p>";
echo "</card>";
echo "</wml>";
if (!empty($PHP_Variable))
{
invoke callback.php
}
?>Code: Select all
<?php
sleep(10);
invoke push.wml
?>So i need a way to invoke callback.php on the server side and not sending the invokation to the Mobile Phone along with the WML content. Then the callback.php will wait 10 second on the server and then invoke PUSH.WML again.
You guys following? I don't know if i am explaining it well enough to get valid responds. Please help.
================
This is what i see from the Nokia Mobile Dev Kit's diagnos tool.
The Mobile Phone is requesting PUSH.WML then it request CALLBACK.PHP and after 10 seconds request PUSH.WML and so on so forth. So i can't use header redirection to do what i want to do.
Please help.
Thanks in advance,
Regards
Mian
feyd | last warning, use
Code: Select all
tags when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]