It looks like there is a problem in POST and GET arguments passing.
If I try to compile and then run web page that contains form,
I'm not able to get POST and GET parameters in PHP code.
For example let's have a page like this:
<html>
<head>
<title>Test Page</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body>
<?php echo "GET PARAM ".$HTTP_GET_VARSInputText? ?>
<?php echo "GET PARAM ".$_GETOK? ?>
<?php echo "Text_start: ".$InputText? ;?>
<form action="index.php" method="get" name="Form1">
<input name="InputText?" type="text" value="text" />
<button value="OK" onClick="document.form[0].submit()"></button>
<input name="OK" type="submit" value="OK" />
</form>
<?php echo "Text_end: ".$InputText? ;?>
</body>
I compile the PHP code like a "Online Web Application" to a FastCGI and
then I deploy a compiled web application on the Apache web server (Apatche is configurated acording to:http://code.roadsend.com/pcc-manual/Deploying-on-Apache.html#Deploying-on-Apache)
Then I'm able to run the web pages compiled to FastCGI. But there is a problem in POST and GET arguments passing. There are no values in POST and GET passed parameters.
So code:
<?php echo "GET PARAM ".$HTTP_GET_VARSInputText? ?>
<?php echo "GET PARAM ".$_GETOK? ?>
<?php echo "Text_start: ".$InputText? ;?>
writes only:
GET PARAM GET PARAMText_start:
Even though there should be some values when I call the page with
parameters "index.php?InputText?=text&OK=OK"