Puoi usare:

http://www.php.net/dio

oppure

http://www.php.net/fopen etc.