Location: PHPKode > projects > FeedMeLinks, Social BookmarkingSince2002 > testing/can-see-category.php
<%
	include_once( "../modules/utils.inc.php" );
	$tok =  $authenticated = $_COOKIE["c_pass_token"];
	$u   =  $sessionUserId = $_COOKIE["c_uid"];
	$id = $id ? $id : 17255;
%>

<form>
user <input name="user" value="<%= $user %>"/> 
can see category <input name="cat" value="<%= $cat %>"/><br />
<input type="submit"/><br />
<p>
answer: <b><%= canSeeCategory( $cat, $user ) ? "YES" : "NO" %>...?<br />
</p>

</form>
Return current item: FeedMeLinks, Social BookmarkingSince2002