Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails
echo $this->Form->input('file', array('type' => 'file')); echo "<BR/>"; echo $this->Form->input('message', array('label' => 'Message' )); echo $this->Form->submit('Send', array('name'=>'send')); echo $this->Form->end(); ?>
$data=$this->request->data; $tmp=$data['Myemail']['file']['tmp_name']; //tmp_name of file after uploaded $tmp2=$data['Myemail']['file']['name']; //name of uploaded file rename($tmp, $tmp2); //doesnt work $message=$data['Myemail']['message']; $Email = new CakeEmail(); $Email->config('gmail2'); $email@example.com'; $Email->from( array('firstname.lastname@example.org' => 'Aptutoring')); $Email->to($to); $Email->subject('Hello'); $Email->attachments($tmp); //I want the attachment name and not the tmp_name $Email->send($message);
|Scrolling the scrollbar in a list in html||9||33|
|PHP Script - Am I missing anything here?||8||39|
|Codiing Non-Existent Links||4||30|
|SQL error: "expression of non-boolean type specified in a context where a condition is expected, near 'WHERE'"||6||36|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
13 Experts available now in Live!