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 > > ( >

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
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 sem

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 c

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 v

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 ---

[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 --- #!/usr/lo

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?

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 'tweaking

[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 PROTECT