Find Jobs
Hire Freelancers

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

$30-5000 USD

Annulleret
Slået op over 12 år siden

$30-5000 USD

Betales ved levering
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)
Projekt-ID: 3631529

Om projektet

9 forslag
Projekt på afstand
Aktiv 12 år siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
9 freelancere byder i gennemsnit $189 USD på dette job
Brug Avatar.
See private message.
$100 USD på 5 dage
5,0 (125 anmeldelser)
6,1
6,1
Brug Avatar.
See private message.
$250,75 USD på 5 dage
4,8 (45 anmeldelser)
5,9
5,9
Brug Avatar.
See private message.
$250 USD på 5 dage
4,2 (54 anmeldelser)
6,0
6,0
Brug Avatar.
See private message.
$250,75 USD på 5 dage
4,7 (89 anmeldelser)
5,5
5,5
Brug Avatar.
See private message.
$40,80 USD på 5 dage
5,0 (65 anmeldelser)
4,5
4,5
Brug Avatar.
See private message.
$60,35 USD på 5 dage
4,8 (63 anmeldelser)
4,0
4,0
Brug Avatar.
See private message.
$500 USD på 5 dage
5,0 (4 anmeldelser)
1,3
1,3
Brug Avatar.
See private message.
$100,30 USD på 5 dage
0,0 (1 bedømmelse)
0,0
0,0
Brug Avatar.
See private message.
$150,45 USD på 5 dage
0,0 (0 anmeldelser)
0,0
0,0

Om klienten

Flag for COLOMBIA
Bogot, Colombia
4,9
81
Betalingsmetode verificeret
Medlem siden jun. 18, 2010

Klientverificering

Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.