I am using php answers script (yahoo answers clone) but it lakes features
I want to add function"auto email when new answers is submitted" BY editing the script php files.*
I found the files to edit. But how to do that?
In the existing PHP code find the function or source that deals with a "new user being submitted", maybe it updates a database or something with the user name/password and profile. Follow the source until that process is completed, usually at the end of a function. In there add in the PHP code to send the email, i.e. it could be another function you write or an included file, whatever. You basically need to trace your code to see where to insert the mail stuff.
Here is information on how to send email in PHP:
Last edited by SrWebDeveloper; 09-09-2010 at 01:55 PM.
Reason: long link, jeeeze. fixed.
Jim, Sr. Web Developer
You know who you real friends are when you ask them to move your furniture or paint.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)