Setting a users vacation message through the api

I've been busy working on this today and figured that others may benefit from what I've done. I've written some php using l0rdphi1's php class (nice one btw!!) to log in an email user and allow them to set their own vacation message. It's still a work in progress and needs the modification / delete sections added, but you'll get the jist.

I hope this helps!!

The HTML Logon Form:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Verify Users Email Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body><center><br><br>
<form action="login.php" method="post">
<table width="70%" border="0">
<tr>
<td width="21%">Full Email Address:</td>
<td width="54%"><input name="email" type="text" size="64" maxlength="64"></td>
<td width="25%">(e.g. user@domain.com) </td>
</tr>
<tr>
<td>Password: </td>
<td><input type="password" name="passwd"></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input name="submit" type="submit" value="Login"></td>
<td>&nbsp;</td>
</tr>
</table>
</form>
</center>
</body>
</html> 
 
config/setting.txt · Last modified: 2010/03/01 19:32 by muscardin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Please visit Automatic Backlinks to start earning free backlinks Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki