How to make an access control data using iframe

  iframe, laravel, php

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.

<pre>

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.

OUTPUT:

example.com, example1.com, example2.com, example3.com ha.com, ha1.com, ha2.com test.com, test2.com, test3.com

Array ( [0] => test.com 2 => test2.com [3] => test3.com )

No access

Source: Laravel

Leave a Reply