Click here to Skip to main content
15,898,222 members

Comments by Er. Tushar Srivastava (Top 189 by date)

Er. Tushar Srivastava 1-Aug-18 7:40am View    
Hi,

In "access.php" there's an if-else condition. In that condition (file_exists(...)) is used. This is used only to check if the file exist in filesystem (not from URL). So, you need to change that function to if(@fopen("https://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4","r")==true) {} and it should work.

Best of luck.
Er. Tushar Srivastava 13-Jul-17 3:09am View    
Have looked at it already. This solution might allow me to control the flow of traffic per device (mobile phone) connected to my Pi Server (Raspberry Pi). But I want to limit the traffic to a single application (i.e. my android application)... so that I can provide internet to my application only and other applications will not be able to use internet.
Er. Tushar Srivastava 12-Jul-17 4:14am View    
Hi, I am happy that you asked the question but this is an answer section and you should put these comments/questions in comment section only. Anyways, I have used a USB port to connect a USB to Ethernet adapter to get two Ethernet ports eth0 (default) and eth1 (USB). I hope this answers your concern.
Er. Tushar Srivastava 1-Oct-16 10:42am View    
Thank you for your concern and the time you took to weave the reply. I am glad to tell you that I did the miracle in the given time frame without anyone's help.
Er. Tushar Srivastava 17-Apr-15 7:58am View    
This is of great help. Thank you very much.