Menu Samaritan's Purse

STREAM_GET_CONTENTS

Reads remainder of a stream into a string

SYNTAX

stream_get_contents ( resource $handle [, int $maxlength = -1 [, int $offset = -1 ]] ) : string

PARAMETERS

handle

A stream resource (e.g. returned from fopen())

maxlength

The maximum bytes to read. Defaults to -1 (read all the remaining buffer).

offset

Seek to the specified offset before reading. If this number is negative, no seeking will occur and reading will start from the current position.

RETURN

Returns a string or FALSE on failure.

EXAMPLES

HANDLE

<!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>

MAXLENGTH

<!doctype html>

OFFSET

<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="/one-man-one-woman-one-lifetime/"><img alt="One Man. One Woman. One Lifetime." src="/assets/svg/OneManOneWomanOneLifetime.svg" title="One Man. One Woman. One Lifetime."></a>

        </section>

    </main>
    <footer>

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

    </footer>

</body>
</html>

PHP