Answer the question
In order to leave comments, you need to log in
How to properly escape characters for CFile::MakeFileArray?
Hello!
Please tell me how to properly prepare the url for passing it to CFile::MakeFileArray() if it looks like: http://user:[email protected]/img.jpg
urlencode() does not help.
Answer the question
In order to leave comments, you need to log in
The simplest and most hacky way is
$adr = “ http://“.explode( '@',address from )[1];
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question