cell-phone HTML form using post method
Nicolas Cueto
niconiko at gmail.com
Wed Jul 22 22:59:42 EDT 2009
Well, after a looong day experimenting and learning more than I wanted
about not only WML but also PHP, here's what I've uncovered about
submitting and receiving POST data from a FORM webpage with irev, WML
and PHP.
In essence...
What doesn't work:
irev code --> irev code
WML code --> irev code
What works oddly:
WML code --> PHP code
What does work:
irev code --> PHP code
[ Explanation:
For example, " irev code --> irev code" means (1) the cellphone
submits POST data using a <?rev FORM, and (2) a <?rev script receives
the $POST array and then simply returns keys/values to the cellphone.]
The significant question for me now from all this experimenting is:
Why is it that PHP but not rev can "see" the $POST array?
With this question in mind, an answer I'm contemplating is to rely on
PHP to receive the $POST and forward it to a rev cgi script. The
archives show one hopeful thread -- "More on php and Rev cgi", started
by Jacqueline Landman Gay -- but it doesn't go into enough detail.
Could someone advise about this?
Or about why PHP bur not rev can see $POST?
Kind of at my wit's end...
Thanks
--
Nicolas Cueto
More information about the use-livecode
mailing list