Jump to content

php wap


dotkpay

Recommended Posts

A "wap site" is just like any other, it just uses a different set of markup rules.

Most modern mobile browsers with WAP 2.0 uses XHTML Mobile Profile(a stripped down version of XHTML), but also supports other doctypes. Mobile sites tend to use less graphical content, and have fluid web styles so it can expand to the specific mobile browsers settings.

 

You can try using your own mobile to go to "http://www.phpfreaks.com", it may not entirely be aligned properly into the browser, but it should show up none the less.

 

A simple(very simple) idea to get you started is just using XHTML MP, with some PHP mixed into it.

 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN"
"http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <title>Hello world</title>
  </head>
  <body>
    <p>
       <?php
           echo 'This content printed out with PHP';
       ?>
    </p>
  </body>
</html>

 

Source(s): http://en.wikipedia.org/wiki/XHTML_Mobile_Profile

Link to comment
https://forums.phpfreaks.com/topic/234161-php-wap/#findComment-1203713
Share on other sites

I don't think you're thinking of the same "WAP" technology as we are.

A phone doesn't have a database as per say a web sever, it uses other methods to store data. I think you might be referring to a Java application on the phone itself?

 

Please me a lot more specific so I can offer more advice.

Link to comment
https://forums.phpfreaks.com/topic/234161-php-wap/#findComment-1204071
Share on other sites

Thanx guys for the help,

Supposing I have a site on the web that deals with money transfer like paypal.com and then. For users with GPRS enabled phones I guess I would simply have to make a mobile site, one like m.paypal.com or write a java mobile application. But I would want users with low grade mobile phones that don't have GPRS to be able to manage their funds as well, how would I go about this?

 

Thanx in advance

Link to comment
https://forums.phpfreaks.com/topic/234161-php-wap/#findComment-1204290
Share on other sites

I'm afraid I don't know exactly what the network technology is called, but it's similar to SMS or Pager networks.

This won't be able to be done in PHP unfortunately, mostly because it would not be practical.

 

You could try and use an SMS method, where the client SMS's in and the SMS is an action. This is also not very practical, as it is money consuming.

I'd suggest dropping this idea, unless you're working for a client with a sizable company.

Link to comment
https://forums.phpfreaks.com/topic/234161-php-wap/#findComment-1204555
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.