[development] creating a file - path problems

Jeff Greenberg jeff at ayendesigns.com
Fri Nov 6 05:57:37 UTC 2009


Actually, it's worse...I forgot $base_path (which makes a difference if 
you're drupal root is a subdirectory)... so it's

$fn = $_SERVER['DOCUMENT_ROOT'] . $base_path . $file_document_path() . 
'/myfilename';


More information about the development mailing list