Jump to content

Archived

This topic is now archived and is closed to further replies.

straygrey

Server Sides Includes in PHP

Recommended Posts

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?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.