Super Quick PHP Task (preg_replace and file_put_contents to edit a JSON file) ASAP
$10-30 USD
Dalam Kemajuan
Disiarkan lebih dari 1 tahun yang lalu
$10-30 USD
Dibayar semasa penghantaran
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)
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 quality services and expertise.
I'm a professional Full Stack Developer with 10+ years of experience and hands-on both front-end and back-end development processes, designing, developing, implementing Websites & applications and handing over solutions using a wide range of technologies and programming languages.
Lets have a chat to discuss some more details about your project so that I can start working on it as soon as possible. Looking forward to work with you.
Regards
Ismail W.
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 web design and development.
I'm not alone. As a team, we are able to provide you with high-quality service.
My ability to provide high quality and fast turnaround will definitely meet your requirements.
High performance, awesome UI, all-time communication are all promised.
My goal is to maintain a healthy relationship with you both now and in the future.
I look forward to hearing from you on chat. Thanks.
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 discuss more about your project.
Thanks. Valeiry.
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 project. Send me a message so we can clear all our doubts and start working on them. Thanks.
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!
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.
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!