[jboss-user] [Beginners Corner] - JBoss 4.2.2.GA with PHP servlet - POST params not found wit

gkincade do-not-reply at jboss.com
Mon Jun 23 11:35:25 EDT 2008


We're running JBoss 4.2.2.GA on Windows XP with the PHP 5 servlet set. PHP 5.1.6 is installed for compatibility with the servlet.

We have two .php pages, one calling the next via a complex Javascript script. The second page is called with the POST method and parameters are passed so that when it runs, it accesses the parameters using $_POST and passes them into a dynamic MySQL SELECT which returns the data.

This works under Apache reasonably well (i.e. the $_POST's work).

But under JBoss, the parameters are being set up and we can see them in the  JBoss console but the $_POST's all fail with messages like: 

PHP Notice:  Undefined index:  page in C:\jboss-4.2.2.GA\server\default\deploy\post2.php on line 26

I've seen lots of posts elsewhere on other PHP forums about problems with  $_POST and array corruption.

Is this likley to be the problem and if so how can we get round it (I note the Linux PHP servlets are more up to date than the Windows ones on the download section).

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159977#4159977

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159977



More information about the jboss-user mailing list