Humm... I removed the code and field then redid them again and now the <?php echo ; ?> does not appear, so that side seems to be sorted.
Unfortunately the variables do not seem to get passed on, or rather they do but.... I will explain:
I have added an include to the top of the login.php page;
Code: Select all
if(phpversion() >= "4.2.0") {
extract($_POST);
extract($_GET);
}
echo "UN=$userName<br />PW = $userPassword<br />"; // E1
include ($pathї'path_to_public_folder'] . $phpfolderї'phpfolder'] . "/inc.login.php");
echo "UN=$userName<br />PW = $userPassword<br />"; // E3
In this inc.login.php script I have placed the following:
Code: Select all
<?php
echo "UN=$userName<br />PW = $userPassword"; // E2
?>
Now the echos in E1 & E3 print out the values but E2 in the inc.login.php script shows these values as being empty (UN= PW= ), what gives here?, shurly the variable values in that script should be as they are set and not empty?
Thanks