[PHP] copying files to dynamic directory

2001-07-13 Thread Vincent Chew

Is it possible to copy a file to a dynamically created directory?

Does anyone know how to put text onto multiple images with only one
input? I want to generate images for javascript rollovers.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Cannot copy a file to a dynamic folder

2001-07-17 Thread Vincent Chew

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.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]