Skip to content
Advertisement

how to change an url before to use on php

I have a function of a download parser, where the url of one site it’s changed: http://paste.co to https://controlc.com/

I can’t change the url from a database, because aare encrypted.

JavaScript

I need help to change the old url (pased.co) to the new one, before to decrypt the container.

Advertisement

Answer

Use preg_replace

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement