WAP and PHP

  • apwade
  • Newbie
  • Newbie
  • apwade
  • Posts: 5

Post 3+ Months Ago

Is it possible to have two main pages i.e index page one for wap and the other html(php driven) or do i have to determine the type of user and rewrite my index page appropriately.

My main site is unsuitable for mobile phones and would have to significantly different.

Cheers

Andrew

Discount codes
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

I'd test the user agent and do a redirect
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

http://httpd.apache.org/docs/2.2/conten ... ation.html

You should be able to single out WAP agents using the Accept header, & WAP agents that will accept basic XHTML by the existance of WAP & XHTML content types in the Accept header.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 38 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.