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...


$lname = "AARON";

$fname = "JARVIS";

$jail_id = "501406523";

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

$url = html_entity_decode($url);

$file = file_get_contents($url);

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

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

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

$url = html_entity_decode($url);

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

$file = file_get_contents($url);

echo $file;


Kemahiran: PHP

Lihat lagi: 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

Tentang Majikan:
( 86 ulasan ) Newnan, United States

ID Projek: #7016777

Dianugerahkan kepada:


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

$30 USD dalam sehari
(296 Ulasan)

12 pekerja bebas membida secara purata $28 untuk pekerjaan ini


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 Lagi

$23 USD dalam sehari
(156 Ulasan)

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 Lagi

$54 USD dalam sehari
(516 Ulasan)

A proposal has not yet been provided

$30 USD dalam sehari
(134 Ulasan)

A proposal has not yet been provided

$17 USD dalam sehari
(66 Ulasan)

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 dalam sehari
(25 Ulasan)

PHP expert with 6 yrs of expeirence, and expert in dealing with curl and scrapping. Please message me to discuss it in detail and get started. Waiting for your answer and thanks.

$40 USD dalam sehari
(105 Ulasan)

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 Lagi

$20 USD dalam 0 hari
(38 Ulasan)

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 dalam 0 hari
(21 Ulasan)

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 Lagi

$17 USD dalam sehari
(17 Ulasan)

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 Lagi

$35 USD dalam 0 hari
(1 Ulasan)

I am a software developer and I have a lot of experience fixing bugs and applying best practices to code.

$31 USD dalam 2 hari
(0 Ulasan)

A proposal has not yet been provided

$15 USD dalam sehari
(0 Ulasan)