Problems with a PHP/mySQL site on Windows Mobile 2003
Posted: Wed Apr 27, 2005 7:05 am
Hello,
We have a data driven app in PHP for internal use of our company and encountered a weird behavior when accesing the sections from a PocketPC running Windows Mobile 2003.
Here is a test sample:
When user writes text in the second text box and presses OK, it goes well, and the URL returned is "http://localhost/test.php?in=2005-01-01&sbmit=OK", but at a second attempt, you'll see the variables don't change anymore and the URL is "http://localhost/test.php?in=2005-01-01 ... 1&sbmit=OK"
I don't have much PHP knowledge, but a heavy background on database development using MS products (i know...
), so if someone bumped into this and found an explanation, please reply.
Thanks all
d11wtq | Please read the sticky about posting code in the forums
We have a data driven app in PHP for internal use of our company and encountered a weird behavior when accesing the sections from a PocketPC running Windows Mobile 2003.
Here is a test sample:
Code: Select all
<?php session_start(); ?>
<HTML>
<HEAD>
</HEAD>
<BODY bgcolor='#f0f7ff'>
<?php
global $otherdate, $currentdate;
$currentdate = date('Y-m-d');
if (isset($in)) {$otherdate=$in;}
echo "<form>Current date: $currentdate <br>";
echo "Other date: $otherdate <br>";
echo "<input type=text size=10 name=in value=$in>";
echo "<input type=submit name=sbmit value='OK'>";
echo "</form>";
?>
</BODY>
</HTML>I don't have much PHP knowledge, but a heavy background on database development using MS products (i know...
Thanks all
d11wtq | Please read the sticky about posting code in the forums