<< < 1 2 3 4 5 6 7 8 > >>   Sort: Date

$_GET, $_POST and $_REQUEST in PHP
Where Is the Submitted Form Data Stored in PHP? When a user submit a form on your Web server, user entered data will be transferred to the PHP engine, which will make the submitted data available to your PHP script for processing in pre-defined arrays: $_GET - An associate array that store form data...
2016-11-15, 3372👍, 0💬

Using urllib.request.Request Object
How to use the urllib.request.Request object to build more complex HTTP request? The urllib.request.urlopen() function can take a urllib.request.Request object to let you building more complex HTTP requests. You can use the Request() constructor to build a Request object: q = urllib.request.Request(...
2018-09-13, 3358👍, 0💬

Extending json.JSONEncoder Class
How to extend json.JSONEncoder class? I want to encode other Python data types to JSON. If you encode your own data types to JSON strings, you need to extend the json.JSONEncoder class and override the default() function. The following Python example shows you how to extend json.JSONEncoder class to...
2018-10-08, 3351👍, 0💬

Azure API Management - Publisher Dashboard
What is Azure API Management Publisher Dashboard? Azure API Management Publisher Dashboard is an Azure Web portal that allows you to create and manage your API services. Once you have signed up for an Azure API Management Service, you will see it listed as resource entry on your Azure dashboard. If ...
2018-10-30, 3294👍, 0💬

Add Operation to API on Publisher Dashboard
How to add a new operation to an API on the Publisher Dashboard of an Azure API Management Service? You can follow this tutorial to add a new operation to an API on the Publisher Portal of an Azure API Management Service. 1. Click on the API name from the API list to open it. You see detailed inform...
2018-03-31, 3259👍, 0💬

Differences of evaluateTransaction() and submitTransaction()
What are the differences of Differences of evaluateTransaction() and submitTransaction() of the fabric-network.Contract class? Here are the Differences of evaluateTransaction() and submitTransaction() of the fabric-network.Contract class: evaluateTransaction() method - Calls the given transaction fu...
2019-04-22, 3238👍, 0💬

Add Request URL Template Parameters - 2017 Version
How to add request URL Template Parameters to my Azure API operation 2017 version to make it more user friendly? If your API Operation requires some key parameters, you put them as template parameters in the URL template of the operation. Using template parameters reduces the need for providing para...
2018-06-12, 3190👍, 0💬

Removing Slashes on Submitted Input Values in PHP
How To Remove Slashes on Submitted Input Values in PHP? By default, when input values are submitted to the PHP engine, it will add slashes to protect single quotes and double quotes. You should remove those slashes to get the original values by applying the stripslashes() function. Note that PHP eng...
2022-12-14, 3175👍, 1💬

💬 2022-12-14 /nme: /data

"docker container exec --tty --interactive" - Attach to Container
How to attach console to a Running Container using the "docker container exec" command? I want to get a shell TTY terminal on the container. To attach a TTY terminal console to a Running Container, you can execute the /bin/sh command on the container with "--tty and "--interactive" options. 1. Check...
2018-12-28, 3135👍, 0💬

'send-one-way-request' Policy Statement
How to use the "send-one-way-request" Policy statement to call an extra web service for an Azure API service operation? The "send-one-way-request" Policy Statement allows you to call an extra web service. The "send-request" statement has the following syntax: &lt;send-request mode="new|copy"&...
2018-01-13, 3132👍, 0💬

Using Azure API Management Publisher Dashboard
Where to find tutorials on Using Azure API Management Publisher Dashboard? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Using Azure API Management Publisher Dashboard: Login to Azure API Management Publisher Dashboard Create a New API on Pub...
2018-04-21, 3123👍, 0💬

'find-and-replace' Policy Statement
How to use the "find-and-replace" Policy Statement for an Azure API service operation? The "find-and-replace" Policy Statement allows you to find and replace a sub string in the request body or response body. For example, the following inbound policy will replace "$id" by the template parameter "id"...
2018-01-19, 3100👍, 0💬

Azure API Management - Developer Portal
What is Azure API Management Developer Portal? Azure API Management Developer Portal is an Azure Web portal that allows your developers of client applications to learn and run tests on your API services. Once you have signed up for an Azure API Management Service, you will be given an API Management...
2018-10-30, 3091👍, 0💬

Add API Operation Request Body Examples
How to add request body examples to my Azure API operation to make it more user friendly? If you have created the "First API" API and "Add new user" operation as described in previous tutorials, you can follow this tutorial to add request body examples. 1. Go to the publisher dashboard of the API Ma...
2018-03-28, 3068👍, 0💬

Moving Uploaded Files to Permanent Directory in PHP
How To Move Uploaded Files To Permanent Directory in PHP? PHP stores uploaded files in a temporary directory with temporary file names. You must move uploaded files to a permanent directory, if you want to keep them permanently. PHP offers the move_uploaded_file() to help you moving uploaded files. ...
2016-10-14, 3066👍, 0💬

3Pigs3-3.0.epub - Add Images
How to add images to my EPUB books Images can be added into book content using the XHTML "img" elements. For example, you can download this EPUB book, 3Pigs3-3.0.epub , which contains an illustration image in the The-Opening.xhtml: &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;html xm...
2018-08-14, 3052👍, 0💬

'__init__()' Class Method to Initialize New Instance
What is the "__init__()" class method? The "__init__()" class method is a special method that will be automatically called, if you use the class name as a constructor to create a new instance of the class. Here are the rules you need to follow to define and use the "__init__()" class method: 1. Defi...
2018-01-27, 3037👍, 0💬

Hello-3.0.epub Created with WinRAR/zip
How to create the Hello-3.0.epub package? I have all required files to create Hello-3.0.epub. To create the EPUB 3.0 example, Hello-3.0.epub, you need to collect all files mentioned from previous tutorials and place them in file and sub-directory structure shown below: |-- mimetype |-- package.opf |...
2018-11-11, 3036👍, 0💬

EPUB 2.0 Metadata - dc:creator and dc:contributor Elements
What is EPUB 2.0 Metadata "dc:creator" and "dc:contributor" elements? EPUB 2.0 Metadata "dc:creator" and "dc:contributor" are optional metadata elements to specify authors and contributors of the EPUB 2.0 book. EPUB 2.0.1 specification adds two attributes, "role" and "file-as", to the "Dublin Core M...
2019-01-26, 3030👍, 0💬

EPUB 2.0 Metadata - dc:publisher and dc:rights Elements
What is EPUB 2.0 Metadata "dc:publisher" and "dc:rights" elements? EPUB 2.0 Metadata "dc:publisher" and "dc:rights" are optional metadata elements to specify the publisher and the rights statement of the EPUB 2.0 book. For example, the following two elements specify that this EPUB book was published...
2019-01-26, 3024👍, 0💬

JSON.stringify() Function in JavaScript
Where to get the detailed description of the JSON.stringify() Function in JavaScript? Here is the detailed description of the JSON.stringify() Function in JavaScript. Description - The JSON.stringify() method converts a JavaScript value to a JSON string, optionally replacing values if a replacer fun...
2017-09-08, 3014👍, 0💬

Azure AD App Registration Manifest
What Azure AD App Registration Manifest? Azure AD App Registration Manifest is JSON file that contains a definition of all the attributes of an application object in the Microsoft identity platform. It also serves as a mechanism for updating the application object. Here is an example Azure AD App Re...
2022-03-29, 3013👍, 0💬

View API Details on Publisher Dashboard
How to view API details on the Publisher Dashboard of an Azure API Management Service? You can follow this tutorial to view detailed information of API on the Publisher Dashboard of an Azure API Management Service. Click on the API name from the API list to open it. You see detailed information of t...
2018-03-31, 3012👍, 0💬

Issue with "while ($c=fgetc($f))" Loop in PHP
What's Wrong with "while ($c=fgetc($f)) {}" in PHP? If you are using "while ($c=fgetc($f)) {}" to loop through each character in a file, the loop may end in the middle of the file when there is a "0" character, because PHP treats "0" as Boolean false. To properly loop to the end of the file, you sho...
2016-11-27, 3005👍, 0💬

<< < 1 2 3 4 5 6 7 8 > >>   Sort: Date