How to stop Javascript setInterval
Stopping or cancelling a setInterval call in Javascript involves using clearInterval. You must however use clearInterval on a variable that is assigned to the setInterval you want stopped. setInterval calls…
Stopping or cancelling a setInterval call in Javascript involves using clearInterval. You must however use clearInterval on a variable that is assigned to the setInterval you want stopped. setInterval calls…
Displaying a progress bar for a youtube-dl download by using PHP and some AJAX setinterval. I have covered AJAX setinterval before with an FFmpeg progress bar and a general continuous…
Calling a PHP page and showing its output every second with AJAX. For ease of use, this requires Jquery. This example will show the current datetime as per the PHP…
Checking if the current date and time is past a certain date time in PHP can be done easily with the built-in PHP DateTime class. This ensures that a date…
The ultimate all in one PHP cURL function that saves the hassle of building a requester/setter/getter script that is cURL. The idea behind the function was to cater for a…
SolusVM API PHP class is an uncomplicated API wrapper coded in PHP for the SolusVM API. SolusVM is a virtualization manager, that is very popular amongst hosting providers. You can…
Testing 3 Types of MySQL SELECT and then UPDATE from an API call loops with PHP for speed, efficiency and ability to scale. The idea is needing to select a…
Using an HTML progress bar to view FFmpeg video encode progress percentage, With the usage of Ajax and PHP to parse the FFMpeg output file. This method enables a web-based…
Creating a live search input form that matches the current input against a MySQL database using AJAX and PHP combined. I needed this to suite a “product select” project whereby…
Early 2020 there was this post on /r/PHP posing the question “With so many features added to PHP, why is there no str_contains?”. flippeeer who submitted this post is right,…