PHP - Php Lead Distribution
Hi All,
I want to put together a process where by I distribute leads to a number of users but I am not sure where to start. If possible, could someone please let me know what I should be:
1. Searching for, or
2. Help with a possible solution script.
The basic principle is that I had a table with +/- 1,000 leads (This number can vary from day to day). Everyday I have +/- 20 people available to work through the leads. I would like to distribute these leads to each of the users, based on availability.
So in the morning, every person is given their first lead.
When changing the status of the lead they are then given the next lead. They will only be able to get a new lead once they have had some kind of action on the lead.
The lead may be set to a call back, and therefore, an agent needs to be able to go back into a lead they have worked on to complete it at a later stage.
Any guidance here would be appreciated.
Similar TutorialsHello,
Is anybody aware of a statistical function in PHP which returns the inverse of the normal cumulative distribution, given a probability, mean and standard deviation as inputs? Thank you. Title: Software Developer Support Lead
About Us:
We are a small, rapidly growing software company based in Wilmington, NC. Our mission is simple: help companies, cities, and school systems save money in bulk fuel acquisition and managing their fleets of vehicles. We are in the fuel industry and we want transparency. We have a diligent, diverse team, which enjoys challenges and the joy of extracting our best in our daily work life.
Who We Are Seeking:
A charismatic individual to serve as a first line of defense for our software team's most valuable product. Ideally you would be happiest when making others happy, especially as it relates to solving elusive problems in code, or logic in a large, web application. If you have high expectations of your work, and that of others, and seek to solve problems at their core, this will be a good fit for you. We strive to deal with difficult problems today so that tomorrow will be a better place.
About The Position:
You will be the primary point of contact between our Operations and Development teams--this means you will have to help refine problems, research code, develop and apply rock-solid solutions, and work well with others in the process. In short, you will be coding, but you will also plan, weighing many potential outcomes, and test the result. You will need to know Linux, MVC frameworks, PHP, MSSQL/MySQL and have a desire to learn: both about technology and from our experiences.
General:
B.S. in Computer Science, or comparable
comfortable in PHP, MySQL/MSSQL, Javascript, jQuery
familiarity with any web framework (Yii experience preferred)
excellent communication skills
explain what is on your mind: with words, pictures, metaphors, UML, etc.
1 or more years of experience desired
Helpful Characteristics:
daily user of Linux (Arch, Fedora, CentOS, for example)
familiarity with vim, tmux
personality traits which would be helpful
methodical in nature
willingness to learn
desire to please
re-enforcing standards, rather than "just get the job done"
ability to work with a team
"Pair Programming" is a daily practice
regular code reviews
group project planning
plan first, act later
asking questions is considered a strength
highly communicative in nature
work with Operations Team to refine the actual problem
determine the source of the problem
propose solution to Software Architect
implement a solution
Please email résumé and cover sheet to development@goenergies.com.
Hi, I'm trying to setup a quick PHP script that will grab the email from the url (see below) and after inserting into MySQL db - which is working fine - the script will complete two additional tasks: 1. send that same captured email out to a external db as in shown via http://domain1.com/insert.php?email=$lead (example), but then send to a DIFFERENT source - the originator of the lead - a portback acknowledgement using Header (sending the status and email to http://domain2.com/check.php?e=$lead&s=$status for their records). See the code below: ------------------------- Code: [Select] $lead = $_REQUEST['e_mail']; // will grab email from posted url string and assign to local variable $result = mysql_query($command); // this is just to execute the MySQL insert which works just fine but included here to explain validation below // Create API Call string to insert lead into iContact folder $requestURL = "http://domain1.com/insert.php?email=$lead"; // Execute API Call to CAKE $xml = simplexml_load_file($requestURL) or die("feed not loading"); if ($result) { $status = 1; // mark lead as sucess // send postback on lead status header("Location: http://domain2.com/check.php?e=$lead&s=$status"); } -------- Problem: I'm getting all sorts of errors with the simplexml_load_file() function and can't figure out why it won't work. Any input appreciated as this the only way I know how to pass the lead onward and then inform/update the other party of receipt of information. thanks! |