Fix my php script
$10-30 USD
Maksettu toimituksen yhteydessä
I'm currently building a script that crawl all page of a domain ($url1), put all urls found in a text file, then scan each url with simple_dom_parser to check if any <a> tag with string ($url2).
So script ran like this [login to view URL]$url1=http://google.com&$url2=google&proxy=NULL
$url1 is the domain to scan all url
$url2 is the occurrence to find on each page <a> tag.
All currently working except one thing. I'm able to fetch all urls of a domain then put in a file, but for a reason I don't understand, my scan($url1,$url2,$proxy) function (using simple_dom_parser and curl) look like skipping some line or don't go until the end of the file using this way to fetch all line :
foreach(preg_split("/((\r?\n)|(\r\n?))/", $subject) as $line){
$resultscan = scan($line,$url2,$proxy);
}
And this way it's not finding any occurrence:
$file="[login to view URL]";
$handle = fopen($file, "r");
while(!feof($handle)){
$line = fgets($handle);
scan($line,$url2,$proxy);
}
Smaller bid and faster time frame will be prioritize, no time waster or people that hire others freelancer. I will hire you back for another fix right after if job is good.
Projektin tunnus: #13348772
Tietoa projektista
Myönnetty käyttäjälle:
yes after go through your job details i assure to you that i can fix the error using my PHP development skills with perfection and complete it in your timeline. I am a Senior PHP Developer with lot of experience in Lisää
12 freelanceria on tarjonnut keskimäärin $27 tähän työhön
Hello. I can help you. I am a fulltime and individual freelancer. We can discuss further details. Best Regards.
Hi there I can do it ASAP. Please share details. Lets Start................. Thanks...................................................................................................
Hello sir, I understand your project what you need I can complete it in 1 day. its very simple for me. award me this project. for more info chat with me. waiting for your reply. thank you
I have experience in MS Office, VBA Programming, XML, MS Work, Google Docs, SQL, Google Spreadsheet, Data Entry in Odoo, Google Document and other related applications. I believe my capabilities would be perfect for y Lisää
Hi, I can fix this for a minimal bid within next few minutes, starting the project right away. Please feel free to have a discussion before having a decision. Thank You. warm regards, Sukanyeah Krishna