Jump to content

pnutUUM

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

pnutUUM's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. [!--quoteo(post=351009:date=Mar 2 2006, 11:37 AM:name=grim1208)--][div class=\'quotetop\']QUOTE(grim1208 @ Mar 2 2006, 11:37 AM) [snapback]351009[/snapback][/div][div class=\'quotemain\'][!--quotec--] Have you tested this online through your ftp or is this a local host error? What are you using for local host? Apache or IIES I ask this because I setup dozens of mail() source code, and I can't get it to work locally, it might be something with php.ini but I think it's just wether or not th feature comes with the localhost. (probably wrong :P) But when I test this online (just have the email go to me during testing) it works perfect on all the servers I have ever put it on. Let me know, also I have a little better script I could give you for the email. Let me know [/quote] sadly telling you that the coding does nt work even when i used online...i don't know what to do...can u help me?
  2. [!--quoteo(post=351009:date=Mar 2 2006, 11:37 AM:name=grim1208)--][div class=\'quotetop\']QUOTE(grim1208 @ Mar 2 2006, 11:37 AM) [snapback]351009[/snapback][/div][div class=\'quotemain\'][!--quotec--] Have you tested this online through your ftp or is this a local host error? What are you using for local host? Apache or IIES I ask this because I setup dozens of mail() source code, and I can't get it to work locally, it might be something with php.ini but I think it's just wether or not th feature comes with the localhost. (probably wrong :P) But when I test this online (just have the email go to me during testing) it works perfect on all the servers I have ever put it on. Let me know, also I have a little better script I could give you for the email. Let me know [/quote] thanks for your attention...i'm so glad that someone has replied me...hehehe... i used the coding in the localhost..using apache... so,i think that was the problem... so, i'll try using it online and i'll tell u later if it works... regards, shafinah
  3. hello, i just want to know how can i read content from a file to be used as the input to be saved in the database... what i want to do is to read a text file containing student's matric number and their names. the user only have to browse the location of the file to register students. then the matric numbers and names will be added to the database....so,no need to register students one by one...can anybody help me?
  4. i've tried the code as below, but there's an error,saying [b]"Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in c:\program files\easyphp1-7\www\project\frgtpswd.php on line 27[/b].i have no idea to set the php.ini...please help me.. $email = "whoever@yourmailing.com"; $subject = "Subject!"; $body = "whatever you want to email"; $from = "From: Emailers Name <email@address.com>"; mail($email,$subject,$body,$from);
×
×
  • 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.