Find Jobs
Hire Freelancers

Create a form based on a language file and save it to the server | .php

$10-30 USD

In Progress
Posted about 9 years ago

$10-30 USD

Paid on delivery
Create a form based on a language file and save it to the server. I have a language file (available upon request). It has two different kinds of entries: <code> define ('ML_MSGBODY' , 'Dear sir, madam'); $lng['ml_msgsendto'] = "Message send to:"; </code> There can be multiline entries as wel, for instance: <code> $lng['ml_msgsbody'] = "Dear sir, madam, You received a message from bla bla. $footer"; define ('ML_MSGBODY' , 'Dear sir, madam, You received a message from bla bla. '.$footer.''); </code> What needs to be done: 1. Read the language file and all vars on the fly (as the file will change over time), no hard coding all vars manually , but loop over them instead. 2. create a form with the language texts. In case of the first examples above: <input name="ML_MSGBODY" type="text" id="ML_MSGBODY" value="Dear sir, madam" size="30" /> <input name="ml_msgsendto" type="text" id="ml_msgsendto" value="Message send to:" size="30" /> Again, this has to be done on the fly, no hard coding of all vars. Loop over them and explode/split them. 3. Multiline texts (for example check the number of words) are represented as a textarea, all others as a textfield. 4. create a save function (.php) Check entries and addslashes to prevent breaking the file. 5. check all entries one by one to see if it has changed, if so: add a comment after the entry, like so (example): $lng['ml_msgsendto'] = "Message send to:"; # changed -put date here- 5. once saved, all entries need to be saved together as a new language file (name+[login to view URL]),just like the original language file. Remarks: - please PM me for the language file before bidding. - if the brief is unclear, please contact me before bidding.
Project ID: 7280176

About the project

4 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $76 USD for this job
User Avatar
Hello! With 99% completion rate, 750 successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page https://www.freelancer.com/u/rajeshsonisl.html !!)... you can never go wrong choosing me :) I look forward to your reply. Thanks. Kind Regards, Rajesh Soni
$210 USD in 1 day
5.0 (1011 reviews)
8.8
8.8
User Avatar
>Hello Client, Thank You for the opportunity. As per your requirement, I would like to tell you that I have a very strong experience of more than 4 years in field of Joomla,php,Wordpress,HTML5 & Dreamweaver I would also like to mention that I have experts working over here and I will provide you with 100% result,I'm trying to create client base and reputation. I have a computer science degree and English Language background,both of which will be beneficial for this job. I would also be available for on-going work should you require it.
$30 USD in 1 day
4.8 (206 reviews)
7.3
7.3
User Avatar
Hi! Multiline vars can be easily detected by strpos($haystack,"\n") !== false; I don't know how I can PM you before bidding, because only you can PM first. Seems to be easy one. I made my own templating system last winter, which had much much more complicated variable structure.
$30 USD in 3 days
5.0 (38 reviews)
5.4
5.4

About the client

Flag of NETHERLANDS
Groningen, Netherlands
5.0
35
Payment method verified
Member since May 10, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.