Cannot copy a file to a dynamic folder

From: Date: Tue, 17 Jul 2001 22:27:49 +0000
Subject: Cannot copy a file to a dynamic folder
Groups: php.general 
Request: Send a blank email to php-general+get-58347@lists.php.net to get a copy of this message
I get a parse error every time and I've modified the scripts a bunch of times already. // Make new directory function $default_dir = ("D:\www\Proj\$textfield2\"); if(file_exists($default_dir)) rmdir($default_dir); mkdir($default_dir, 0777); // Copy template.html to new directory $filename = D:Automator\auto_2\Template.html; copy($filename, ($default_dir) .overview.html); Can I not have these two scripts run together? The mkdir function alone works. Can someone tell me what I'm doing wrong? Thank you.

« previous php.general (#58347) next »