Click here to Skip to main content
15,867,568 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
AnswerRe: how can I bound execution of sql query on button click action ? Pin
abushahin28-Dec-09 7:35
abushahin28-Dec-09 7:35 
QuestionExtend PHPMyAdmin Token Pin
Marc Firth30-Nov-09 0:42
Marc Firth30-Nov-09 0:42 
AnswerRe: Extend PHPMyAdmin Token Pin
Marc Firth9-Dec-09 23:17
Marc Firth9-Dec-09 23:17 
AnswerRe: Extend PHPMyAdmin Token Pin
kpkammer24-Mar-10 4:59
kpkammer24-Mar-10 4:59 
GeneralRe: Extend PHPMyAdmin Token Pin
Marc Firth7-Apr-10 2:29
Marc Firth7-Apr-10 2:29 
QuestionHow can I send e-mail with gmail account Pin
hande5429-Nov-09 23:34
hande5429-Nov-09 23:34 
AnswerRe: How can I send e-mail with gmail account Pin
Marc Firth30-Nov-09 0:48
Marc Firth30-Nov-09 0:48 
AnswerRe: How can I send e-mail with gmail account Pin
Marc Firth30-Nov-09 0:50
Marc Firth30-Nov-09 0:50 
using pear:

<?php
require_once "Mail.php";

$from = "Sandra Sender <sender@example.com>";
$to = "Ramona Recipient <recipient@example.com>";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";

// stick your GMAIL SMTP info here! ------------------------------
$host = "mail.example.com";
$username = "smtp_username";
$password = "smtp_password";
// --------------------------------------------------------------

$headers = array ('From' => $from,
  'To' => $to,
  'Subject' => $subject);
$smtp = Mail::factory('smtp',
  array ('host' => $host,
    'auth' => true,
    'username' => $username,
    'password' => $password));

$mail = $smtp->send($to, $headers, $body);

if (PEAR::isError($mail)) {
  echo("<p>" . $mail->getMessage() . "</p>");
 } else {
  echo("<p>Message successfully sent!</p>");
 }
?>


from about.com


GeneralRe: How can I send e-mail with gmail account Pin
hande5430-Nov-09 7:07
hande5430-Nov-09 7:07 
Questionopencv in codeblocks - compile error Pin
__erfan__29-Nov-09 21:37
__erfan__29-Nov-09 21:37 
GeneralRe: opencv in codeblocks - compile error Pin
Richard MacCutchan1-Dec-09 2:25
mveRichard MacCutchan1-Dec-09 2:25 
Questionneed a complete and free file manager Pin
Mehdi Ghiasi27-Nov-09 8:43
Mehdi Ghiasi27-Nov-09 8:43 
AnswerRe: need a complete and free file manager Pin
cjoki27-Nov-09 10:36
cjoki27-Nov-09 10:36 
GeneralRe: need a complete and free file manager Pin
Mehdi Ghiasi28-Nov-09 19:21
Mehdi Ghiasi28-Nov-09 19:21 
GeneralRe: need a complete and free file manager Pin
Marc Firth29-Nov-09 22:55
Marc Firth29-Nov-09 22:55 
GeneralRe: need a complete and free file manager Pin
cjoki30-Nov-09 4:43
cjoki30-Nov-09 4:43 
QuestionNew Lang ? Pin
SRJ9226-Nov-09 13:52
SRJ9226-Nov-09 13:52 
AnswerRe: New Lang ? Pin
Eddy Vluggen27-Nov-09 1:07
professionalEddy Vluggen27-Nov-09 1:07 
AnswerRe: New Lang ? Pin
cjoki27-Nov-09 10:31
cjoki27-Nov-09 10:31 
AnswerRe: New Lang ? Pin
Marc Firth29-Nov-09 22:02
Marc Firth29-Nov-09 22:02 
AnswerRe: New Lang ? Pin
abushahin7-Dec-09 2:28
abushahin7-Dec-09 2:28 
AnswerRe: New Lang ? Pin
Dr.Walt Fair, PE14-Dec-09 14:44
professionalDr.Walt Fair, PE14-Dec-09 14:44 
Questionstr_replace vs hebrevc Pin
Quiltfish26-Nov-09 9:01
Quiltfish26-Nov-09 9:01 
AnswerRe: str_replace vs hebrevc Pin
fly90426-Nov-09 9:17
fly90426-Nov-09 9:17 
AnswerRe: str_replace vs hebrevc Pin
Luc Pattyn26-Nov-09 9:22
sitebuilderLuc Pattyn26-Nov-09 9:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.