Jump to content


Server Sides Includes in PHP

  • Please log in to reply
No replies to this topic

#1 straygrey

  • Members
  • PipPipPip
  • Advanced Member
  • 37 posts
  • LocationGauteng, South Africa

Posted 03 October 2006 - 12:07 PM

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?



Alf Stockton

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users