0
I have several news registered in a database, many of them, have images, that point directly to my site.
Only they have http and as I have now installed SSL on my site, I need them to stay with https.
I don’t want to change anything in the database, so I need a preg_replace that changes from http to https, only tags in the src attribute.
This does not apply to links, only images...
Someone can help me?
But then it will take out all src, I want to keep the value inside src and change only http.
– Luhhh