Take random photos with PHP [closed] - php

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am building an examination system. I was wondering, could I take random photos of the person taking the exam in random intervals? The students will be required to allow the site to use the camera for them to access the question. The system will then take random photos in random intervals. I want to use PHP or anyone with an idea how I can go about it?

Javascript is more suited for that kind of task. Check out this API for more informations ¸
Edit, You should take in consideration that not alot of browsers allows it. it seams to be more accepted in mobile browser.
Hopes it helps !
Nic

Related

how to prevent video download by user in php [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I hope you are fine
I want to write a simple php code that the user cant download the movie like youtube site and can only see, I came across a series of results such as hls, ffmpeg, rtmp in my search, but I do not know which one is useful or has a library for php at all or not.
Thank you for your time.
It’s not possible. The server can not differentiate between “downloading” and “playing”.

Web based chat between users in my web app [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I would like my users to able to chat with one another.
I currently use angularjs as the front-end and PHP in the back-end.
any ideas?
You should be looking at different languages for this. Node.js, MongoDB and Redis is a good start.
Also, just expecting people to give you code with such a vague request is not really in line with the spirit of things here. There are plenty of good examples online and a simple Google search would give you results like this https://github.com/joni2back/spachat if you're really keen on using PHP and Angular.

standard automatic login on a partnership website? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
i want to login from my website via link on a partnership website. To program this with PHP, is not a problem for me. But i ask myself if there is a standard or good practice to do this.
My current solution is to use a proxy. Does anyone have a better idea?
Many thanks.
You should definitely take care that the link for log in on that partner website is only valid once. Moreover, you should take care of timing attacks, etc.
The best thing is that you use one-time tokens and that your websites communicate with each other via an internal API. This prevents most of the issues.

Extracting data from other websites (not illegal) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am creating a football transfer site and i want to know how to extract particular pieces of data from a site and insert it into mine. For example, this site : http://www.footballtransferleague.co.uk/football_rumours.aspx , shows you transfer rumours and I want to insert them into my site however they update every 24 hours so I want the new data to appear on my site aswell.
Im not asking for any code, just some tips or videos that can be used to learn about this.
Before anyone says this is illegal, football rumours are considered as 'facts' hence available to reuse.
thanks in advance !
Try with this tool. It downloads the pages with the code that is only translated like html, js and sometimes php. i don't know if it works with .asp .aspx.
htttrack

How to detect numbers in a picture? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Is there any php class that detects numbers in a picture? for example detecting a license plate in a picture.
I couldn't find any usfull information in google search.
Have a look to this library: phpOCR
phpOCR is an Optical Character Recognition system written in PHP. It can be used in automated scripts as well as web interface. Works best for small images like numeric SMS/email authorization codes, bar-code numbers and others.
http://phpocr.sourceforge.net/

Categories