PHP Classes

File: sample.php

Recommend this page to a friend!
  Classes of Michael Rondero   Check ISDN   sample.php   Download  
File: sample.php
Role: Example script
Content type: text/plain
Description: sample for mobile number detection
Class: Check ISDN
Retrieve of number of a phone accessing a WAP site
Author: By
Last change:
Date: 17 years ago
Size: 759 bytes
 

Contents

Class file image Download
<?php
header
("Content-Type: text/vnd.wap.wml");
print(
'<?xml version="1.0" encoding="ISO-8859-1"?>'."\n");
?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org//DTD//wml_1.1.xml">
<wml>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
 <meta http-equiv="cache-control" content="no-cache"/>
 <meta name="MobileOptimized" content="width">
 </head>
<card title="My Wap Portal">
  <p mode="nowrap">
  <br />
  <?php
 
include('mobile_func/chkisdn.inc.php');
 
$objisdn=new check_isdn();
 
$getmobilenumber=$objisdn->_get_mobile_number();
 
?>
Your mobile number is <?php print($getmobilenumber); ?>
<br />
  <small>&#169; by My Company Name</small>
  </p>
 </card>
</wml>