Question
OT: Create a folder using PHP?
I'm trying to create a folder in PHP, and I'm using this
markup -
<?php
$dir = 'test';
echo(!mkdir('/images/'.$dir)?'Fail':'Success');
?>
Shouldn't that work (I'm hosted on Windows, but it's PHP5)?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
<?php
$dir = 'test';
echo(!mkdir('/images/'.$dir)?'Fail':'Success');
?>
Shouldn't that work (I'm hosted on Windows, but it's PHP5)?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
