|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
PHP trouble with WAP site
hi, i got a problem with some code, its only test code but on my phone simular "openwave" it dont seem to load up. no erro comes up its just dont do anything.
hers mt code <?php header("Content-type:text/vnd.wap.xhtml+xml"); echo(<?xml version="1.0"?>); print(<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">); echo(<html xmlns="http://www.w3.org/1999/xhtml">); ?> <head> <title>Test</title> </head> <body> <?php echo "hello"; ?> </body> </html> i dont know if the top bit where the dtd is and all that stuff is right. when i just make a normal xhtml file with no php it works fine, but i need to use php for a project, and it dont even seem to do a little operation like echo, i dont know whether its the code or not. can anyone have a look at it please see if they know. thanks |
|
#2
|
||||
|
||||
|
PHP Code:
Run it through anything that can synatx highlight - you will see your problem.
__________________
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. __________________ |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > PHP trouble with WAP site |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|