Location: PHPKode > projects > FeedMeLinks, Social BookmarkingSince2002 > tags-as-js.php
<%
	include_once( "modules/utils.inc.php" );

	$tok =  $_COOKIE["c_pass_token"];
	$u   =  $_COOKIE["c_uid"];
	$sessionUserId = $u;

	Header( "Content-type: application/x-javascript");

if( $tok && $tok == md5( getPasswdForUser( $u ))) {

%>
var loggedIn = true;

var taglist = Array();
<%
		$mode = "js";
		include( "$modules/folder-list.inc.php" );
} else {
	echo "var loggedIn = false;";
}
%>


Return current item: FeedMeLinks, Social BookmarkingSince2002