완료

Fix bug in script

I have a data scraping script I am building but I have run into something I can not handle... I need some body to fix the following script so it displays the correct results when I echo the $file... the final page is not showing the person data just a default search page...

<?PHP

$lname = "AARON";

$fname = "JARVIS";

$jail_id = "501406523";

$url = "[login to view URL]$lname&fname=$fname";

$url = html_entity_decode($url);

$file = file_get_contents($url);

$pattern = '/[login to view URL](.*?)" title="' . $jail_id . '"/';

preg_match($pattern, $file, $match);

$url = "[login to view URL]" . $match[1];

$url = html_entity_decode($url);

echo $url = str_replace('&&', "&", $url);

$file = file_get_contents($url);

echo $file;

?>

기술: PHP

확대 보기: fix bug, fix a c++ script, Apps Script, php script echo, echo fix url php, script default script, echo file php, php echo file, data scraping php script, need scraping script, preg_match, script data scraping, fix bug php, script preg_match, script match file, preg_match match, php data scraping script, file_get_contents php, script windows firefox default, gen3 script bug fixes

고용주 소개:
( 102건의 리뷰 ) Newnan, United States

프로젝트 ID: #7016777

수상자:

nanolab

Hello, Just fixed your script using curl. Here is result [login to view URL] Regards, Alexey.

$30 USD (1일 이내)
(300건의 리뷰)
7.5

이 프로젝트의 입찰 현황은 다음과 같습니다. 입찰자: 11명, 평균 입찰가: $27

rajeshsonisl

Hello! With 99% completion rate, 740 successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page https://www.freelancer.com/u 더 보기

$54 USD (1일 이내)
(962 리뷰)
8.7
nittilegupta

Hi, I have worked on many scraping projects. I can fix this bug in a day. Look forward for your reply, regards, Nittile

$34 USD (1일 이내)
(88 리뷰)
8.0
superior5

Hi, I have checked the script but I need to ask few things before I will give you any final cost for this task. Upon clarification on those points I will be then able to come up with my final decision. Please rev 더 보기

$23 USD (1일 이내)
(173 리뷰)
8.0
pivn

A proposal has not yet been provided

$30 USD (1일 이내)
(186 리뷰)
6.6
BitLabs

Dear sir, I will complete your project asap, LIFETIME error free guarantee and provide ONE YEAR support... I have gone through your outsourced requirement "Fix bug in script" and have analysed that I have right cre 더 보기

$17 USD (1일 이내)
(113 리뷰)
6.7
sveralex

A proposal has not yet been provided

$17 USD (1일 이내)
(166 리뷰)
6.4
kevalthacker

Hello Sir, How are you? I am able to do this work.I have more then 3 years of experience in PHP. if you need then i can show you working demo of your [login to view URL] to start right now. Thank you. Reg 더 보기

$20 USD (0일 이내)
(85 리뷰)
6.5
DrGrim

hello , i believe i could help you with this . Please let me know if you would like to collaborate with me .Thank you !

$25 USD (0일 이내)
(22 리뷰)
4.1
secureway

Hi, I am Manav, owner & Operations’ Head from Secure Way (I) pvt. ltd. Thanks for the details. We can easily deliver with our certified developers But it will be great if we can discuss a bit more. We are new in th 더 보기

$35 USD (0일 이내)
(5 리뷰)
3.5
assertivetec

A proposal has not yet been provided

$15 USD (1일 이내)
(6 리뷰)
3.2