Adjust simple PHP list/get code to allow PUT (upload)

Completado Publicado hace 6 años Pagado a la entrega
Completado Pagado a la entrega

Background:

We have an existing very simple php api file list/get setup. The API currently provided does two things:

1) List the files (with an option to specify how many)

2) Get a given file (by name)

This is used to pass simple text files (containing json formatted data - mind you, the format is not relivant). This is part of a basic accounting/billing system back-end.

We want this expanded for the system to also accept a file (via an upload). It is indended for this to be run via commandline/script - so there is no real html to be created - however there will need to be PHP code to receive the form submission.

Other important information:

- We are using light httpd, php7.

- We have two existing security features:

1) An option to limit reads from a list of remote hosts (from environment variables passed from the webserver)

OR

2) An option to limit reads from a list of remote hosts (based on a header name, if we use a SSL front-end system).

We need to be able to select which one to enable (ie, enabling '2' is dangerous if there is not a front-end proxy/ssl-offload infront of it)

- We need to add another security feature, specficially adding a separate option of a list of remote hosts to allow uploads from (either via environment variables, or via headers) - this is to be separate from the read list (so we can allow some sites to read only, and others to write).

- We will provide the existing code (not many lines, around 50-100 lines only - this code is not tied into a massive system, it is stand-alone - simple!). We want the additional/new code to be fit in with what has been previously done.

Please provide an example of the upload using curl.

PHP Arquitectura de software

Nº del proyecto: #16273448

Sobre el proyecto

15 propuestas Proyecto remoto Activo hace 6 años

Adjudicado a:

liangjongai

I am a full time developer and have high skills in php so I can complete this project. My price and time is negotiable. Let's discuss details via chat. I'll provide best service.

$155 AUD en 3 días
(329 comentarios)
8.0

15 freelancers están ofertando un promedio de $148 por este trabajo

malviyamanish

Dear Client , We gone through project description We are Really intrested to do work with you , We are Web & Mobile Software development company having more than 8 year experience in Software development we tota Más

$250 AUD en 3 días
(221 comentarios)
7.7
aramgz

hi, I read carefully requirements, You'll get new features running under light httpd with php7, with ssl.

$250 AUD en 2 días
(19 comentarios)
6.6
rupanaskar

Hello Sir/Madam, I am an experienced PHP developer with over 6 years of experience in web development. I have expertise in this kind of works. Here is a php curl code to upload file if (function_exists('curl_f Más

$88 AUD en 1 día
(35 comentarios)
5.8
tiwariraushan71

Hello there, Please give us an opportunity to show our expertise in the same. I would love to discuss the work with you. we can proceed ahead for a long term relationship with best outputs always. Laravel:3yrs Más

$77 AUD en 3 días
(106 comentarios)
6.0
webDevsolutionz

Hello Sir, Expert PHP Developer here, I will assure you that i will provide 100% Satisfaction Guarantee. 100% Quality Guaranteed Happy to show you previous work completed. Thank you

$99 AUD en 3 días
(52 comentarios)
5.5
zMinion

Hi, I'm Andrei, 30y old, a senior full-stack web developer, and I want to build this new feature (api upload) for you. I have very good skills/experience with php, custom coding. Let's chat some details and start work Más

$150 AUD en 3 días
(41 comentarios)
5.7
Brijrajs76

Adayr, ChennaiI am a Professional Freelancer with experience of more than 7+ years with specializing in Web-Development & Designing (Wordpress ,Woocommerce, eCommerce , PHP, Bitcoin,Webservices,PaymentGetway, Mysql,Css Más

$55 AUD en 3 días
(91 comentarios)
6.0
rabhardwaj

i have been in this field for more than 7 years. i have experience in c#,php,perl,wordpress,Html,postgress ,Web Services, Rest Api, Zend ,YIi,Mysql. Relevant Skills and Experience so i am right candidate for your p Más

$155 AUD en 3 días
(19 comentarios)
5.2