php man page for gupnp_context_host_path

Query: gupnp_context_host_path

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

GUPNP_CONTEXT_HOST_PATH(3)						 1						GUPNP_CONTEXT_HOST_PATH(3)

gupnp_context_host_path - Start hosting

SYNOPSIS
bool gupnp_context_host_path (resource $context, string $local_path, string $server_path)
DESCRIPTION
Start hosting $local_path at $server_path. Files with the path $local_path.LOCALE (if they exist) will be served up when LOCALE is speci- fied in the request's Accept-Language header.
PARAMETERS
o $context - A context identifier, returned by gupnp_context_new(3). o $local_path - Path to the local file or folder to be hosted. o $server_path - Web server path where $local_path should be hosted.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1 Create new UPnP context and set host path <?php /* Create the UPnP context */ $context = gupnp_context_new(); if (!$context) { die("Error creating the GUPnP context "); } /* Host current directory */ gupnp_context_host_path($context, "./web", ""); ?>
SEE ALSO
gupnp_context_new(3), gupnp_context_unhost_path(3). PHP Documentation Group GUPNP_CONTEXT_HOST_PATH(3)
Related Man Pages
stream_context_set_default(3) - php
xdiff_file_diff(3) - php
stream_context_get_default(3) - php
cairo_close_path(3) - php
gupnp_context_timeout_add(3) - php
Similar Topics in the Unix Linux Community
Consused what mail server (there's too many)
Web hosting security
Alternative to Port 25
Shared hosting, how to install programs and libraries in your home folder
Best Linux/UNIX-based website hosting service?