Writing a PHP code
by UAH
11111
HTTP://133.243.123.83/Rozetka/Photo/6208.jpeg
T-shirts of Malva 21.3 cm 33 r Dark-Blue S-240
of 292.8
1
Maldives
33
Ukraine
The dark blue
by S-240
Needed to:
1 .Change the value of the tags (e.g. 11111 to 22222), but only a) in the goods of a specific category (e.g. 11111); b) in the goods in which the tag has the word "Tufli"; c) in the tag has the word "Dark Blue"
2ndRemove all products from available="false" (for example )
ThreeAround the value in the tags (292.8 to 293)
4 .Add Key_word_1, Key_word_2 but to products with a specific (e.g. 11111 or 22222)
and 5.Change the name of the tag (e.g. on 33) but in goods with a specific (e.g. 11111 or 22222)
6 .Change the value in the tag (e.g. from "Dark Blue" to "Black") but in the items with a specific (e.g. 11111 or 22222)
I use several working formulas (those can be used as a help):
1 .Removal of the line: $find=["/Lion/']; $res_prom = preg_replace($find,"",$res_prom);
2ndRemove the tag with any content: $res_prom = preg_replace('/\s?]*?>.*?\s?/si', ', $res_prom
ThreeRemove the tag with any content2: $res_prom = preg_replace('#]+\bname\s*=\s*[\'\"]Article[\'\"][^>]*>([\s\S]*?#‘‘‘, $res_prom
4 .Remove the tag with any content3: $res_prom = preg_replace('/.*./’,” “$res_prom”
and 5.Substitute certain categories: $file = file('prom_ids.txt'); foreach($file as $ids) { if (!trim($ids)) break; $id = trim(explode(' ', $ids)[0]); $id_r = trim(explode(' ', $ids)[1]); $res_prom = str_replace(''.$id.'
Client's review of cooperation with Vasil Zabolotny
Writing a PHP codeI am very grateful to the freelancer for the patience, time spent and work done. As a result, my project is fully implemented and I am satisfied)
Freelancer's review of cooperation with Anatoly Skiba
Writing a PHP codeInteresting project, Anatoly is always in communication, pleasant in communication person.
Pleasure of cooperation!
-
Good day Anatoly!
There is this work.
Please contact me, I will be happy to cooperate.
-
45 Hello to you. Ready to perform the task. I will perform in the shortest time.
-
Пересобирете данный файл в новый но с задаными условиями, например с той же конструкцией switch
-
Прочитайте мануал по php xml и будет вам счастье
-
По хорошему нужно писать парсить xml и делать изменения на уровне объекта, а не регулярными выражениями. Могу реализовать подобное на java
-
Current freelance projects in the category PHP
Development of a WordPress website
23 USD
We are looking for a contractor to develop a custom website on WordPress for a jewelry store. The first stage will be a consultation. Content Management Systems, PHP ∙ 1 day 21 hours back ∙ 63 proposals |
The WooCommerce cart (WordPress) is broken — it does not add products and the cart page does not open.On the website of the online store https://www.dobryi-gospodar.com/ (WordPress + WooCommerce), the checkout function has completely stopped working. When clicking the "Add to cart" button (both in the product card and in the catalog), a long loading process begins (the indicator… Content Management Systems, PHP ∙ 1 day 23 hours back ∙ 58 proposals |
Product search function by imageIt is necessary to develop and integrate a product search function by image on the website.What needs to be implementedA "Search by Photo" button on the website.Image upload by the user: JPG.Search for visually similar products in the catalog.Display results in the form of… PHP, Web Programming ∙ 2 days 6 hours back ∙ 45 proposals |
Parser expireddomains.net
113 USD
A parser is needed for expireddomains.net. You need to log in to the site first; the problem is that it blocks the IP when trying to parse data. You need to parse thematic domains based on a list of keywords. If you are not confident in your abilities, please do not write. PHP, Web Programming ∙ 4 days 5 hours back ∙ 51 proposals |
Integration of payment service with Sales Force
70 USD
There is a payment system widget on the site that needs to be integrated with Salesforce so that all required parameters are visible on the Salesforce side. It needs to be done in such a way that all payments and subscriptions are controlled through Salesforce. PHP, Web Programming ∙ 4 days 9 hours back ∙ 41 proposals |