Well, as a general rule, it won't work if you're not using a UNIX o/s or
if PHP has been set up with safe mode on, or if you don't have the right
permission to see that folder. That's probably a non-inclusive list, but
there should be ways around each of these problems (depending on the
degree of control you have over the server).


Marco

-------------
php|architect -- The Monthly Magazine For PHP Professionals
Come visit us on the web at http://www.phparch.com!


 On Fri, 2002-11-08 at 11:14, Mako Shark wrote:
> 
> <<$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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to