Get 100$ FREE credit & hosting at scale In this tutorial we will learn to create RESTful API using PHP, My-sql and Slim-Framework. I have create a sample login application to demonstrate the working. Here is my folder structure below. API Folder Structure View demo – here Download Code – here Steps to create APIs : First download the code from the above link.You will need a server and phpmyadmin to run the code, alternatively you can also run the program on a local server using xampp or wamp. For creating an API of your own, all you have to do is change the following files as required,rest other stuff has been pre-configured by me so no need to worry about it for basic implementation.You can download code from here . “ api/includes/db_config.php ” : Add database connection connection. “ api/routes/site.php ” : Here you should define the url for the API and add processing code and output your required jso...
html{ height: 100%; } body{ position: relative; height: 100%; } @media print { body:before{ content: 'info.sitalmandal@gmail.com'; position: fixed; top: 0; bottom: 0; left: 0; right: 0; z-index: -1; color: #0d745e; font-size: 100px; font-weight: 500px; display: grid; justify-content: center; align-content: center; opacity: 0.2; transform: rotate(-45deg); } } CONTENTS [ hide ] The basic method to show a text watermark to an HTML page: How to disable the selection of watermark text by CSS? How to add a background watermark image to an HTML page? How to add watermark text in CSS? How to add text watermark diagonally? How to add text watermark repeated diagonally in CSS HTML? How to show a watermark only when the user print a webpage? The basic method to show a text watermark to an HTML page: In order to add a text watermark top right of a page, we need to add a div element with the class name watermark . So add <div class=...
Comments
Post a Comment