Simple php script
blacklist.txt (a list of sites, each with a new line)
greylist.txt (a list of sites, each with a new line)
The index.php
The task
Write index.php that will be taken to the screen.
1) The following data:
List of blacklist.txt
Random hardness % (from 0 to 100) from greylist.txt
2) the resulting lines of the lines sorted in random order
3) work in the subcatalog is mandatory, not only in the routing folder
4) the data is drawn into textarea on the entire screen, there is autodidation of all lines of textarea when you set the focus (there will be a lot of monotonous actions on copying the list by hand)
The example
site.com/subfolder/blacklist.txt
Black 1
Black 2
Black 3
site.com/subfolder/greylist.txt
Greek 1
Greek2
Greek3
Greek4
Requests
site.com/subfolder/index.php?hardness=50
The expected result (variant ) :
Black 2
Greek4
Black 1
Black 3
Greek 1
List of lines on the textarea page
auditory.txt (список строчек)
вывести текстом список строчек на странице над textarea
Client's review of cooperation with Vasyl H.
Simple php scriptVery efficient, high quality code
Freelancer's review of cooperation with Pavlo Pavlo
Simple php scriptA great customer! Clear and understandable TZ.
I recommend !
-
12426 600 0 I am going to talk to you ........................................................................................................................
Current freelance projects in the category PHP
Module for OpenCart: mass creation of products from folders with imagesDevelopment of a mass product creation module for OpenCart (ocStore 3.x) A backend module for OpenCart / ocStore 3.x needs to be developed that automatically creates products from a pre-prepared folder structure with images.Main functionality: mass creation of products from… Content Management Systems, PHP ∙ 8 hours 28 minutes back ∙ 28 proposals |
Developer for CMS website project on Drupal 7 + PHP/MySQL.We are looking for a developer to assist with the setup of a CMS site on Drupal 7 + PHP/MySQL. Task:1. Create product cards for the entire range of products (currently, not all products on the site have product cards with descriptions and characteristics).2. Add correct… Content Management Systems, PHP ∙ 2 days 12 hours back ∙ 39 proposals |
Looking for a Bitrix24 specialist / CRM integrator to set up automation.Our company works with CRM Bitrix24. We need a specialist who can set up automatic addition of phone numbers to leads/orders in two formats. Automation must be correctly configured for two countries: the Republic of Moldova and Romania. Task: When creating a lead or order in… PHP, Web Programming ∙ 3 days 11 hours back ∙ 24 proposals |
Website optimizationOptimization of the website jdgreta.co.uk on Shopify. SEO audit attached to the project. Main tasks - - Fix all meta data - Complete the technical specifications for the programmer (since this project combines tasks for both the programmer and SEO, if you are not a company -… HTML & CSS, PHP ∙ 4 days 7 hours back ∙ 33 proposals |
Horoshop SpecialistNeed a specialist who can correctly set up the product Feed. Problem: Currently, over 13,000 products are being uploaded with the same type value (e.g., "everything for manicure and pedicure"). Because of this, it is impossible to segment products in Google Ads and set different… PHP, Website Maintenance ∙ 5 days 9 hours back ∙ 21 proposals |