Another way to create a unique ID is to prepend the derived value with a string:
<? $uniq_id = uniqid("php", TRUE); print $uniq_id; ?>