![]() |
Execute two job when post
Hi everyone;
I want to code a part of my project, i aim to give it this functionality: When i execute informations in <input .. > ( I mean when He/She press the "Submit" button) at the same time, i want to execute the function sendmail() too. How i do this. Thanks |
well i have a similar script to what you are probably asking of... when a user uploads a file to the server i have it send me an e mail to tell me there has been a file put on the system.
just drop an e mail script at the bottom.. PHP Code:
Thats just an example of my e mail message that should be sent.. my full layout is PHP Code:
|
Thanks for Links. It will help me with i aim to do. I will share my codes after i did it. And yeah also if i can't i will be back here :)
|
Hi;
Because my new question was related to this topic i asked here; I want to mail members at a specific time of the day or night. How can i check. Thanks |
Your best bet is to look into creating a cron job. You can run a script on your web site that will emulate this by checking the time and performing the specified task if it is or is past a specific time, however you're then adding the overhead to each and every visitor of your web site.
|
| All times are GMT. The time now is 11:24 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0