Sorry for not using explode and using split… Also file vs file_get_contents. I wrote this in my early days of php3 programming where the explode function did not exist. Also file returns an array and file_get_contents returns string so I figured that using file_get_contents then using a string manipulating function would suffice… I should update the code since split is now deprecated as of php 5.3… |