Re: Creating a directory

From: Date: Fri, 12 Nov 2004 17:12:30 +0000
Subject: Re: Creating a directory
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-201831@lists.php.net to get a copy of this message
On Friday 12 November 2004 08:54, Danny Brow wrote: > What's the best way to create a directory with PHP, I tried using: > > if (array_exists('dir',$_POST)) { > $dir_name = test123; I'm 99% sure you mean 'test123'. > shell_exec('mkdir $dir_name'); I'm 100% sure you meant to use " instead of '. > } else { > print "Get get some coffee!"; I'm 50% sure that should be print "RTFM". -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* I like your SNOOPY POSTER!! */

« previous php.general (#201831) next »