Am 14.09.2005 um 15:40 schrieb Derick Rethans:

<?php
$filename = sprintf('%s.%s', md5(uniqid(rand(), true)), array_pop (explode('.', $name)));
echo $filename;

D'oh - I see it. My ISP changed the PHP version once again. It's now PHP 5.0.5. I'm very very sorry for the confusion.

A.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to