Anvilon
Eric | Links | Kids | Talks | Software | Contact
Mason 2
First page Back Continue Last page Overview Graphics

Mason Code (2/2)

  • 19 <html><head><title>ReallyShort.com</title> 20 <link rel="stylesheet" href="/css/site.css" type="text/css" /> 21 </head><body> 22 % if ( $short_url ) { 23 <p> 24 The ReallyShort URL: <a href="<% $short_url %>"><% $short_url %></a> 25 <p> 26 will redirect to: <% $long_url %> 27 <p> 28 <a href="/">Another</a> 29 % } else { 30 <form> 31 Long URL: <input name="long_url" size="50"> 32 <input type="submit" value="Make ReallyShort""> 33 </form> 34 % } 35 </body></html>

Copyright ©1998-2008
Eric Hammond
Credits