Categories
-
Recent Posts
Archives
Meta
This website uses cookies to personalise content and to analyse our traffic.
Necessary - Necessary cookies needed to make a website usable by enabling basic functions. The website cannot function properly without these cookies. (always active) | |
Marketing - Marketing cookies are used to track visitors across websites. |
Canvas is maybe one of the most interesting HTML5 feature. It has all you need to create rich web applications or games. We talked about how to Generate gradient image with PHP some time ago. Now we’re gonna use HMTL5 canvas element to draw a simple button with a gradient effect, using it’s 2D context …
If you want to provide the ability to download some content (like a text from the database) or to be sure that the browser won’t open a file you gave a like to instead of downloading it here are the few lines of php code that you can use to do that: In this context …