<<$a = explode (' ', shell_exec ("ls $foldername/*.html"));>>
Didn't know of shell_exec() until now. It works, though. Thanks! Is there any reason why it wouldn't work? If I changed servers, say, and there were some ports blocked and etc. etc., is there a risk that I should know? --------------------------------- Do you Yahoo!? U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD