Esato Mobile
Sony Ericsson / Sony : Technical : WAP Development Questions...
> New Topic
> Reply
< Esato Forum Index > Sony Ericsson / Sony > Technical > WAP Development Questions... Bookmark topic
Page <  12

Supa_Fly Posts: > 500

Ooops?!

Say BobbyT, do you have any experience using PHP along with APACHE and XML? Or does anyone else?? Im trying to find out if I can serve a website that'll allow SyncML (based on XML) for WAP and synchronization on a Apple OS X (Jaguar) terminal. ANy help would be appreciated thanks.

--
Posted: 2002-11-02 08:07:00
Edit : Quote

BobbyT Posts: 37

I have very minimal experience with XML. I am learning Microsoft .NET which I know at some point will include it. I use mac OS X on my own computer but I do not have the apache web server activated, so I have no experience with much of anything though it. My web site is hosted by another company, I just upload it, all the server configuration is done on their end....
--
Posted: 2002-11-02 08:40:00
Edit : Quote

BobbyT Posts: 37

Woohoo! I found it...

#!/usr/bin/perl
$temp = $ENV{'HTTP_ACCEPT'};
print "Content-type: text/html\n\n";
print "result: ";
if( $temp =~ s/ /wap/g ) {
print "yes";
}
end;

I found the env variable $ENV{'HTTP_ACCEPT'} includes several strings, some of which include "wap". In a normal broswer this is not the case (I find in my version of IE I end up with just "*/*" and nothing else). This will allow me to direct a wap device differently than a normal web browser!!!
--
Posted: 2002-11-02 08:46:00
Edit : Quote

Supa_Fly Posts: > 500

Amazing! Thanks BobbyT. Even though i dont know Perl, the fact that you found it on a Mac OS X gives me hope. This post was posted from a T39
--
Posted: 2002-11-02 09:51:00
Edit : Quote

arnoldc Posts: > 500

@orangeman, i have PM for you.

for those using Unix as the platform, XHTML is still the easiest way, or WAP 1.x is you so desired. Just make sure the necessary MIME types are enabled. But for dynamic pages, PHP it is.
--
Posted: 2002-11-02 09:58:00
Edit : Quote

Supa_Fly Posts: > 500

Arnoldc, thanks as ur advice is a second step 2wards what im getting at. PHP 4 dynamic forums,with XML Schema 4 syncml phone book and calender sync. And Unix 2 host all directly with static ip address. This is my newbie programmers goal! This post was posted from a T39
--
Posted: 2002-11-02 10:17:00
Edit : Quote

wapchimp Posts: > 500

perhaps someone here can write a good web site for budding wml/xhtml writers - there are no good sites that I have found - there is loads of html info though - maybe we can all share ideas & work on it - start a wap revolution - If I ever get my site working.....
--
Posted: 2002-11-02 12:33:00
Edit : Quote

Cytech Posts: > 500


WAP/WML tutorials, guides, codes, tips etc....
http://www.w3schools.com/wap/default.asp
http://www.tripod.lycos.nl/webmaster/topics/technic/wap/index.phtml
http://www.el.com/elinks/wap/



--
Posted: 2002-11-02 12:44:00
Edit : Quote

wapchimp Posts: > 500

thanx Cytech
--
Posted: 2002-11-02 18:26:00
Edit : Quote
Page <  12

New Topic   Reply
Forum Index

Esato home