dotkpay Posted April 19, 2011 Share Posted April 19, 2011 Hello, I just wanted to know how to go about making a wap site in php. Do I have to go to a telecom network provider to get the site online? Quote Link to comment https://forums.phpfreaks.com/topic/234161-php-wap/ Share on other sites More sharing options...
sunfighter Posted April 19, 2011 Share Posted April 19, 2011 You should check the FCC rules about getting your site up. They are the ones that control the airwaves not the telecoms. You would be in the 700Mhz band(?). Trying to find anything about wap is near to impossible. It uses it's own verity of HTML so I would think php would be OK. Quote Link to comment https://forums.phpfreaks.com/topic/234161-php-wap/#findComment-1203690 Share on other sites More sharing options...
Pikachu2000 Posted April 19, 2011 Share Posted April 19, 2011 How about you define exactly what you mean by "making a wap site" before this goes any further . . . Quote Link to comment https://forums.phpfreaks.com/topic/234161-php-wap/#findComment-1203709 Share on other sites More sharing options...
mens Posted April 19, 2011 Share Posted April 19, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/234161-php-wap/#findComment-1203713 Share on other sites More sharing options...
dotkpay Posted April 19, 2011 Author Share Posted April 19, 2011 I want the WAP site to be able to access my database so users with cell phones that are not GPRS enabled can use the site as well. Quote Link to comment https://forums.phpfreaks.com/topic/234161-php-wap/#findComment-1203763 Share on other sites More sharing options...
mens Posted April 19, 2011 Share Posted April 19, 2011 ...if a mobile phone does not have GPRS, there's no way in hell they are going access any remote content - period. I'd suggest you Google this topic a bit, and educate yourself on it before attempting to do something like this. Quote Link to comment https://forums.phpfreaks.com/topic/234161-php-wap/#findComment-1203768 Share on other sites More sharing options...
dotkpay Posted April 20, 2011 Author Share Posted April 20, 2011 if it is not possible for a phone without gprs to access wap, then how can it access the database, am saying this coz i have seen software used on very old phones, or could it be that the software is installed on the telecom network? Quote Link to comment https://forums.phpfreaks.com/topic/234161-php-wap/#findComment-1203855 Share on other sites More sharing options...
mens Posted April 20, 2011 Share Posted April 20, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/234161-php-wap/#findComment-1204071 Share on other sites More sharing options...
Pikachu2000 Posted April 20, 2011 Share Posted April 20, 2011 How about you define exactly what you mean by "making a wap site" before this goes any further . . . Quote Link to comment https://forums.phpfreaks.com/topic/234161-php-wap/#findComment-1204098 Share on other sites More sharing options...
dotkpay Posted April 21, 2011 Author Share Posted April 21, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/234161-php-wap/#findComment-1204290 Share on other sites More sharing options...
mens Posted April 21, 2011 Share Posted April 21, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/234161-php-wap/#findComment-1204555 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.