straygrey Posted October 3, 2006 Share Posted October 3, 2006 I am using $_SESSION["usrname"]=$_POST["username"] construct to set $_SESSION variables.My question is that the SSI variables are not getting displayed in php scripts and the $_SESSION data is not appearing in shtml even though I am attempting to use php within the shtml to retrieve same.The $_SESSION data works fine in php scripts called *.php and the server side includes(SSI) works fine in shtml pages called *.shtml but not vice versa.....:-(What have I forgotten to do to get both php and shtml to work the way I want? Link to comment https://forums.phpfreaks.com/topic/22858-server-sides-includes-in-php/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.