Anees wrote:
> 
> 
> $fh = fopen($name,'w') or die("can't open file");
> fwrite($fh,$content);
> fclose($fh);
> 

Hi
there was a mistake where i used fopen.
I given the saving location as $sitename."/dir".$filename
instead
$_server['DOCUMENT_ROOT']."/dir/".$filename

Thanks

again
i am looking for native methods from Zend to manage file related operations.


Anees
-- 
View this message in context: 
http://www.nabble.com/How-to-store-attachment-files-into-a-location-in-server-tp20732847p20744033.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to