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

json_decode() - JSON Object to PHP Associative Array
How to convert JSON Objects to PHP Associative Arrays using the json_decode() function? Actually, JSON Objects match better with PHP Associative Arrays than PHP Objects. You can force json_decode() function to turn return PHP Associative Arrays for any JSON Objects by giving the second argument as "...
2018-03-04, 1917👍, 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, 1904👍, 1💬

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

EPUB 2.0 Picture Cover Page
How to add a cover page to an EPUB 2.0 book? EPUB 2.0 does not offer any special specification to define a cover page. So the first page of book content is the cover of the book. If you don't want the cover page (the first page in "spine" list) to show up in the linear reading flow, you can use the ...
2019-01-12, 1883👍, 0💬

Using .NET CLR Types in Azure API Policy
How to use .NET CLR Types in Azure API Policy? By default, Azure imports many basic .NET CLR (Common Language Runtime) types into the API policy execution environment. Imported .NET CLR types can be used in any "@(...)" expressions or "@{...}" expression blocks. For example, the following "@{...}" e...
2018-01-24, 1880👍, 0💬

dev.FYIcenter.com Links
Tools, FAQ, Tutorials: JSON Validator/Formatter JSON to XML Converter XML to JSON Converter JSON FAQ &amp; Tutorials Python FAQ &amp; Tutorials PHP FAQ &amp; Tutorials OpenID FAQ &amp; Tutorials EPUB FAQ &amp; Tutorials XHTML Tutorials CSS Tutorials RSS FAQ &amp; Tutorials Vi...
2019-01-12, 1870👍, 0💬

PHP Built-in Functions for Arrays
Where to find tutorials on how to use PHP built-in functions to manage arrays? A collection of tutorials to answer many frequently asked questions on how to PHP functions to manage arrays. Clear answers are provided with tutorial exercises on searching keys and values, sorting arrays, merging two ar...
2017-01-29, 1870👍, 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, 1868👍, 0💬

HTML 'em' Tag/Element
What Is an HTML "em" Tag/Element? An "em" element is an inline element that you can use to specify text with a normal emphasis. Here are basic rules about "em" elements: "em" elements are inline elements. "em" elements can not be used at block level. Contents of "em" elements will be displayed in it...
2017-04-28, 1860👍, 0💬

XML to JSON Conversion at utilities-online.info
How to use the XML to JSON Conversion Tool at utilities-online.info? If you want to try the XML to JSON Conversion Tool at utilities-online.info, you can follow this tutorial: 1. Go to the XML to JSON Conversion Tool page at utilities-online.info. 2. Enter the following XML document in the XML text ...
2018-03-18, 1854👍, 0💬

HTML http-equiv 'meta' Tag/Element
What Is an HTML http-equiv "meta" Tag/Element? a http-equiv "meta" element is a special "meta" element that provides information equivalent to HTTP headers. A http-equiv "meta" element must include the "http-equiv" attribute as, http-equiv="Content-Type". Here is some good examples: &lt;meta htt...
2017-06-23, 1850👍, 0💬

View EPUB 2.0 Metadata List with Calibre
How to see more EPUB 2.0 metadata list with Calibre? You can follow this tutorial to view EPUB 2.0 metadata list with Calibre. 1. Click Row-Your-Boat-2.0.epub to download this sample EPUB 2.0 book. 2. Add Row-Your-Boat-2.0.epub to Calibre book library. You see some EPUB 2.0 metadata displayed below ...
2019-01-12, 1828👍, 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, 1826👍, 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, 1817👍, 0💬

What Is RSS (Rich Site Summary)
What Is RSS (Rich Site Summary)? RSS (Really Simple Syndication) is a type of Web syndication or feed in XML format which allows users to access updates of a Website in a standardized format. RSS originally called RDF (Resource Description Framework) Site Summary. RSS is also called Rich Site Summar...
2018-01-08, 1805👍, 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, 1803👍, 0💬

'set-backend-service' Policy Statement
How to use the "set-backend-service" Policy Statement for an Azure API service operation? The "set-backend-service" Policy Statement is actually overriding the API setting "Web service URL" to specify the backend service base URL. For example, if you create an API with the following settings: FYIcen...
2017-12-04, 1799👍, 0💬

Testing the strpos() Return Value in PHP
What Is the Best Way to Test the strpos() Return Value? Because strpos() could two types of values, Integer and Boolean, you need to be careful about testing the return value. The best way is to use the "Identical(===)" operator. Do not use the "Equal(==)" operator, because it does not differentiate...
2016-10-13, 1787👍, 0💬

Looping through an Array without "foreach" in PHP
How To Loop through an Array without Using "foreach" in PHP? PHP offers the following functions to allow you loop through an array without using the "foreach" statement: reset($array) - Moves the array internal pointer to the first value of the array and returns that value. end($array) - Moves the a...
2017-01-05, 1781👍, 0💬

JSON-stringify-Object.html - JSON.stringify() on Objects
How JSON.stringify() behaves on JavaScript objects? When processing an object, JSON.stringify() behave depending on the type of objects based on the following rules: Boolean, Number, and String objects are converted to the corresponding primitive JSON values during stringification. Date objects are ...
2017-09-08, 1775👍, 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, 1774👍, 0💬

Atom XML Schema at ogcnetwork.net
Where Can I get a copy of the Atom XML Schema? A XSD (XML Schema Definition) file contains a set of definitions of XML elements and attributes to form a new XML based specification. The same DTD file can be used to validate XML files that comply with the new specification. Atom feed is an XML based ...
2018-01-06, 1774👍, 0💬

Comparing Two Strings with strcmp() in PHP
How To Compare Two Strings with strcmp()? PHP supports 3 string comparison operators, &lt;, ==, and &gt;, that generates Boolean values. But if you want to get an integer result by comparing two strings, you can the strcmp() function, which compares two strings based on ASCII values of their...
2016-10-13, 1773👍, 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, 1765👍, 0💬

Using isset($_REQUEST('name')) in PHP
How To Avoid the Undefined Index Error in PHP? If you don't want your PHP page to give out errors as shown in the previous exercise, you should consider checking all expected input fields in $_REQUEST with the isset() function as shown in the example script below: &lt;?php if (isset($_REQUEST['n...
2016-11-15, 1761👍, 0💬

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