Commit Graph

18 Commits

Author SHA1 Message Date
marian 2799ffcfdd Added new function used to escape and concatenate message parameters: old function raises a warning in newer PHP versions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6534 acf43c95-373e-0410-b603-e72c3f656dc1
2022-01-04 13:44:35 +00:00
marian 76f34963e6 Replaced usage of curly brackets with square brackets in string element access.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6529 acf43c95-373e-0410-b603-e72c3f656dc1
2021-12-06 09:10:12 +00:00
marian 3da9ab068f Extended Yate Output and Debug functions to support the 'debug' function of extmodule and send an escaped string.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6473 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-01 09:12:08 +00:00
monica a017421895 Fixes to remove warnings when running in php7.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6464 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-12 11:34:37 +00:00
paulc 7f58764ca4 Honor the PHP error reporting settings and the @ suppression operator.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6424 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-01 10:58:05 +00:00
paulc 8941a23e94 Handle retryable errors caused by interrupted system calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6423 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-01 10:01:32 +00:00
paulc 78e486e6c0 Allow restarting external modules only if we started them.
Add address in status information for inbound connections.
Added Yate::Quit() function in PHP library.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6078 acf43c95-373e-0410-b603-e72c3f656dc1
2015-12-15 11:30:07 +00:00
paulc 9a2ddd019e Added support for resizing the extmodule read buffer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6075 acf43c95-373e-0410-b603-e72c3f656dc1
2015-12-02 16:16:52 +00:00
paulc 2c7bd66168 Do not flush the output when connecting over a PHP socket, it is useless and causes "Headers already sent" when used from a Web server.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6011 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-30 12:48:32 +00:00
paulc 37a72e4bc1 Added copyright notices to sources and scripts missing them.
Updated copyright notices for 2014.
Fixed end of lines in many files.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
paulc cf5d0fd71a Changed license terms in each source file to reference an external file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
paulc db6a2ae562 If socket connection is required by libyate.php check if the PHP sockets extension is loaded.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5411 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-15 10:10:38 +00:00
paulc b7d2dd4cef Added a PHP Yate::GetLocal cleaner shortcut to retrieve a local parameter.
Added libyate.php tests for GetLocal.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4652 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-25 08:54:04 +00:00
paulc d95cb2fec6 Spelling cleanup of a very common error: Retrive -> Retrieve
git-svn-id: http://yate.null.ro/svn/yate/trunk@3371 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 11:25:10 +00:00
paulc d04e8205a7 The decision to use stderr or extmodule's %%>output for debugging PHP can be overriden via Yate::Output(boolean).
git-svn-id: http://yate.null.ro/svn/yate/trunk@2997 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-21 12:00:34 +00:00
paulc 5cf769272c Convert PHP boolean parameters to proper string format before escaping.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2042 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-30 17:09:22 +00:00
paulc 2102d5366b Accept PHP bool values for Yate::SetLocal.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2019 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-11 10:21:00 +00:00
paulc bccee6022e Directory reorder #1
git-svn-id: http://yate.null.ro/svn/yate/trunk@1474 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-15 22:08:39 +00:00