Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/hessianphp/htdocs/pmwiki.php on line 242

Warning: Cannot modify header information - headers already sent by (output started at /home/project-web/hessianphp/htdocs/pmwiki.php:242) in /home/project-web/hessianphp/htdocs/pmwiki.php on line 727
HessianPHP | UserGuide / ServerConfiguration
Recent Changes - Search:

Documents

Community

Related Projects

Powered by PmWiki

ServerConfiguration

There are two options that can be configured in HessianPHP services:

Display an informative page

A service can display a web page listing the available methods that can be called from there. This page will show if you go to the url with a web brower. It's activated by setting the $displayInfo flag to true, for example:

$service->displayInfo = true;

Enable calling of methods that start with underscore

Starting the name of a method with an underscore it's a convention used by many PHP developers to denote "private" members of a class and since any object can be published as a service in HessianPHP, it makes sense not to publish private members to the world. In PHP5, HessianPHP makes sure any private or protected method does not get called at all. HessianPHP will not allow calling of underscored methods by default but this setting can be overriden if you set the $underscoreInclude variable to true in the service object, like this:

$service->underscoreInclude = true;

Now, methods like _init() or __instance() can be perfectly called from a remote client, but this can be dangerous so be careful when using this feature.


Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/hessianphp/htdocs/pmwiki.php(461) : regexp code on line 1
Edit - History - Print - Recent Changes - Search
Page last modified on December 21, 2005, at 03:19 AM

Warning: fopen(wiki.d/.flock): failed to open stream: Permission denied in /home/project-web/hessianphp/htdocs/pmwiki.php on line 355

PmWiki can't process your request

Cannot acquire lockfile

We are sorry for any inconvenience.