>>>> I am searching (and developing) a virtual classroom in php /postgresql, that let the teacher´s at least upload some files and the files to be indexed, with the upload date, some comments.
I don't know of any virtual classroom software that use both php and postgresql. You should take a look at dotLRN which uses PostgreSQL, TCL, and AOLserver. dotLRN is being used by MIT's business school.