|
From: ktukker <kt...@us...> - 2003-03-12 19:34:23
|
CVS commit by ktukker: * Moved examples to example directory. More examples to be added * Changed the way of usage of this package in PHP Usage ===== There are two ways to used this package. The first way is to put the flashservices into every directory you use it. This is usually done when the includepath of php only includes the local directory ( "." ) . The second way is when the flashservices library can be put into any directory that is in the includepath. 1. using local directory ------------------------ * Create a directory for your project under your Webserver documentroot. This directory should be accessable from your webbrowser (for example myproject/ , this appears under /myproject/ under the webserver) * Put the directory called "flashservices/" into the directory * Copy the contents of the example you want to run into the directory (for example examples/basic/) * Call the sample from your client. (for example http://host/myproject/discovery.php) 2. using php include_path ------------------------- * Set the include_path of your php environment. This can be done in various ways. For example you can use the php.ini, setting the variables through your apache configfiles, or use .htaccess (if allowed by the webserver) See PHP and/or apache docs for more info. * put the flashservices/ directory into the include_path. * copy the examples directory under your webserver * call them from your client. (http://host/examples/basic/discovery.php) The second way is preferred. In this way you can create multiple remoting gateways without duplicating the basic flashremoting code. CHANGES ======= * Changed includes of the files * Changed <? to <?php (where this was still left) TODO ==== * make sure this also works with php register_globals = off M +6 -5 sources/flashservices/app/Executive.php 1.4 M +9 -9 sources/flashservices/app/Gateway.php 1.3 |