Last updated on December 14th, 2022 at 02:40 pmSimple script to get the screenshot of a video URL from youtube, You can modify the url variable below according to your convenience.We are parsing the URL you supply and get the video ID from the query string. Pass that video ID to the above image URL […]
Page 51 of 56
Last updated on March 10th, 2022 at 07:41 amSometimes when user click a submit button multiple times it became an issue at the backend. May be the server side processing the request is not having a logic to track duplicate submission or anything of that sort. How can we prevent this duplicate submit from happening […]
Replace images with time intervals using jquery
Last updated on January 25th, 2023 at 11:20 amIn this tutorial we are going to see how to replace images with new ones in specific time intervals. For example: replacing image1.jpg with image2.jpg every 5 seconds. Using setInterval() we are triggering a call to swapImages() function every 5000 milliseconds. So, before proceeding, we need to define […]
How to restrict access to php file
Last updated on March 23rd, 2022 at 01:00 pmIf you don’t want users to access some files directly from browser, you can simply add the following php script on top of such files. Let us take one file named MYFILE.PHP as an example, all you have to do is just add the below code on […]