PDA

View Full Version : add a conditional to this one page


zmmmzz
08-03-2008, 07:42 PM
Is there a way I can add a conditional to this page so I can customize it?

mywebsite.com/login.php?do=logout

I know I can use
<if condition="THIS_SCRIPT == login"></if>

but that includes all pages inside the login script.
How can I add changes to only that page?

Opserty
08-03-2008, 09:36 PM
<if condition="(THIS_SCRIPT == login) AND ($_REQUEST['do'] == 'logout')">

Should work.

zmmmzz
08-03-2008, 10:31 PM
thanks so much Opserty!!!!