Projects Directory : CURL rewrite in php - curl script to login, fill in a form and logoff with website