Find Jobs
Hire Freelancers

3 simple and easy scripts in php to insert / read data from a flat file

$30-5000 USD

Cancelado
Publicado hace más de 12 años

$30-5000 USD

Pagado a la entrega
I need someone to write 3 simple php scripts. This project is simple and so delivery time is taking into account along with your price. (the sooner the better). One scripts insert data into a flat file. Another script reads the data from the file. A third script reads data from 4 files. Apply if you have time to work on it this week. Apply if you have experience in php. Thanks ## Deliverables I need someone to write 3 simple php scripts. 1. A script to insert data into a file. Data has the same format as in the attached file. The insert has to be done using the url: Something like [login to view URL],field3,field4,etc? You get to decide what and how to put all data in the url Thus user enters [login to view URL],field3,field4,etc? and the data is inserted into the file The followings are the fields in the file: -Number, this is a consecutive number, the script has to read the last number in the file and add 1 (if the last entry says 1, the new entry should be 2 = 1 +1. This is to have a consecutive number in the file) -Date1,Date2,UserIP,UserAddress,Name,Lastname,Address1,Address2,Date start,Date end: All these fields come in the url A login/password or key or something else (your call) must be used in the url to restrict entries (you decide how to do it, you can make something like <[login to view URL],password,field2,field3,field4>) Going to <[login to view URL]>.php must return an "error 444" message Using the wrong login/password/key must return an "error 555" If the file is updated successfully, it returns a "complete" message If the file is being used and cannot be opened, the script returns a "busy" message The file may grow to have 1000 lines You need to tell me how to protect the file and the scripts from hackers (file cannot we opened from browser - I need file settings/permissions for the script and the file i.e. RWW and for the directory where the file is located i.e. filedir) The file will be in a directory in a linux webserver, last version of php. Directory name is filedir Optional: Worker will tell me if it is possible to protect the directory where the file is located with .htaccess and still use it using <[login to view URL],password,field2,field3,field4> - the final user is another application that generates the url, so automatic authentication is necessary 1. A script that reads the file and show the contents in a html table. A login/password/or key is required to protect the access. So I go to <[login to view URL],password> and see the content of the file in html This script will be in the directory read and the file will be in the directory filedir. Use the same error codes as in 1 Direct access "error 444" message Using the wrong login/password/key must return an "error 555" If the file is being used and cannot be opened, the script returns a "busy" message You need to tell me how to protect scripts from hackers (I need settings/permissions for the script and for the directory where the script is located i.e. read) 1. I will have 4 files like the attached one (different names). I need a script that reads the last entry from the files, and display the consecutive number For example, the consecutive numbers are as follows: File a, 3 File b, 4 File c, 1 File d, 0 The scripts open the files and show this 3+4+1+0=8 filenames are filea, fileb, filec, filed: Total 8 File a, 3 File b, 4 File c, 1 File d, 0 A login/password/or key is required to protect the access. So I go to <[login to view URL],password> and see the content of the file in html (No table, just print the output) This script will be in the directory read and the file will be in the directory filedir Use the same error codes as in 1 Direct access "error 444" message Using the wrong login/password/key must return an "error 555" If the file is being used and cannot be opened, the script returns a "busy" message You need to tell me how to protect scripts from hackers (I need settings/permissions for the script and for the directory where the script is located i.e. read)
ID del proyecto: 3631529

Información sobre el proyecto

9 propuestas
Proyecto remoto
Activo hace 12 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
9 freelancers están ofertando un promedio de $189 USD por este trabajo
Avatar del usuario
See private message.
$100 USD en 5 días
5,0 (125 comentarios)
6,1
6,1
Avatar del usuario
See private message.
$250,75 USD en 5 días
4,8 (45 comentarios)
5,9
5,9
Avatar del usuario
See private message.
$250 USD en 5 días
4,2 (54 comentarios)
6,0
6,0
Avatar del usuario
See private message.
$250,75 USD en 5 días
4,7 (89 comentarios)
5,5
5,5
Avatar del usuario
See private message.
$40,80 USD en 5 días
5,0 (65 comentarios)
4,5
4,5
Avatar del usuario
See private message.
$60,35 USD en 5 días
4,8 (63 comentarios)
4,0
4,0
Avatar del usuario
See private message.
$500 USD en 5 días
5,0 (4 comentarios)
1,3
1,3
Avatar del usuario
See private message.
$100,30 USD en 5 días
0,0 (1 comentario)
0,0
0,0
Avatar del usuario
See private message.
$150,45 USD en 5 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de COLOMBIA
Bogot, Colombia
4,9
81
Forma de pago verificada
Miembro desde jun 18, 2010

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.