<< < 5 6 7 8 9 10 11 12 13 14 15 > >>   Sort: Date

Use Custom Variables in Policy Expressions
How to use custom variables created by "set-variable" statements in policy expressions? If you want to access custom variables created by "set-variable" statements, you can use the IReadOnlyDictionary object through "context.Variables". For example, the following policy creates a custom variable dur...
2018-01-24, 2414🔥, 0💬

"Hello.c" - Compile and Run C Program
How to use Visual Studio command tools to compile and run a C program? If you want to compile and run a standard C program with Visual Studio command tools, you can follow this tutorial: 1. Create a simple C program, Hello.c, with a text editor: #include &lt;stdio.h&gt; void main() { printf(...
2017-08-21, 2399🔥, 0💬

Add Operation to API on Publisher Portal - 2017 Version
How to add a new operation to an API on the Publisher Portal of an Azure API Management Service 2017 version? 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 API from the left menu on the Publisher Portal. You see the...
2018-07-18, 2394🔥, 0💬

What Is a Persistent Cookie in PHP
What Is a Persistent Cookie in PHP? A persistent cookie is a cookie which is stored in a cookie file permanently on the browser's computer. By default, cookies are created as temporary cookies which stored only in the browser's memory. When the browser is closed, temporary cookies will be erased. Yo...
2016-11-04, 2393🔥, 0💬

json_decode() - JSON Object to PHP Object
How to access properties from the PHP object returned from json_decode() on a JSON object? By default, json_decode() will convert a JSON Object to a PHP object of the default class "stdClass". There are different ways to access properties in the output PHP object: $obj-&gt;property_name - Return...
2018-03-04, 2392🔥, 0💬

Reading One Line of Text from a File in PHP
How To Read One Line of Text from a File in PHP? If you have a text file with multiple lines, and you want to read those lines one line at a time, you can use the fgets() function. It reads the current line up to the "\n" character, moves the file pointer to the next line, and returns the text line ...
2016-12-02, 2392🔥, 0💬

Supporting Hidden Form Fields in PHP
How To Support Hidden Form Fields in PHP? Hidden fields are special fields in a form that are not shown on the Web page. But when the form is submitted, values specified in the hidden fields are also submitted to the Web server. A hidden field can be specified with the &lt;INPUT TYPE=HIDDEN ...&...
2016-11-08, 2390🔥, 0💬

What Is a Result Set Object in PHP
What Is a Result Set Object in PHP? A result set object is a logical representation of data rows returned by mysql_query() function on SELECT statements. Every result set object has an internal pointer used to identify the current row in the result set. Once you get a result set object, you can use ...
2016-10-20, 2388🔥, 0💬

Introduction of EPUB 2.0 Specification
Where to find tutorials on introduction of EPUB 2.0 Specification? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on introduction of EPUB 2.0 Specification. What Is EPUB 2.0 Specification Minimum Requirement of EPUB 2.0.1 File Hello-2.0.epub - "m...
2019-01-12, 2365🔥, 0💬

Removing Leading and Trailing Spaces in PHP
How To Remove Leading and Trailing Spaces from User Input Values? If you are taking input values from users with a Web form, users may enter extra spaces at the beginning and/or the end of the input values. You should always use the trim() function to remove those extra spaces as shown in this PHP s...
2016-10-13, 2365🔥, 0💬

"fabric-ca-client enroll" Error - "Failed to insert"
Why am I getting the "Certificate signing failure: Failed to insert record into database: attempt to write a readonly database" error, when running the "fabric-ca-client enroll" command? If the Fabric CA Server is not able to update its database, you will get the "Certificate signing failure: Failed...
2019-09-27, 2361🔥, 0💬

'@{...}' Expression Blocks in Azure API Policy
How to use the "@{...}" expression block in Azure API Policy? The "@{...}" expression block in Azure API Policy can be used to include a C# statement block as the attribute value or text value in most policy statements. C# statement block in the "@{...}" expression block must end with a "return" sta...
2018-02-14, 2361🔥, 0💬

json.tool - JSON Pretty-Print Tool
What is json.tool? Can I use it to convert a JSON string a pretty-print format? json.tool is a special internal executable module - a module with main() so you can run it as Python script. When you run json.tool, (or json.module.main()), it will read a JSON string from the stand input and write the ...
2018-09-24, 2359🔥, 0💬

Working with MySQL Database in PHP
Where to find tutorials on how to work with MySQL Database in PHP? A collection of tutorials to answer many frequently asked questions on how to Work with MySQL Database in PHP. Clear explanations and tutorial exercises are provided on connecting and selecting MySQL database, creating and dropping t...
2016-10-22, 2345🔥, 0💬

EPUB 2.0 Metadata in Calibre Book Library
How to view EPUB 2.0 metadata in Calibre book Library? You can follow this tutorial to view EPUB 2.0 metadata in Calibre book library. 1. Click Row-Your-Boat-2.0.epub to download this sample EPUB 2.0 book. 2. Unzip and open package.opf. You see the following metadata elements: &lt;package xmlns=...
2019-01-12, 2333🔥, 0💬

View Atom Feeds with Chrome Extension
How to View Atom Feeds with Google Chrome? I have the "Atom Subscription Extension" installed. If you have the "Atom Subscription Extension" installed, you can follow this tutorial to view Atom Feeds: 1. Launch Google Chrome 60. 2. Enter the following in the URL input box: http://dev.fyicenter.com/a...
2017-12-31, 2329🔥, 0💬

JSON-parse-Transformed.html - JSON.parse() Value Transformed
How to write a reviver function to transform values while the JSON.parse() function is parsing the JSON text string? Below is a good example on using a reviver function with the JSON.parse() call to transform parsed JSON element values: &lt;!-- JSON-parse-Transformed.html Copyright (c) FYIcenter...
2017-09-08, 2325🔥, 0💬

Uploading Files into Database in PHP
How To Upload Files into Database in PHP? To store uploaded files to MySQL database, you can use the normal SELECT statement as shown in the modified processing_uploaded_files.php listed below: &lt;?php $con = mysql_connect("localhost", "", ""); mysql_select_db("fyi"); $error = $_FILES['fyicente...
2017-02-20, 2324🔥, 1💬

💬 2017-02-20 Jonas: Thanks for the sample code!

HTTP POST with urllib.request
How to send an HTTP POST request with urllib.request? I want to submit a form to a Website. To submit a form to a Website, you can use the urllib.request.urlopen() function with two arguments: r = urllib.request.urlopen(url, data) where: url can be a URL string or Request object data is request body...
2018-09-13, 2322🔥, 0💬

"docker container run --detached" - Run Container in Background
How to Create a new Container and run it in the background using the "docker container run --detach" command? If you want to create an Alpine container and start a command that runs for a long time, you can use the --detach option to let it run in the background. 1. Create a new container with "alpi...
2018-12-01, 2320🔥, 0💬

Write Minimum Atom 1.0 Feed File
How to write a Minimum Atom 1.0 Feed File? If you want your Website to support a minimum Atom 1.0 feed, you can follow this tutorial. 1. First create a file called "atom.xml" with the following content: &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;feed xmlns="http://www.w3.org/2005/ A...
2017-12-13, 2319🔥, 0💬

Connecting to a MySQL Server in PHP
How To Connect to MySQL from a PHP Script in PHP? If you want access the MySQL server, you must create a connection object first by calling the mysql_connect() function in the following format: $con = mysql_connect($server, $username, $password); If you are connecting to a local MySQL server, you do...
2016-10-20, 2314🔥, 0💬

Use '@(...)' Expressions in XML Attributes
When using "@(...)" expressions in XML attributes as part of an policy statement, do I need to worry about string quotations? If you are using a "@(...)" expression in XML attributes as part of an policy statement, and string literals are used in the "@(...)" expression, the syntax of the final poli...
2017-11-12, 2313🔥, 0💬

XML to JSON Conversion
Where to find tutorials on XML to JSON Conversion? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on XML to JSON Conversion: Issues of Converting XML to JSON Mapping XML Attributes to JSON Values Mapping XML Simple Elements to JSON Values Mapping...
2023-09-05, 2303🔥, 0💬

<< < 5 6 7 8 9 10 11 12 13 14 15 > >>   Sort: Date