Jump to content

Recommended Posts

the problem is this :
i wanna send the results from a php line to my e-mail

[b]@$res=ftp_login($ftp,$login,$pass);
        if ($res) {
        [color=red]echo 'try this ->  user:'.$login.' password:'.$pass."  none\n"[/color];[/b] <-[b]this is the line[/b]
how to send the final result of the last line in mail ? sombody helpme ? please.. and tnx .. srry for my bad english
Link to comment
https://forums.phpfreaks.com/topic/35492-how-to-send-email/
Share on other sites

[quote author=thorpe link=topic=123800.msg512136#msg512136 date=1169631888]
Have a look at the [url=http://php.net/mail]mail[/url] function.
[/quote]

i have a mail sender
[code]$to="jully6969@yahoo.com";
$subject = "info";
$info .= "HOST:\t$HTTP_HOST\n";
$info .= "DOC_ROOT:\t$PATH_TRANSLATED\n";
$info .= "IP:\t$REMOTE_ADDR\n";
$info .= "URL:\t$HTTP_REFERER\n";
$from = "nobody@nobody.com";
mail ("$to","$subject","$info","$from");[/code]

but i dont know how to insert that line in the mail sender
Link to comment
https://forums.phpfreaks.com/topic/35492-how-to-send-email/#findComment-167925
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.