Suoritettu

Modify php script to run a loop over an array obtained from a regex

I have a database that stores a table called w47fa_postmeta, the table has 4 fields:

1. meta_id

2. post_id

3. meta_key

4. meta_value

In the meta_value field, some parameters related to file download links are stored along with other text strings. In my case the download links are signed using the Amazon applications, the signature I get using a php script.

Examples of what the script is currently doing can be found in these links:

[login to view URL]

[login to view URL]

[login to view URL]

Script works well now when in the text string there is only one url to sign. The problem is present when, the text string contains more than one link.

What I need is a moficación to the script so that it generates an array of the links that exist within the string and that each one of those links is signed and placed again in the position in which it was originally within the string.

A more detailed description and accompanying images could be found in the link: [login to view URL]

Taidot: PHP, WooCommerce, WordPress

Näytä lisää: preg_replace_all, preg_split, preg_match_all, preg_split keep delimiter, php preg_replace, preg_replace all, preg_replace special characters, php regex, software modify php file, php telnet run script, php script handle large array, php script eliminate zero array, schedule php script run, php script run automatically, modify php script php, php code run script automatically, php script dump tables array file, bash script run service run php filelinux, modify php ini script, php mysql run script sql

Tietoa työnantajasta:
( 14 arvostelua ) 00000, Mexico

Projektin tunnus: #18877109

Myönnetty käyttäjälle:

WebArtisans

Hi, I have read and understood your requirement. I can help you with the regex so that it catches all the links in the string creates an array, signs them and puts them back in the original string. If you think there i Lisää

$25 USD 1 päivässä
(50 Arvostelua)
5.0

6 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

racer1900

Need Web Development or Business Growing? My experiences range from building responsive software design that work well cross-browser to Business Goal. I am glad to provide full solution to you. We Are in House of Web Lisää

$50 USD 1 päivässä
(11 arvostelua)
3.7
JennyHazard

Greetings, I am PHP / Mysql expert. I have read your project description and it is for me. I can give you good result and satisfy. Hire me, I will wait your response. Regards.

$25 USD 1 päivässä
(4 arvostelua)
2.7
BestService222

Dear, sir. I read your description and and I am very interested in this job. I understood what you want and I want like to discuss more detail for your project. I am ready for your project. Please message me to Lisää

$25 USD 1 päivässä
(0 arvostelua)
0.0
pdnitkkr2

Hello! I have checked the details regarding the mentioned tasks and I am quite confident that I can complete this job and will provide you with quality work as you are looking for. I have more than 4 years of exp Lisää

$200 USD 10 päivässä
(0 arvostelua)
0.0
gladrich

Hi Thank you for posting query. I will be able to resolve your issue [login to view URL] you to award the [login to view URL] you Relevant Skills and Experience I have worked in programming languages will be able to sort the issue Lisää

$60 USD 3 päivässä
(0 arvostelua)
0.0