--- On Tue, 10/13/09, Syed Rajib Rahman <srajib_2003@ yahoo.com> wrote:
From: Syed Rajib Rahman <srajib_2003@ yahoo.com> Subject: [phpXperts] need cakephp file upload help urgently!!!! To: phpexperts@yahoogro ups.com Date: Tuesday, October 13, 2009, 12:53 AM
I want to upload image using cakephp.
I am using real path to upload the file. but its not workiing for real IP. $uploaddir =realpath('. ./webroot/ img/album/ '); $uploadfile = $uploaddir.DIRECTOR Y_SEPARATOR. $this->data['Album' ]['image' ]['name'] ;
It show local address. but i want to upload it into real IP.
please give me idea.
Your message has been successfully submitted and would be delivered to recipients shortly.
Changes have not been saved
Press OK to abandon changes or Cancel to continue editing
Your browser is not supported
Kindly note that Groups does not support 7.0 or earlier versions of Internet Explorer.
We recommend upgrading to the latest Internet Explorer, Google Chrome, or Firefox. If you are using IE 9 or later, make sure you turn off Compatibility View.