Job Count from URL of business - repost
$10-30 USD
Pagado a la entrega
I need some help with the following code.
The first one, company 2 give me a count of 159 jobs listed on the page but I only want the number open, not past jobs.
The second, company 11 is reading 0 and it should read the number open.
$20 US to the first Freelancer to get this working. You will be paid immediately when I see that these work.
Check my rating....
php
function CountJobs($url,$string)
{
// Convert all characters to lowercase
$string = strtolower($string);
// read the content of the url and convert all characters to lowercase
$content = strtolower(file_get_contents($url,false));
if($content) {
$Count = substr_count($content,$string);
return $Count;
}
else
return 0;
}
// company name
$company2 = 'Slavin Management Consultants';
$company11 = 'Alliance Resource Consulting LLC';
// url that contains de job listing
$url2 = '[url removed, login to view]';
$url11 = '[url removed, login to view]';
// string to look for, which identifies the job description
$string2 = '/jm/publish';
$string11 = 'Read More">';
echo '';
echo' '.$company11.' '.CountJobs($url11,$string11).'';
echo ' '.$company2.' '.CountJobs($url2,$string2).'';
echo '';
php
Nº del proyecto: #4745459
Sobre el proyecto
6 freelancers están ofertando un promedio de $21 por este trabajo
I have more than 3 years experience in web development with one of the top Elance company like Synapse India Pvt Ltd in and maintaining various projects in Core PHP, Code Igniter and Zend framework, Joomla, Magento an Más
We are freelance software developers. If you contact us, we can give a quote for your project and we can discuss the details further. w w w . s o l ve r . i o