Ok Guys Im Making A Music Website, To Prevent Leeching, When Admin Upload A new Music File (.rm) It gets A Random Name Like 8544211 With no Extension and
When user Wan't To Hear That File He Will Go To Music.php and There Ive Embedded Real Player Activex Component But It Won't Play the File Cuz It Only Accepts The File With Extensions like .ram *.rm so Ive Came Up With An Idea When User Want's To Hear The Music The Files Is Copied To ./tmp/ Dir With Random Name + Extension But The Problem Arises That How Do I Delete The TMP File When USers Exit Can I Do It With Sesssion ?
btw my host don't support Cron Jobs 😉