<< < 10 11 12 13 14 15 16 17 18 19 20 > >>   Sort: Date

Cookies Transported from Browsers to Servers in PHP
How Cookies Are Transported from Browsers to Servers in PHP? Cookies are transported from a Web browser to a Web server in the header area of the HTTP request message. Each cookie will be included in a separate "Cookie:" header line in the following format: GET / HTTP/1.1 Cookie: name1=value1 Cookie...
2016-11-02, 339👍, 0💬

Viewing the Content of a Cookie File in PHP
How to View the Content of a Cookie File in PHP? Cookie files are normal text files. You can view them with any text editor. Follow the steps below to see what is in a cookie file created by your own PHP script. Copy the following sample script, setting_persistent_cookies.php ,to your Web server: &a...
2016-10-30, 339👍, 0💬

Real Atom XML Examples
Where to get a real Atom XML example? You can follow this tutorial to get a real Atom XML example: 1. Go to FYIcenter.com Developer Website. 2. Scroll to the bottom and click the "Atom" link. You see an Atom XML document displayed as an XML tree or as new feeds depending on the Web browser you are u...
2017-12-26, 338👍, 0💬

RSS Validation Errors at w3.org
How to read RSS validation errors at w3.org? If your RSS feed has errors, the RSS validator at w3.org will detect the errors and provide information to help you to resolve them as shown in this tutorial: 1. Go to Feed Validation Service at w3.org. 2. Click the "Validate by Direct Input" tab. You see...
2017-10-16, 338👍, 0💬

Call JSON.stringify() with Replacer Function
What is a replacer function that you can provide the JSON.stringify() function call? The replacer function is an event handler function that is called repeatedly whenever a value, an array element or an object property is stringified during the execution of the JSON.stringify() function. The replace...
2017-09-08, 338👍, 0💬

Examples of Invalid JSON Values
Where to see some Examples of Invalid JSON Values? Here are some Examples of Invalid JSON Values: 1. Invalid JSON Strings: 'John' - Wrong quotes "John says "Hello!"" - " inside the string must use escape sequence \" 2. Invalid JSON Numbers: $1.00 - Currency sign is now allowed in numbers 99.00 * 0.1...
2017-08-13, 338👍, 0💬

Values Submitted in HTML Radio Button Fields
What Are the Values Submitted on Radio Button Fields? A "radio" button input field does not allow viewers to enter any input values directly. If a form is submitted, "radio" button input fields will be submitted with values based on the following rules: If a "radio" button is not pushed, no value wi...
2017-04-15, 338👍, 0💬

Determining If a Session Is New in PHP
How To Determine If a Session Is New in PHP? There is not direct way to tell if a session is new or old. But you can design your site to have a required session value in all sessions. Then you can check the existence of this value in a session to determine if it is a new session by isset($_SESSION['...
2016-10-24, 338👍, 0💬

Use &amp; Sign in '@(...)' Expressions
How to enter &amp; sign in '@(...)' expressions? &amp; signs can be entered in '@(...)' expressions directly. For example, the following "set-variable" policy statement uses a "@(...)" expression that contains a &amp; sign: &lt;set-variable name="name" value="@("John &amp; Sons")...
2017-11-12, 337👍, 0💬

Using HTML 'textarea' Input Fields
What Is a "textarea" Tag/Element? A "textarea" element is an inline element that you can use to define a large input area in a form. Here are basic rules about a "textarea" element: "textarea" elements are inline elements. "textarea" elements can only be used as sub-elements of "form" elements. A "t...
2017-04-04, 337👍, 0💬

Cookies Transported from Servers to Browsers in PHP
How Cookies Are Transported from Servers to Browsers in PHP? Cookies are transported from a Web server to a Web browser in the header area of the HTTP response message. Each cookie will be included in a separate "Set-Cookie:" header line in the following format: Set-Cookie: name=value; expires=time;...
2016-11-02, 337👍, 0💬

Creating an Array in PHP
How To Create an Array in PHP? You can create an array using the array() constructor. When calling array(), you can also initialize the array with pairs of keys and values. Here is a PHP script on how to use array(): &lt;?php print("Empty array:\n"); $emptyArray = array(); print_r($emptyArray); ...
2016-10-15, 337👍, 0💬

Reformatting a Paragraph of Text in PHP
How To Reformat a Paragraph of Text? You can wordwrap() reformat a paragraph of text by wrapping lines with a fixed length. Here is a PHP script on how to use wordwrap(): &lt;?php $string = "TRADING ON MARGIN POSES ADDITIONAL RISKS AND IS NOT SUITABLE FOR ALL INVESTORS. A COMPLETE LIST OF THE RI...
2016-10-13, 337👍, 0💬

HTML Drop Down List 'option' Tag/Element
What Is an "option" Tag/Element? A "option" element is an inline element that you can use to define one option of a dropdown input field in a form. Here are basic rules about a "option" element: "option" elements are inline elements. "option" elements can only be used as sub-elements of "select" ele...
2017-04-01, 336👍, 0💬

Removing an Empty Directory in PHP
How To Remove an Empty Directory in PHP? If you have an empty existing directory and you want to remove it, you can use the rmdir(). Here is a PHP script example on how to use rmdir(): &lt;?php if (file_exists("/temp/download") ){ rmdir("/temp/download"); print("Directory removed.\n"); } else { ...
2016-11-24, 336👍, 0💬

RSS Online Validator at w3.org
How to use the RSS Online Validator at w3.org? You can follow this tutorial to learn how to use the RSS Online Validator at w3.org. 1. Go to Feed Validation Service at w3.org. 2. Enter the following RSS feed in the input box: http://dev.fyicenter.com/rss_x ml.php3. Click the "Check" button. You see ...
2017-11-05, 335👍, 0💬

Using Azure API Management Developer Portal
Where to find tutorials on Using Azure API Management Developer Portal? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Using Azure API Management Developer Portal: Use Developer Portal Internally What Can I See on Developer Portal What I You T...
2017-09-20, 335👍, 0💬

"cl" - Compile and Link C++ Program
How to use "cl" command tool to compile and link a C++ program? If you want to compile and link a standard C++ program with "cl" command tool, you can follow this tutorial: 1. Create a simple C++ program, Hello.cpp, with a text editor: #include &lt;iostream&gt; using namespace std; void main...
2017-08-21, 335👍, 0💬

Retrieving Values Stored in Session in PHP
How To Retrieve Values from the Current Session in PHP? If you know some values have been saved in the session by another script requested by the same visitor, you can retrieve those values back by using the pre-defined associative array called $_SESSION. The following PHP script shows you how to re...
2016-10-26, 335👍, 0💬

Add API to API Products
How to add an API to an API product for internal testing on the Publisher Portal of an Azure API Management Service? You can follow this tutorial to add an API to an API product on the Publisher Portal of an Azure API Management Service. 1. Click API from the left menu on the Publisher Portal. You s...
2017-09-20, 334👍, 0💬

Multiple JSON Schema Validation Keywords
How multiple Validation Keywords work in JSON Schema? Multiple Validation Keywords work in JSON Schema with the "AND" logic. The order of validation keywords is not important. In other words, all of them are applied individually to the JSON instance based their specified conditions. For example, the...
2017-08-25, 334👍, 0💬

Changing Fonts a Paragraph with HTML 'span'
How To Change Text Fonts for Some Parts of a Paragraph? If you want to change text fonts or colors for some parts of a paragraph, you can use "span" element with "style" attributes to specify font and color information as CSS properties. Here is a tutorial example of using "span" elements to change ...
2017-03-07, 334👍, 0💬

Counting the Number of Characters in PHP
How To Count the Number of Characters in a String? You can use the "strlen()" function to count the number of characters in a string. Here is a PHP script example of strlen(): &lt;?php print(strlen('It\'s Friday!')); ?&gt; This script will print: 12   ⇒PHP Built-in Functions for Strings ⇒⇒P...
2016-10-13, 334👍, 0💬

Converting Strings to Upper/Lower Case in PHP
How To Convert Strings to Upper or Lower Cases? Converting strings to upper or lower cases are easy. Just use strtoupper() or strtolower() functions. Here is a PHP script on how to use them: &lt;?php $string = "PHP string functions are easy to use."; $lower = strtolower($string); $upper = strtou...
2016-10-13, 334👍, 0💬

<< < 10 11 12 13 14 15 16 17 18 19 20 > >>   Sort: Date