Your browser must have JavaScript enabled in order to view this page.
 >  >
 
Welcome Guest#1811 Login/register    Go to Bottom
Go to Top

Procedural File: dpclient.php

SOURCE LOCATION:  /lib/dpclient.php

File Overview

Serves as a gateway between the browser and the PHP DutchPIPE server

Passes the HTTP request to the PHP server along with its environment and user variables, and returns the info retrieved from the PHP server back to the user's browser. Used to serve pages, and by the AJAX engine in dpclient-js.php. It talks to the PHP server using a fast file socket connection.

DutchPIPE version 0.4; PHP version 5

LICENSE: This source file is subject to version 1.0 of the DutchPIPE license. If you did not receive a copy of the DutchPIPE license, you can obtain one at http://dutchpipe.org/license/1_0.txt or by sending a note to license@dutchpipe.org, in which case you will be mailed a copy immediately.


SEE:  dpserver-ini.php, dpserver.php, dpclient.css
FILESOURCE:  Source Code for this file
LINK:  http://dutchpipe.org/manual/package/DutchPIPE
VERSION:  Subversion: $Id: dpclient.php 307 2007-09-01 17:16:09Z ls $
COPYRIGHT:  2006, 2007 Lennert Stock
LICENSE:  DutchPIPE License
AUTHOR:  Lennert Stock <ls@dutchpipe.org>

Includes

require_once(realpath(dirname($_SERVER['SCRIPT_FILENAME']).'/..').'/config/dpserver-ini.php'[line 32]

Gets server settings
require_once(DPSERVER_LIB_PATH.'dpmbstring_'.(!DPSERVER_ENABLE_MBSTRING||!function_exists('mb_strlen')?'disabled':'enabled').'.php'[line 49]

Provides alternatives to multibyte string functions if not supported
require_once(dpuniverse-ini.php[line 39]

Universe paths used by templates
require_once(DPSERVER_LIB_PATH.'dptemplates.php'[line 44]

Common functions for templates available to universe objects and dpclient.php
Functions

handle_ajax_request  [line 230]
void handle_ajax_request( string $output   )

Handles AJAX requests from dpclient-js.php
PARAMETERS:
string   $output:  The output from talk2server()

handle_cookies  [line 275]
void handle_cookies( string &$xml   )

Sets cookies transmitted with the xml we got from the server
PARAMETERS:
string   &$xml:  XML of the output from talk2server()

handle_normal_request  [line 333]
void handle_normal_request( string $output   )

Handles a normal page request
PARAMETERS:
string   $output:  The output from talk2server()

talk2server  [line 74]
boolean|string talk2server( )

Talks to the DutchPIPE server, returns response
RETURNS:  boolean|string  output from the DutchPIPE server, FALSE for error

Documentation generated on Mon, 03 Sep 2007 22:18:51 +0200 by phpDocumentor 1.3.0RC6

Click me!
Guest#1811
 
 
 
  Go to Top
 
 
Input Field OptionsClose Input Field Go to Top
 
Legal Notices | Copyright © 2006, 2007 Lennert Stock. All rights reserved. Last update: Mon Sep 03 2007, 21:50 CET.