Quote: |
If the external application is a web app you can use a cookie to pass the login information to the forum.
|
Can you eloborate on this? It doesn't seem to follow from the content of cookies.inc.t.
In the meantime, there is another possible approach, just generate an invisible form and submit it using JavaScript:
<html>
<body>
<form action='/path/to/fud/index.php?t=login' method='post' name='frm'>
<?php
echo "<input type='hidden' name='quick_login' value='" . $username . "'>";
echo "<input type='hidden' name='quick_password' value='" . $passwd . "'>";
?>
</form>
<script language="JavaScript">
document.frm.submit();
</script>
</body>
</html>
Maybe not as clean as setting the right cookie(s), but certainly easy to understand and implement.