WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old August 20th, 2004, 09:45 AM
allomani allomani is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 21 allomani User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 54 sec
Reputation Power: 0
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
Attached Files
File Type: zip index.zip (542 Bytes, 287 views)

Reply With Quote
  #2  
Old August 20th, 2004, 11:47 AM
andymoo's Avatar
andymoo andymoo is offline
Timelord
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Loughborough, Leicestershire
Posts: 605 andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 5 h 53 m 46 sec
Reputation Power: 63
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

Reply With Quote
  #3  
Old August 20th, 2004, 03:27 PM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 8th Plane (8500 - 8999 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 8,670 jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)  Folding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner Folder
Time spent in forums: 3 Months 3 Weeks 4 Days 6 h 4 m 26 sec
Reputation Power: 1618
Send a message via ICQ to jabba_29 Send a message via AIM to jabba_29 Send a message via MSN to jabba_29 Send a message via Yahoo to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
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.

__________________

Reply With Quote
  #4  
Old August 20th, 2004, 06:55 PM
allomani allomani is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 21 allomani User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 54 sec
Reputation Power: 0
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

Reply With Quote
  #5  
Old August 21st, 2004, 10:03 AM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 8th Plane (8500 - 8999 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 8,670 jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)  Folding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner Folder
Time spent in forums: 3 Months 3 Weeks 4 Days 6 h 4 m 26 sec
Reputation Power: 1618
Send a message via ICQ to jabba_29 Send a message via AIM to jabba_29 Send a message via MSN to jabba_29 Send a message via Yahoo to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
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.

Reply With Quote
  #6  
Old August 21st, 2004, 08:33 PM
allomani allomani is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 21 allomani User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 54 sec
Reputation Power: 0
where are errors ?? the file have not any errors

Reply With Quote
  #7  
Old August 21st, 2004, 08:43 PM
allomani allomani is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 21 allomani User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 54 sec
Reputation Power: 0
can anybody test it on real mobile ??

Reply With Quote
  #8  
Old August 22nd, 2004, 07:14 AM
wapindya's Avatar
wapindya wapindya is offline
Permanently Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Location: INDIA
Posts: 394 wapindya Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 3 Days 10 h 34 m 35 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
Its working fine

The home page is working fine on my Sony ericsson T610.

Reply With Quote
  #9  
Old August 22nd, 2004, 07:18 AM
wapindya's Avatar
wapindya wapindya is offline
Permanently Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Location: INDIA
Posts: 394 wapindya Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 3 Days 10 h 34 m 35 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
Angry I moved it

Okay den i moved the post.

Reply With Quote
  #10  
Old August 22nd, 2004, 07:29 AM
andymoo's Avatar
andymoo andymoo is offline
Timelord
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Loughborough, Leicestershire
Posts: 605 andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 5 h 53 m 46 sec
Reputation Power: 63
Quote:
Originally Posted by wapindya
Do u have a browser detection and redirection php script. i u have please gimme. I am having problems here. I have a web + wap site under construction here. http://Mobileindya.Com i want to redirect the wap visitors who use wap browsers to wap.Mobileindya.Com and web visitors to Mobileindya.com/web/ Please if u know tell me how to do this.

Regards,
Amol

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.

Reply With Quote
  #11  
Old August 22nd, 2004, 10:08 AM
allomani allomani is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 21 allomani User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 54 sec
Reputation Power: 0
-----------------------
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > problem with php .. can any body help me ??


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |