Let me ask this...
What is the proper way to configure a php script to run as a cgi?
What items need to be included (i.e. header info, content type, etc ) for
the cgi
to find the variables sent from the html form?
anybody?
zed
zedleon [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
zedleon wrote:
Let me ask this...
What is the proper way to configure a php script to run as a cgi?
What items need to be included (i.e. header info, content type, etc ) for
the cgi
to find the variables sent from the html form?
anybody?
POST/GET variables will work without any added
check to make sure you are allowing globals to be accessed in your
php.ini.make sure you are accessing the post/get vars correctly
On 1/16/06, John Nichel [EMAIL PROTECTED] wrote:
zedleon wrote:
Let me ask this...
What is the proper way to configure a php script to run as a cgi?
What
here is the php code i am using as a cgi in the cgi-bin
This form executes fine, just doesn't get the variables for the form.
simple test form at:
http://www.passeycorp.com/gnupg.php
thanks for the feedback.
zed
---
zedleon wrote:
here is the php code i am using as a cgi in the cgi-bin
This form executes fine, just doesn't get the variables for the form.
simple test form at:
http://www.passeycorp.com/gnupg.php
thanks for the feedback.
zed
I am getting a parse error, unexpected T_VARIABLE
you would think this would be easy.
zed
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
zedleon wrote:
here is the php code i am using as a cgi in the cgi-bin
This form executes fine, just doesn't get the variables
zedleon wrote:
I am getting a parse error, unexpected T_VARIABLE
you would think this would be easy.
Did you put the semi-colon at the end of the line?
zed
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
zedleon wrote:
here is the php code i am using as a cgi
Thank you -- brain freeze..
I am getting emply results from print_r
Array
(
)
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
zedleon wrote:
I am getting a parse error, unexpected T_VARIABLE
you would think this would be easy.
Did you put the semi-colon at
zedleon wrote:
Thank you -- brain freeze..
I am getting emply results from print_r
Array
(
)
Don't know what to tell you then. I tried you script on a cgi box here,
and the post variables came thru fine. Only difference I noticed is
that in your path to the script, you're running thru a
Thanks for the help John...That's more information than I had before..
I will keep working at it..
Zed
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
zedleon wrote:
Thank you -- brain freeze..
I am getting emply results from print_r
Array
(
)
Don't know
10 matches
Mail list logo