In Progress

Super Quick PHP Task (preg_replace and file_put_contents to edit a JSON file) ASAP

Job Description:

Hi. I'm trying to make 2 quick edit files that edit values in a small JSON manifest file. Basically, I want to edit the Name and the URL. But, I can't get either one working correctly. See below. (Note: once I get these working, I can just put them into certain pages in my framework that'll clean the inputs, etc. and only let an Admin submit them).

1. Simple replace using preg_replace. So, we replace the Name and the URL with POST values from this form: [login to view URL]

$content = preg_replace('/YourBrand/', $name, $content);

$content = preg_replace('[login to view URL]', $url, $content);

2. Create a string or array with the POST variables for Name and URL

$lang = "en-US";

$display = "standalone";

$src = "./static/images/[login to view URL]";

$newdata[] = array(

'name' => $name,

'short_name' => $name,

'lang' => $lang,

'start_url' => $url,

'display' => $display,

'icons' => array([

'src' => $src

])

);

I'll give you my 3 files (2 edit files and the [login to view URL] file)

Skills: PHP, HTML, MySQL

About the Client:
( 19 reviews ) Chicago, United States

Project ID: #35349415

Awarded to:

ihorboryslavsky3

Hello! As a senior developer, I have been working for over 5+ years. I've developed dozens of Web Sites and Web Services for over 5 years successfully. I have perfect knowledge of web site Development methods and other More

$15 USD in 1 day
(5 Reviews)
2.7

19 freelancers are bidding on average $24 for this job

WebInfoSolutions

Sure sir, please send those 3 files and lets get this started right now

$30 USD in 1 day
(267 Reviews)
8.0
rlo56467a9097547

Hi there im interested in your proyect im soft eng and sysadmin contact me !

$30 USD in 1 day
(81 Reviews)
5.5
stefanandjelkov1

To get the best results, hire me and save both time and money. Dear Sir, how are you. The requirements you provided are clear to me. As a software developer with five years of experience, I have a deep understanding of More

$20 USD in 7 days
(20 Reviews)
5.4
valeriyburykin

Hi! How is your day going! I have just read your description carefully. Please give me 3 files. I can fix it within few hours. It's my major. I am senior php and javascript developer. Please give me an offer and let's More

$30 USD in 1 day
(2 Reviews)
4.5
veselidevelop

~ I'm ready. Only 20mins ~

$20 USD in 7 days
(13 Reviews)
4.0
NJDev1234

Hello, I can start immediately and quickly edit files that edit values in a small JSON manifest file. If you share with me your files I can start now and finish it quickly. Regards, Nemanja!

$30 USD in 1 day
(22 Reviews)
4.3
yaroslavkariaki5

Hello Sir.( ͡❛ ᴗ ͡❛ ) This is Yaroslav and thank you for posting the project, I have verified your data and before providing the estimated time of completion of the project. I wanna ask you some questions about the pr More

$20 USD in 7 days
(3 Reviews)
2.9
franciscoisaque4

*** I can finish in a few hours max *** I can fix your php issue right now! Start immediately !!! Best Regards,

$50 USD in 1 day
(5 Reviews)
3.0
Work12345x

I can do this for you. Please view my past submitted work in my portfolio's Portfolio Items section.

$20 USD in 1 day
(13 Reviews)
3.2
ismailrehman0331

Hi, I have read your post that you are looking for a php Developer to quickly edit values in a small JSON manifest file. I have reviewed all of your above shared details and I'm confident to serve you with my best qual More

$20 USD in 7 days
(13 Reviews)
3.7
santiagomac841

Dear client. I can fix this bug in 10~20 minutes. I am familiar with preg_replace function for PHP language. I can start working once you hire me. thank you.

$20 USD in 7 days
(1 Review)
2.0
LivGibson

Hello, I have rich experience in Web development with Node.js / RoR / Javascript / Python / Golang / PHP. I have read all your explanations carefully and fully understand your requirements. So I am sure I can give you More

$20 USD in 7 days
(0 Reviews)
0.0
denilsondias22

Hello how are you ? I'm a php developer for just over 5 years, and I'm available right now to perform this service for you! Call me to talk more about the project, thank you!

$20 USD in 1 day
(0 Reviews)
0.0
pvtwpkkihilkifr3

I read job description and I can do your project. I can even work on urgent basis and complete your project soon.. contact me for more information

$20 USD in 7 days
(0 Reviews)
0.0
EgorKapustin25

Hello, I have ever solved many problems like this, So I can resolve this issue for a short time and you will be satisfied. please contact with me.

$30 USD in 7 days
(0 Reviews)
0.0