From: Raymond Scheeren Date: 2009-07-08T07:30:25+09:00 Subject: help convert php code to eruby Hi, I want to convert my site from php to eruby(no rails). I'm really new to ruby and need some help. The most trival php code i use in my web-page is to use php for password protect my pages. Can someone help me to convert this php code to use eruby -> rhtml? I use the following php code to password protect my pages (with php session var): config.php ---------- common.php ---------- login.php ---------






index.php ---------

It works!

testpage.php ------------

It works2!

-- Posted via http://www.ruby-forum.com/.