php send mail script - Autoload on opening a Website.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kumaar
Forum Newbie
Posts: 1
Joined: Sat Dec 26, 2009 6:54 am

php send mail script - Autoload on opening a Website.

Post by kumaar »

Hi I am new to this forum. I need a small help.
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 .
User avatar
omniuni
Forum Regular
Posts: 738
Joined: Tue Jul 15, 2008 10:50 pm
Location: Carolina, USA

Re: php send mail script - Autoload on opening a Website.

Post by omniuni »

Well, I can't just write your script for you, but I can help you as you write it.

Now, I can't quite understand what you're trying to do. Do you want to dispatch an email automatically and without the user knowing, or do you want them to enter data into a form and then have them send that as an email?
mellowman
Forum Commoner
Posts: 62
Joined: Sat Nov 22, 2008 5:37 pm

Re: php send mail script - Autoload on opening a Website.

Post by mellowman »

haaha you know what would be funny if it somehow sent and email via the ip...i know its near impossible but i would be funny :mrgreen:
Post Reply