Menu Riverview Church

FILE_GET_CONTENTS

Reads entire file into a string

SYNTAX

file_get_contents ( string $filename [, bool $use_include_path = FALSE [, resource $context [, int $offset = 0 [, int $maxlen ]]]] ) : string

PARAMETERS

filename

Name of the file to read.

use_include_path

Note: The FILE_USE_INCLUDE_PATH constant can be used to trigger include path search. This is not possible if strict typing is enabled, since FILE_USE_INCLUDE_PATH is an int. Use TRUE instead.

context

A valid context resource created with stream_context_create(). If you don't need to use a custom context, you can skip this parameter by NULL.

offset

The offset where the reading starts on the original stream. Negative offsets count from the end of the stream. Seeking (offset) is not supported with remote files. Attempting to seek on non-local files may work with small offsets, but this is unpredictable because it works on the buffered stream.

maxlen

Maximum length of data read. The default is to read until end of file is reached. Note that this parameter is applied to the stream processed by the filters.

RETURN

The function returns the read data or FALSE on failure.

Warning: This function may return Boolean FALSE, but may also return a non-Boolean value which evaluates to FALSE. Please read the section on Booleans for more information. Use the identity operator (===) for testing the return value of this function.

EXAMPLES

FILENAME

<!doctype html>
<html>
<head>

    <title>osbo.com</title>
    <link href="/assets/css/" rel="stylesheet">
    <link href="/assets/ico/" rel="icon">
    <script src="/assets/js/"></script>

</head>
<body>

    <header>

        <a href="/"><img alt="osbo.com" id="header-logo" src="/assets/svg/Logo.svg" title="osbo.com"></a>
        <img alt="Menu" id="header-menu" onclick="menu()" src="/assets/svg/Menu.svg" title="Menu">
        <a href="https://samaritanspurse.org/" target="_blank"><img alt="Samaritan's Purse" id="header-banner" src="/assets/svg/SamaritansPurse.svg" title="Samaritan's Purse"></a>

    </header>
    <nav>

        <section>

            <a href="/Jesus/">Jesus</a>
            <a href="/Bible/">Bible</a>

        </section>
        <section>

            <a href="/htaccess/">.htaccess</a>
            <a href="/acme.sh/">acme.sh</a>
            <a href="/applications/">Applications</a>
            <a href="/css/">CSS</a>
            <a href="/favicon/">Favicon</a>
            <a href="/flash/">Flash</a>
            <a href="/html/">HTML</a>
            <a href="/js/">JS</a>
            <a href="/php/">PHP</a>
            <a href="/sketchup/">SketchUp</a>
            <a href="/unity/">Unity</a>
            <a href="/xcode/">Xcode</a>

        </section>
        <section>

            <a href="/about/">About</a>
            <a href="/terms/">Terms</a>

        </section>

    </nav>
    <main id="home">

        <section>

            <a href="/sevens/"><img alt="Sevens" src="/assets/svg/Sevens.svg" title="Sevens"></a>

        </section>

    </main>
    <footer>

        <a href="#" id="footer-copyright">&copy; 2020 Osbo Design</a>

    </footer>

</body>
</html>

CONTEXT

<!doctype html>
<html>
<head>

    <title>osbo.com</title>
    <link href="/assets/css/" rel="stylesheet">
    <link href="/assets/ico/" rel="icon">
    <script src="/assets/js/"></script>

</head>
<body>

    <header>

        <a href="/"><img alt="osbo.com" id="header-logo" src="/assets/svg/Logo.svg" title="osbo.com"></a>
        <img alt="Menu" id="header-menu" onclick="menu()" src="/assets/svg/Menu.svg" title="Menu">
        <a href="https://rivchurch.com/" target="_blank"><img alt="Riverview Church" id="header-banner" src="/assets/svg/RiverviewChurch.svg" title="Riverview Church"></a>

    </header>
    <nav>

        <section>

            <a href="/Jesus/">Jesus</a>
            <a href="/Bible/">Bible</a>

        </section>
        <section>

            <a href="/htaccess/">.htaccess</a>
            <a href="/acme.sh/">acme.sh</a>
            <a href="/applications/">Applications</a>
            <a href="/css/">CSS</a>
            <a href="/favicon/">Favicon</a>
            <a href="/flash/">Flash</a>
            <a href="/html/">HTML</a>
            <a href="/js/">JS</a>
            <a href="/php/">PHP</a>
            <a href="/sketchup/">SketchUp</a>
            <a href="/unity/">Unity</a>
            <a href="/xcode/">Xcode</a>

        </section>
        <section>

            <a href="/about/">About</a>
            <a href="/terms/">Terms</a>

        </section>

    </nav>
    <main id="home">

        <section>

            <a href="/Jesus-loves-the-little-children/"><img alt="Jesus Loves the Little Children" src="/assets/svg/JesusLovesTheLittleChildren.svg" title="Jesus Loves the Little Children"></a>

        </section>

    </main>
    <footer>

        <a href="#" id="footer-copyright">&copy; 2020 Osbo Design</a>

    </footer>

</body>
</html>

OFFSET

llo

MAXLEN

ll

INTERNAL

file_put_contents

EXTERNAL

PHP