Re: Wildcard search

From: Date: Fri, 08 Nov 2002 16:07:31 +0000
Subject: Re: Wildcard search
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-123408@lists.php.net to get a copy of this message
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

« previous php.general (#123408) next »