Find Jobs
Hire Freelancers

PHP GURU change php code from curl to php header to search return url exist or not

$10-30 USD

Dokončeno
Zveřejněno před více než 6 roky

$10-30 USD

Zaplaceno při doručení
Project Budget $0-$50 USD I have small php file reads the static file that contains urls (see attached). Current php code checks urls if url file exist or not by reading url links stored in file_sources.txt. Current code uses curl but I am not happy with curl results and I am not going to use it. (do not try to fix curl I don't want to use it) .It gives sometimes wrong reaction and determine file exist when it is not. Code I want you to change is from curl to code giving you below. If you know how to use php, It will take about 1-2 hours for you to change and test the code. 1) Please see [login to view URL] file attached. You might require to upload and unzip this to your website unzip [login to view URL] and give chmod 777 writable permission to both project and robot folder 2) Edit [login to view URL] change path $path = '/home/mywebsite/www/project/staticfiles'; $programpath = '/home/mywebsite/www/project/robot'; I would like to use this code instead of curl therefore delete any code related curl !!!!!!!!!!!!!!!!!!THIS CODE WILL BE INJECTED TO [login to view URL] AND REMOVE CURL !!!!!!!!!!!!!!!!! <?php function UR_exists($url){ $headers=get_headers($url); return stripos($headers[0],"200 OK")?true:false; } if(UR_exists("[login to view URL]")) echo "file exists"; else echo "file does not exist"; ?> What does [login to view URL] do (attached) 1) Reads static files folder 2) Search any static files contains bigger than 2kb. We don't need files less than 2kb because these static files doesn't have url content so we don't worry about them. for example we will have 100.000 files but we only have 60.000 static file have urls creates [login to view URL] 3) after search for more than 2kb files. Script search for every individual file and get static file name and file url inside by using regex and save as [login to view URL] (see attached) this is final process before search urls file. 4) Program start to search every url by referencing [login to view URL] using curl return if file exist or not. 5) Only 404 results will be written on logs files you will see these files in php file. we don't worry about 200 results. note: there is also limit option in [login to view URL] where I can change currently it is 10 means at the same time this code checks 10 url
IČ projektu: 15499533

O projektu

9 nabídky
Vzdálený projekt
Aktivní před 6 roky

Chcete si vydělat nějaké peníze?

Výhody podávání nabídek na Freelancer

Stanovte si rozpočet a časový rámec
Získejte za svou práci zaplaceno
Načrtněte svůj návrh
Registrace a podávání nabídek je zdarma
Uděleno:
Avatar uživatele
Hi greetings of the day I am a Experienced PHP Developer based out in Chennai,India. My experience revolves around development of web and mobile applications,Ecommerce websites. Relevant Skills and Experience I believe that I am well qualified to undertake the task at hand and deliver a good solution. I would like to discuss this project and your exact requirements. Proposed Milestones $25 USD - PHP GURU change php code from curl to php header to search return url exist or not
$40 USD v 1 dni
4,8 (74 recenze)
5,5
5,5
9 freelanceři nabízejí v průměru $29 USD za tuto práci
Avatar uživatele
Hi, let us discuss and start project now and end it ..thanks Relevant Skills and Experience Strong PHP coder Proposed Milestones $50 USD - Coding
$50 USD v 1 dni
5,0 (118 recenze)
6,1
6,1
Avatar uživatele
I have expertise in, - PHP, HTML, CSS, Javascript, Jquery, MySql. - Opp Oriented Programming - Restful secure APIs with JSON - Magento, Wordpress, open cart Relevant Skills and Experience Curl, fwrite, sleep, exit, file_get_contents Proposed Milestones $50 USD - Final
$50 USD v 1 dni
4,8 (18 recenze)
5,6
5,6
Avatar uživatele
A proposal has not yet been provided
$15 USD v 1 dni
4,8 (49 recenze)
5,0
5,0
Avatar uživatele
Hello Hope you are doing well!! I have read and gone through your requirements which states that you are in need of an experienced PHP developer so here I am having 5+ years of experience in web development as well as have expertise in CMS (Wordpress, Mogento, joomla), PHP ( Custom + core), Framework (Laravel, Codeigniter, Boostrap 3 ), HTML5, CSS3, My SQL. Looking forward for your revert Regards
$40 USD v 1 dni
4,4 (6 recenze)
3,9
3,9
Avatar uživatele
I do for this project for you in very best way Relevant Skills and Experience Html, Php ,Bootstrap, css , wordpress Stay tuned, I'm still working on this proposal.
$17 USD v 1 dni
0,0 (0 recenze)
0,0
0,0

O klientovi

Pochází z AUSTRALIA
Sydney, Australia
5,0
102
Ověřená platební metoda
Členem od pro 1, 2010

Ověření klienta

Díky! Poslali jsme vám e-mailem odkaz pro získání kreditu zdarma.
Při odesílání e-mailu se něco pokazilo. Zkuste to prosím znovu.
Registrovaných uživatelů Zveřejněných projektů
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Načítání náhledu
Bylo uděleno povolení ke geolokaci.
Vaše doba přihlášení vypršela a byli jste odhlášeni. Přihlaste se znovu.