can i handle a specific attachment differently?
to keep it simple, let's say i add a "log" extension to my attachments list.
when a user attache a .log file, i want to use PHP to parse the log and present it neatly inline.
i have all the PHP code written to handle the logs.. i just need to hook into the attachment like vbulletin does for images.
any insight or pointing me in the right direction would be much appreciated.
|