<< < 19 20 21 22 23 24 25 26 27 28 29 > >>   Sort: Date

Function Calling Expressions
How to call a function in an expression in Python? To call a function and execute its statement block in an expression, you can enter the function name followed by a list of values to be assigned to parameters defined in the function. For example, the profile("Joe",25) expression calls the "profile(...
2023-03-22, 1550🔥, 2💬

Function Calling Expressions
How to call a function in an expression in Python? To call a function and execute its statement block in an expression, you can enter the function name followed by a list of values to be assigned to parameters defined in the function. For example, the profile("Joe",25) expression calls the "profile(...
2023-03-22, 1550🔥, 2💬

Build Implicit Flow with Azure AD v2
How to implement the OpenID Implicit Flow with Azure AD v2.0 service? If you want to implement the OpenID Implicit Flow in your Web application to use Azure AD service, you should follow these steps: 1. Building the Azure AD v2.0 Sign-on authentication request: Register your Web application to the A...
2019-04-03, 1550🔥, 0💬

Retrieving All Keys from an Array in PHP
How To Get All the Keys Out of an Array in PHP? Function array_keys() returns a new array that contains all the keys of a given array. Here is a PHP script on how to use array_keys(): &lt;?php $mixed = array(); $mixed["Zero"] = "PHP"; $mixed[1] = "Perl"; $mixed["Two"] = "Java"; $mixed["3"] = "C+...
2017-01-21, 1550🔥, 0💬

Turning on the Session Support in PHP
How To Turn on the Session Support in PHP? The session support can be turned on automatically at the site level, or manually in each PHP page script: Turning on session support automatically at the site level: Set session.auto_start = 1 in php.ini. Turning on session support manually in each page sc...
2016-10-29, 1548🔥, 0💬

Mistake on Setting Cookie Path and Domain in PHP
What Is the Common Mistake When Setting Path and Domain on Temporary Cookies in PHP? A common mistake made by many PHP developers is using an empty string for the expiration time parameter when setting path and domain for temporary cookies. The PHP script below shows an example of this mistake: &...
2016-11-03, 1547🔥, 0💬

Subscribe to RSS Feeds with IE
How to Subscribe to RSS Feeds with IE (Internet Explorer)? If you want to subscribe to RSS Feeds with IE (Internet Explorer), you can follow this tutorial: 1. Launch IE (Internet Explorer) 11. 2. Enter the following in the URL input box and press "Enter": http://dev.fyicenter.com/rss_x ml.php3. Clic...
2023-12-07, 1545🔥, 2💬

💬 2023-12-07 FYIcenter.com: @Bamini, the RSS link is fixed now.

💬 2023-12-05 Bamini Hanthanege Menuka Vishal: RSS feed privacy policy login information on my account to defined

Browsers Supporting Multiple HTML Forms
Do Browsers Support Multiple Forms? HTML does allow you to create multiple forms in a single XHTML document. Most browsers will display and handle multiple forms properly. If click a submit button in one form, browsers will submit input data only for that one form. Input data from other forms will b...
2017-04-01, 1545🔥, 0💬

JSON-parse-Error.html - JSON.parse() Errors
How to catch errors when calling the JSON.parse() function in JavaScript? If you want to catch errors when calling the JSON.parse() function in JavaScript, you can follow this tutorial: 1. Use the "try {...} catch {...}" block to catch the error object throw from the JSON.parse() function, as shown ...
2023-09-07, 1544🔥, 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, 1544🔥, 0💬

Number of Cookies Supported in PHP
How Many Cookies Can You Set in PHP? How many cookies can you set in your PHP page? The answer is depending what is the Web browser your visitor is using. Each browser has its own limit: Internet Explorer (IE): 20 Mozilla Firefox: 50 If you want to test this limit, copy this sample script, how_many_...
2016-10-30, 1543🔥, 0💬

Returning a Value from a Function in PHP
How To Return a Value Back to the Function Caller? in PHP? You can return a value to the function caller by using the "return $value" statement. Execution control will be transferred to the caller immediately after the return statement. If there are other statements in the function after the return ...
2016-12-24, 1542🔥, 0💬

View Policy of an API Operation
How to View Policy of an API Operation? My API operation is not calling the backend service. If your API operation is not calling the backend service, you need to view the policy of the API operation to see why backend service is not called. 1. Go to the publisher dashboard of the API Management Ser...
2018-03-24, 1539🔥, 0💬

Two-Organization Hyperledger Fabric Network
What is the simplest Hyperledger Fabric Network for two organizations? The simplest Hyperledger Fabric Network for two organizations consists of 3 systems: an orderer and a peer managed by first organization, and another peer managed by the second organization. If the second organization does not fu...
2020-01-29, 1537🔥, 0💬

Function with Undefined Number of Arguments in PHP
How To Define a Function with Any Number of Arguments? in PHP? If you want to define a function with any number of arguments, you need to: Declare the function with no argument. Call func_num_args() in the function to get the number of the arguments. Call func_get_args() in the function to get all t...
2016-12-04, 1537🔥, 0💬

Options to Transfer Session IDs in PHP
What Are Options to Transfer Session IDs in PHP? Once a new session is created, its session ID must be transferred to the client browser and included in the next client request, so that the PHP engine can find the same session created by the same visitor. The PHP engine has two options to transfer t...
2016-10-26, 1537🔥, 0💬

JSON to XML Conversion at jsonformatter.org
How to use the JSON to XML Conversion Tool at jsonformatter.org? If you want to try the JSON to XML Conversion Tool at jsonformatter.org, you can follow this tutorial: 1. Go to the JSON to XML Conversion Tool page at jsonformatter.org. 2. Enter the following JSON value in the text area: ["Hello", 3....
2023-09-05, 1536🔥, 0💬

Azure AD v2 OpenID Metadata Document
What is the Azure AD v2.0 OpenID Metadata Document? Azure AD v2.0 OpenID Metadata Document is an online JSON document that contains most of the information required for an app to perform sign-in. This includes information such as the URLs to use and the location of the service's public signing keys....
2021-01-09, 1536🔥, 0💬

What Is Atom Syndication Format
What Is RSS Syndication Format? Atom Syndication Format is a type of Web syndication or feed in XML format which allows users to access updates of a Website in a standardized format. The Atom Syndication Format was issued as a Proposed Standard in IETF RFC 4287 in December 2005 . Atom feeds are comp...
2017-11-02, 1534🔥, 0💬

The Default Policy
What is the default policy for an Azure API operation? The default policy for an Azure API operation is the following: &lt;!-- Default-Policy.xml Copyright (c) FYIcenter.com --&gt; &lt;policies&gt; &lt;inbound&gt; &lt;/inbound&gt; &lt;backend&gt; &lt;forwa...
2023-03-27, 1533🔥, 1💬

What Is PHP JSON Extension
What Is the PHP JSON Extension? The PHP JSON Extension is a standard extension included in the PHP distribution since PHP 5.2.0 version to support JavaScript Object Notation (JSON) data-interchange format defined in RFC 7159. The PHP JSON Extension provides 4 main functions: json_decode() — Decodes ...
2023-02-28, 1531🔥, 0💬

Sending an HTTP Request with 'requests'
How to send an HTTP request? I have the "requests" module installed now. The "requests" module provides 6 static functions to support 6 HTTP request types: &gt;&gt;&gt; r = requests.get(url) &gt;&gt;&gt; r = requests.post(url, data = {'key':'value'}) &gt;&gt;&gt; ...
2018-09-01, 1528🔥, 0💬

Mapping XML Elements with Mixed Contents to JSON Values
What is the standard to map XML elements with mixed contents to JSON values? There seems to be no industry standard on how to map XML elements with mixed contents to JSON values. But there are some commonly used conventions: 1. Converting text content in an XML complex element to a JSON object prope...
2017-08-17, 1528🔥, 0💬

Copying a File in PHP
How To Copy a File in PHP? If you have a file and want to make a copy to create a new file, you can use the copy() function. Here is a PHP script example on how to use copy(): &lt;?php unlink("/temp/myPing.exe"); copy("/windows/system32/ping.e xe","/temp/myPing.exe"); if (file_exists("/temp/myPi...
2016-11-20, 1526🔥, 0💬

<< < 19 20 21 22 23 24 25 26 27 28 29 > >>   Sort: Date