[PHP] Re: php script running as a cgi

2006-01-16 Thread zedleon
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]

Re: [PHP] Re: php script running as a cgi

2006-01-16 Thread John Nichel
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

Re: [PHP] Re: php script running as a cgi

2006-01-16 Thread Adi
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

[PHP] Re: php script running as a cgi

2006-01-16 Thread zedleon
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 ---

Re: [PHP] Re: php script running as a cgi

2006-01-16 Thread John Nichel
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

Re: [PHP] Re: php script running as a cgi

2006-01-16 Thread zedleon
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

Re: [PHP] Re: php script running as a cgi

2006-01-16 Thread John Nichel
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

Re: [PHP] Re: php script running as a cgi

2006-01-16 Thread zedleon
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

Re: [PHP] Re: php script running as a cgi

2006-01-16 Thread John Nichel
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

Re: [PHP] Re: php script running as a cgi

2006-01-16 Thread zedleon
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