I am creating an application for which it is required str_replace()for any lines http:or https:in the URL of a background image. Does anyone know of any other protocols that are possible for the background image url? For example, are any of the following methods possible, or did anyone see a CSS image in the URL of any of the following elements?
TCP
UDP
ICMP
POP
FTP
IMAP
As one example, is this possible for CSS?
#myDiv { background-image: URL("ftps://mysite.com/pub/myimage.png"); }
Thank you for understanding!
source
share