|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
problem with php .. can any body help me ??
hi
i have design my wap site and it work no problems on pc but when i try it on nokia 3100 it's don't work link : http://modilink.net/wap main page is : index.php3 and there is a copy in attach i hope to help me bye |
|
#2
|
||||
|
||||
|
http://www.wapsilon.com/mkf.cgi?http://www.modilink.net/wap shows the index okay but some of the other pages have bad syntax from tags open and not closed or in the wrong order...
How did you do the how much bandwidth consumed bit on your index page on the website? I quite like that.
__________________
Andy Moore << oh no it's got a blog..... Word Press WAP Plugin with Ad Mob Advertising revenue PHP developer deploying ringtones, mp3 downloads and realtones I'm a geek who's obsessed with stats and gadgets |
|
#3
|
||||
|
||||
|
Try making sure that your & are written fully, &_#38; forexample, no underscore. HTH.
__________________
Cheers, Jamie # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure # Any form of employment is strictly prohibited ...... __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. __________________ |
|
#4
|
|||
|
|||
|
i know there are errors on other pages
but also when i try to open http://modilink.net/wap/index.php3 on my phone it apear error message "Unknow Answer " or something like that |
|
#5
|
||||
|
||||
|
Fix the errors and see if you still get those error messages. WAP / WML is very unforgiving and different servers and browsers handle the error differently.
|
|
#6
|
|||
|
|||
|
where are errors ?? the file have not any errors
|
|
#7
|
|||
|
|||
|
can anybody test it on real mobile ??
|
|
#8
|
||||
|
||||
|
Its working fine
The home page is working fine on my Sony ericsson T610.
|
|
#9
|
||||
|
||||
|
Okay den i moved the post.
|
|
#10
|
||||
|
||||
|
Quote:
This post should really have a thread of it's own, saying that a thorough search of the forums would eliminate the need for posting. |
|
#11
|
|||
|
|||
|
-----------------------
Thanks wapindya and about redirection you can use this code in your home page Code:
<?PHP
// A file to redirect users based on their browsers.
$htmlredirect = "http://www.modilink.com";
$wmlredirect = "http://www.modilink.com/wap"; if(strpos(strtoupper($HTTP_ACCEPT),"VND.WAP.WML") > 0)
{
$br = "WML";
}
else
{
$browser=substr(trim($HTTP_USER_AGENT),0,4);
if($browser=="Noki" || // Nokia phones and emulators
$browser=="Eric" || // Ericsson WAP phones and emulators
$browser=="WapI" || // Ericsson WapIDE 2.0
$browser=="MC21" || // Ericsson MC218
$browser=="AUR " || // Ericsson R320
$browser=="R380" || // Ericsson R380
$browser=="UP.B" || // UP.Browser
$browser=="WinW" || // WinWAP browser
$browser=="UPG1" || // UP.SDK 4.0
$browser=="upsi" || // another kind of UP.Browser ??
$browser=="QWAP" || // unknown QWAPPER browser
$browser=="Jigs" || // unknown JigSaw browser
$browser=="Java" || // unknown Java based browser
$browser=="Alca" || // unknown Alcatel-BE3 browser (UP based?)
$browser=="MITS" || // unknown Mitsubishi browser
$browser=="MOT-" || // unknown browser (UP based?)
$browser=="My S" || // unknown Ericsson devkit browser ?
$browser=="WAPJ" || // Virtual WAPJAG www.wapjag.de
$browser=="fetc" || // fetchpage.cgi Perl script from www.wapcab.de
$browser=="ALAV" || // yet another unknown UP based browser ?
$browser=="Sony" ||
$browser=="SHAR" ||
$browser=="SIE-" ||
$browser=="SEC-" ||
$browser=="Wapa") // another unknown browser ("Wapalyzer"?)
{
$br = "WML";
}
else
{
$br = "HTML";
}
}
if($br == "WML")
{
header("Location: ".$wmlredirect);
exit;
}
else{
// Type your main page code here .. or use redirect code
}
------------------------------------- Andymoo i think you asked me about bandwidth .. if you mean visitors count it's very easy in wap home page or any page use sql command to update visitors value in database like ex : mysql_query("update visitors_count set wap=wap+1"); Bye |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > problem with php .. can any body help me ?? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|