The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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
}
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 |
|
#2
|
|||
|
|||
|
Hi
To do this your way, which is not the best way do this! do this! PHP Code:
To do it so that you validate the request (don't do something if something does not exist) Then you would this!!! PHP Code:
Sonia |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|