Job Count from URL of business - repost

Cerrado Publicado Jul 20, 2013 Pagado a la entrega
Cerrado 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

MySQL PHP

Nº del proyecto: #4745459

Sobre el proyecto

6 propuestas Proyecto remoto Activo Aug 26, 2013

6 freelancers están ofertando un promedio de $21 por este trabajo

farhaoui

Thanks for giving your precious time to review my bid and check PM! Thank you

$23 USD en 3 días
(49 comentarios)
5.1
kaleshwarchand83

Hi, please see pm.

$20 USD en 0 días
(16 comentarios)
3.6
imx

I finished. Please check your private messages. Waiting for feedback.

$20 USD en 0 días
(7 comentarios)
3.0
pioneerb64

Ready to start it as soon as possible.

$20 USD en 0 días
(7 comentarios)
3.0
ideahamster

I can do this project.

$25 USD en 1 día
(2 comentarios)
1.5
Jompper

Hi. I have fixed your simple script needed few modifications, please check PM

$20 USD en 0 días
(0 comentarios)
0.0
brajkishoriims

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

$19 USD en 1 día
(0 comentarios)
0.0
QenOTpKeoBoF

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

$25 USD en 3 días
(0 comentarios)
0.0