Hi,
I've just installed php on IIS 5.1 on my Windows XP, but apparently I can't transfer variables between scripts... It doesn't seem to remember the vars :|
I don't know If its a problem with ISS or with PHP, does anyone know what setting or something needs to be done for it to work?
Here's a small script that works on my "FREE" webspace but not on ISS:
I've just installed php on IIS 5.1 on my Windows XP, but apparently I can't transfer variables between scripts... It doesn't seem to remember the vars :|
I don't know If its a problem with ISS or with PHP, does anyone know what setting or something needs to be done for it to work?
Here's a small script that works on my "FREE" webspace but not on ISS:
Code:
<?php
print("<HTML><BODY>");
If (!IsSet($name))
{
print("<FORM METHOD=POST ACTION=$SCRIPT_NAME><INPUT TYPE=TEXT name='name'><INPUT TYPE=SUBMIT></FORM>");
}
else
{
print("Your name is $name");
}
print("</BODY></HTML>");
?>
[\code]
It's very simple and WORKS on my providers-space but not on my ISS... Anyone a clue about this?
Thanx in advance !!
math