I've found that it's possible to check if a user logged in with this code
Code:
if ($bbuserinfo[userid])
{
// CODE TO EXECUTE IF USER IS LOGGED IN
}
On my (currently Snitz) board we have a function that allow users to download files (not from the forum but from the site)
I need help how to change this pice of ASP code into PHP so I can put it on the above posted code.
Code:
<%
strFile2Show = Request.QueryString("asset")
Response.Redirect "../DOWNLOADS/" & strFile2Show
%>
Thanks
/Fredrik