I guess, this is a PHP question, and not related to Android. On Fri, Nov 12, 2010 at 9:14 PM, Krt <[email protected]> wrote:
> Hi all, > > Android: 2.1 SDK > > I have a hello.php running on standard Linux host. (Ubuntu 9.01 with > Apache2 web server) > > In android I have a simple activity which sends HttpPost or HttpGet to > the above hello.php with some parameters in URL. > Irrespective of HttpPost or HttpGet in my php always $_GET has values, > $_POST is always empty. > > How do I know in PHP if it was a post , get,put or a delete? > $_REQUEST['REQUEST_METHOD'] is also always empty in my php. > > Appreciate any input. > > Thanks and Regards, > Krt > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

