<< < … 16 17 18 19 20 21 22 23 24 25 26 … > >>   ∑:1482  Sort:Date

Specifying Argument Default Values in PHP
How To Specify Argument Default Values? in PHP? If you want to allow the caller to skip an argument when calling a function, you can define the argument with a default value when defining the function. Adding a default value to an argument can be done like this "function name($arg=expression){}. Her...
2016-12-04, ∼3280🔥, 0💬

Introduction of JSON
Where to find tutorials in understanding what is JSON? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team in understanding what is JSON. What Is JSON? JSON Text String Example JSON Format Syntax Examples of Invalid JSON Values   ⇒ What Is JSON? ⇐ JS...
2023-04-25, ∼3279🔥, 0💬

Hello-2.0.epub - Content File: content.xhtml
How to create a content file like content.xhtml for an EPUB 2.0.1 book? At least one content file, like content.xhtml, is required for an EPUB 2.0.1 book in the book ZIP container. It provides the content of the book. Here is the requirement on a content file: 1. A content file must be named with .x...
2021-04-04, ∼3278🔥, 0💬

Testing the Session Garbage Collection Process in PHP
How To Test the Session Garbage Collection Process in PHP? In order to test the session garbage collection process, you need to change the settings to expire session variables in 10 seconds and run the process on every request: session.gc_probability = 1 session.gc_divisor = 1 session.gc_maxlifetime...
2016-10-24, ∼3278🔥, 0💬

Understanding PHP Arrays and Their Basic Operations
Where to find tutorials in Understanding PHP Arrays and Their Basic Operations? A collection of tutorials to answer many frequently asked questions on basic understanding of PHP arrays. Clear answers are provided with tutorial exercises on declaring and creating arrays, assigning and retrieving arra...
2016-10-15, ∼3277🔥, 0💬

BYFN (Build Your First Network)
Where to find tutorials on Hyperledger Fabric BYFN (Build Your First Network)? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Hyperledger Fabric BYFN (Build Your First Network). "first-network" - Building Your First Network "byfn.sh generate" ...
2020-05-15, ∼3275🔥, 0💬

What Is Python Module 'requests'
What Is Python module "requests"? "requests" is a Python external module that allows you to send organic, grass-fed HTTP/1.1 requests, without the need for manual labor. There’s no need to manually add query strings to your URLs, or to form-encode your POST data. Main features of "requests" module: ...
2018-09-01, ∼3273🔥, 0💬

How Sessoion IDs Are Transferred in PHP
How Session IDs Are Transferred on Your Web Server in PHP? As you know there are two options the PHP engine can use to transfer session IDs to the client browsers. But how to do know which option is your PHP engine is using? The PHP sample script will help you to find out: &lt;?php session_start...
2016-10-25, ∼3271🔥, 0💬

User Flow Policies on Azure AD B2C
What are User Flow Policies on Azure AD B2C? A user flow policy on Azure AD B2C is a set of rules that define UI behavior of when your end user performs one of the following flows: 1. "Sign-up or sign-in" - The UI page displayed for your end users to sign-up or sign-in to your application using Azur...
2019-03-08, ∼3265🔥, 0💬

'trace' Policy Statement
How to use the "trace" Policy Statement for an Azure API service operation? The "trace" policy statement allows you to generate debugging messages into the API trace output. The "trace" statement can be used in any policy blocks in the policy XML document. The "trace" statement has the following syn...
2018-03-10, ∼3263🔥, 0💬

Creating a Web Form in PHP
How To Create a Web Form in PHP? If you take input data from visitors on your Web site, you can create a Web form with input fields to allow visitors to fill in data and submit the data to your server for processing. A Web form can be created with the &lt;FORM&gt; tag with some input tags. T...
2016-11-17, ∼3263🔥, 0💬

Sorting an Array by Keys in PHP
How To Sort an Array by Keys in PHP? Sorting an array by keys can be done by using the ksort() function. It will re-order all pairs of keys and values based on the alphanumeric order of the keys. Here is a PHP script on how to use ksort(): &lt;?php $mixed = array(); $mixed["Zero"] = "PHP"; $mixe...
2017-01-21, ∼3254🔥, 0💬

Generating and Processing Form with the Same Script in PHP
How To Generate and Process a Form with the Same Script in PHP? In previous exercises, a Web form is generated by one script, and processed by another script. But you could write a single script to do both. You just need to remember to: Use same script name as the form generation script in the "acti...
2016-11-08, ∼3254🔥, 0💬

Converting Strings to Numbers in PHP
How To Convert Strings to Numbers? In a numeric context, PHP will automatically convert any string to a numeric value. Strings will be converted into two types of numeric values, double floating number and integer, based on the following rules: The value is given by the initial portion of the string...
2016-10-13, ∼3254🔥, 0💬

What Is Python Module 'urllib'
What Is Python module "urllib"? "urllib" is a Python internal module that allows you to communicate with Internet resources that are represented by URLs. Two main Internet protocols are supported: HTTP and FTP. The current version of "urllib" module is divided into 4 sub-modules: urllib.request - fo...
2018-09-24, ∼3249🔥, 0💬

"MathFuncsLib.cpp" - Build Static Library
How to build a C++ static library with Visual Studio command tools? The next step to create a static library is to create library source code and build the library .lib file as shown in this tutorial: 1. Create the C++ source file, MathFuncsLib.cpp, with a text editor: // MathFuncsLib.cpp // compile...
2023-10-15, ∼3248🔥, 0💬

Saving Values in the Session in PHP
How To Save Values to the Current Session in PHP? When session is turned on, a session will be automatically created for you by the PHP engine. If you want to save any values to the session, you can use the pre-defined associative array called $_SESSION. The following PHP script shows you how to sav...
2023-12-25, ∼3247🔥, 1💬

Writing a String to a File with a File Handle in PHP
How To Write a String to a File with a File Handle in PHP? If you have a file handle linked to a file opened for writing, and you want to write a string to the file, you can use the fwrite() function. It will write the string to the file where the file pointer is located, and moves the file pointer ...
2016-11-27, ∼3246🔥, 0💬

Escape Sequences in Single-Quoted Strings in PHP
How Many Escape Sequences Are Recognized in Single-Quoted Strings? There are two special characters you need to escape in a single-quote string: the single quote (') and the back slash (\). Here is a PHP script example of single-quoted strings: &lt;?php echo 'Hello world!'; echo 'It\'s Friday!';...
2016-10-13, ∼3244🔥, 0💬

Top Level Policy for All Azure APIs
How to view and edit the top level policy for all Azure APIs? Be default, Azure automatically creates a top level policy for all APIs. In the top level policy, the "forward-request" policy statement is added in the "backend" section automatically forward client request to the backend service. But if...
2018-03-24, ∼3243🔥, 0💬

Inserting Rows Based on SELECT Statement in PHP
How To Insert Rows Based on SELECT Statements in PHP? If want to insert rows into a table based on data rows from other tables, you can use a sub-query inside the INSERT statement as shown in the following script example: &lt;?php include "mysql_connection.php"; $sql = "INSERT INTO fyi_links" . ...
2016-10-20, ∼3243🔥, 0💬

JSON Schema Validation Keywords
How many validation keywords are supported in JSON Schema? The current JSON Schema specification supports 29 validation keywords: "multipleOf" - If the JSON instance is a number, it must be a multiple of the given value. "maximum" - If the JSON instance is a number, it must be less than or equal to ...
2017-09-01, ∼3241🔥, 0💬

What Is OpenID Connect
What Is OpenID Connect? OpenID Connect is a newer version of OpenID. OpenID Connect 1.0 was released in February 2014. OpenID and OpenID Connect releases: Version Release date OpenID Connect 1.0 February 4, 2014 OpenID 2.0 December 5, 2007 OpenID 1.1 May 2006 OpenID 1.0 Here is a picture of OpenID C...
2019-01-20, ∼3239🔥, 0💬

Install Docker CE on CentOS with YUM
How to install Docker CE (Community Edition) on CentOS with YUM tool? You can follow this tutorial to install Docker CE on CentOS with YUM tool. 1. Verify OS, Kernel and Architecture: fyicenter$ hostnamectl Operating System: CentOS Linux 7 (Core) Kernel: Linux 3.10.0-693.5.2.el7.x86_64 Architecture:...
2023-03-17, ∼3238🔥, 0💬

<< < … 16 17 18 19 20 21 22 23 24 25 26 … > >>   ∑:1482  Sort:Date