ARCHIVE
LinuxMCE Forums
June 19, 2013, 06:09:20 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Accessing Pluto with mobile phones without symbian  (Read 3188 times)
archived
Hello, I'm new here

Posts: 0


View Profile
« on: August 07, 2005, 07:46:50 pm »

Hello

I would like to know how to access pluto(orbiter?) without
having a symbian phone. Would it be possible to access a wap page?

I've asked this question earlier, and then the response was that
it would be available in the next release. Several releases has passed,
but I can't get it to work.

Anyone?
Logged
archived
Hello, I'm new here

Posts: 0


View Profile
« Reply #1 on: August 19, 2005, 10:19:48 am »

There are two possibilities:
 
1. You can add to your core a routable ip. When open your browser from the phone and go to http://<your_ip_address>/pluto-admin/check.wml.
 
2. If you don't want to add a routable ip to the core, you will need to use another linux machine which has one. There, you'll have to create a file "check.wml" which uses 'curl' to access the wap page from the core:
 
<?php
Header( "Content-type: text/vnd.wap.wml");
$Message=queryServer($_SERVER['QUERY_STRING'],'http://<your_core_ip_address>/pluto-admin/check.wml');
 
print $Message;
 
function queryServer($params,$url)
{
 $defined_vars = get_defined_vars();
 $user_agent = @$defined_vars['HTTP_USER_AGENT'];
 
 $ch = curl_init();
 $serverAddress=($_SERVER['QUERY_STRING']!='')?$url.'?'.$_SERVER['QUERY_STRING']:$url;
 
 curl_setopt($ch, CURLOPT_URL, $serverAddress);
 curl_setopt($ch, CURLOPT_HEADER, 0);
 curl_setopt($ch, CURLOPT_USERAGENT, $user_agent);
 curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
 
 $result=curl_exec ($ch);
 curl_close ($ch);
 
 return $result;
}
?>
 
There, you will be able to access the wap site from your phone's browser like this: http://<your_routable_ip_address>/<the_path_to_wml_page>/check.wml.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Pluto provided a snapshot of their forums with approximately 5,000 posts in February, 2007 when LinuxMCE branched off. Browse those forum posts in the Archive section. Those posts have been included in the search engine and can be found with keyword searches.