php send mail script - Autoload on opening a Website.

Discussion in 'PHP' started by karthikkumar.in, Dec 26, 2009.

  1. #1
    Please help me.

    I don't have much knowledge in php.

    I have a php file abc.php. This abc.php is a php send mail script file which send a mail when the abc.php file is loaded and it will show "mail send" in the monitor screen ie the abc.php page.

    The help I need is.
    When I open a website (index.html page) the above said abc.php file should load automatically and the send mail function has to work. But the page which we see in the screen should be index.html page and not the abc.php page.

    I am not able to explain more than this. Waiting for Reply (help).

    Please provide me the complete script for the above mentioned .
     
    karthikkumar.in, Dec 26, 2009 IP
  2. chandan123

    chandan123 Prominent Member

    Messages:
    11,586
    Likes Received:
    578
    Best Answers:
    0
    Trophy Points:
    360
    #2
    you can use iframe in index.html which opens abc.php that should solve the problem
     
    chandan123, Dec 26, 2009 IP
  3. karthikkumar.in

    karthikkumar.in Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Please provide me the complete script for the above mentioned. I don't know how to use iframe. To tell the truth I don't even know what is I frame.
     
    karthikkumar.in, Dec 26, 2009 IP