I have the same problem with one computer I have set up; all my other machines work as expected - php recognizes the variables. On the machine I am having problems with, the only way I can get the variables (or cookies) is to use this type statement :
$formvar = $HTTP_POST_VARS['formvar];
where formvar is the name of the variable you are passing from the form.
(if GET or cookie, $HTTP_GET_VARS[] or $HHTP_COOKIE_VARS[]).
This machine is being used in a classroom where php is going to be taught.
I would like to know what is wrong with this set up and get it to work the "normal" way. The machine is Windows 2000 PRO with IIS 5.0. SP3 I believe is the service pack level. I just downloaded the most current php bin for windows so that is up-to-date.
I have another W2K Pro machine working fine with the same set up but I did the
complete install there, in this case I was only asked to add the scripting languages. I did everything I normally do including the IIS settings.
Does anyone have any thoughts on what I've misconfigured?
Webmaitre wrote:
Hello,
I have a problem and I cannot find the answer. Please help me.
I have a HTML-form page with a variable in it. I try to take this variable into my php script (that is between <form> and </form> but it doesn't work. The variable is not recognized by my php. Can you please tell me how I can take a variable into my php-script?
Regards,
Roland.