So i have a list of domain where i can control if they are allowed to view my content inside a blade file using an iframe and http referer. here’s the image and code below.
Your post appears to contain code that is not properly formatted as code. Please indent all code by 4 spaces using the code toolbar button or the CTRL+K keyboard shortcut. For more editing help, click the [?] toolbar icon.
as you can see after i strip all spaces out in the domains and dilimited all comma string it only gave me this array.
example.com, example1.com, example2.com, example3.com ha.com, ha1.com, ha2.com test.com, test2.com, test3.com
Array (  => test.com 2 => test2.com  => test3.com )