var_dump(json_decode(Trim($decrypted_data), true));
I dont know why, but there is any spaces, this is working.
Radek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello, I am usin json regulary, but in one script I have mistery:
echo($decrypted_data)."\n\n";
var_dump(json_decode($decrypted_data, true));
echo "\n";
var_dump(json_decode('{"result_ok":true,"result_message":null,"client_name":"Radek
Krej\u010da"}', true));
I got:
{"result_ok":true,"result_me
Hello,
I am starting to make my first soap server/client. I found nice tutorial
(manual pages on PHP is not detailed) and I have this server script:
http://codeviewer.org/view/code:3131
boxing.wsdl looks:
http://codeviewer.org/view/code:3132
and client script looks
http://codeviewer.org/vi
spl_autoload_register is working. Thank you.
So - __autoload isnt already supported?
Radek
Did you tried with spl_autoload_register ?
http://php.net/manual/en/function.spl-autoload-register.php
Kind regards,
Hello,
I have installed lighttp with php support. It looks like, that function
__autoload doesnt work in cgi mode (in the manual I only see, that it should
not work in cli mode).
I have this code fragment:
function __autoload($class)
{
if(File_Exists(PATH_EXTRAS_CLASSES.$class.".php"))
{
requ
Hi,
I have problem with ssh2_Auth_Pubkey_File. I have one server for
connecting to others. On all of theese is FreeBSD installed, but
different versions.
I am using dsa keys for connecting. From command line works everything
fine (with using the same key files). But from php I have problem - a
fe
Hi,
I need to get about 500 chars over ssh2_exec, but this doesnt work:
$stream = ssh2_Exec($this->_connection, "system identity print;ip address print
detail;system routerboard print;interface wireless print", false, NULL, 500);
Where could be a problem? Its connection to Mikrotik.
php5-5.3.3_
Hi,
I need to get about 500 chars over ssh2_exec, but this doesnt work:
$stream = ssh2_Exec($this->_connection, "system identity print;ip address print
detail;system routerboard print;interface wireless print", false, NULL, 500);
Where could be a problem? Its connection to Mikrotik.
php5-5.3.3_
Hi, so I have (hope) finished. There is problem with rsa keys in function
ssh2_connect (probably bug, I dont see any problem on my side), so I created
two pairs - rsa and dsa. rsa method isnt working, but dsa method without
problems.
Its little complication, because I have everwhere rsa keys, bu
Hi, new symptoms...
So, I have following:
1. created rsa keys - tested over ssh command - on remote server is public key
renamed to authorized_keys, on local machine i have both keys
2. rights on local machine:
-r 1 radek wheel 1675 23 led 2007 radek
-r 1 radek wheel
Do you have lexneter installed. I think that could be the problem.
2010/6/23 Radek Krejča
>
> Make sure that
What is lexneter please?
Radek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>
>Make sure that
>
> the key file exists by that name in the location you're
> specifying (hint: use a full path).
Its in ssh2_auth_public..., yes, I am using full path there.
> it is the right key for that server.
Yes, I use it with ssh command from line on the sam
Make sure that
the key file exists by that name in the location you're
specifying (hint: use a full path).
it is the right key for that server.
the permissions on the file are very strict (chmod 0400 ssh-rsa).
I got error message immediately after
> Have you tried opening the connection from the command line with OpenSSL
> or similar tools? Do you know those credentials will actually work?
Yes, It is my key (now I am testing), but I got this message before I run
ssh2_auth_public...
Radek
--
PHP General Mailing List (http://www.php.net/)
Hello,
I am trying connect to freebsd. I have php 5.3.2 installed. I have to connect
using public keys, but without succes. Function ssh2_connect throws me
following error (then I have invalid resource for function
ssh2_auth_pubkey_file)...
PHP Warning: ssh2_connect(): Error starting up SSH c
Hello,
I am trying connect to freebsd. I have php 5.3.2 installed. I have to connect
using public keys, but without succes. Function ssh2_connect throws me
following error (then I have invalid resource for function
ssh2_auth_pubkey_file)...
PHP Warning: ssh2_connect(): Error starting up SSH
Hello,
thank you for response, more in you text:
Instead of ssh, you could use telnet to connect to the Cisco router
(which incidentally runs on port 23, but is likely to be disabled on
I want to use my script against FreeBSD router and against RouterOS so I need
ssh. I can use system function
Hello,
I am trying send command to remote host over ssh with sockets. But I need to
set up username/password. I am trying to modify this script (from www.php.net -
function fsockopen), but I dont know, where set username/password because I got
this message:
Bad protocol version identification '
stem()).
thanks
Radek
--
Regards,
Bc. Radek Krejča
Starnet, s. r. o.
[EMAIL PROTECTED]
http://www.ceskedomeny.cz
http://www.skdomeny.com
http://www.starnet.cz
ICQ: 65895541
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I need to set up password for user in LDAP. From command line is not
problem to set up pass with ldappass, but is some function or method
in PHP?
--
Regards,
Bc. Radek Krejča
Starnet, s. r. o.
[EMAIL PROTECTED]
http://www.ceskedomeny.cz
http://www.skdomeny.com
http
Hello,
I have PHP as Apache so and I wand to use it in the command line as
CGI. As apache module I have running with safe mode in the command
line I want to use PHP without SAFE MODE. My PHP is compiled with so
modules.
If I use this construction:
#!/usr/local/bin/php -c /root/ -q
Hello,
I have following xml file:
http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
Hello, how are you?
Radek Krejca
Radek
Krejca
Zizkova 226/3
Ceske Budejovice
370 01
cz
[EMAIL PROTECTED]
I can make following assoc.
-png-dir=/usr/local/ --with-ttf=/usr/local/
--with-zlib --with-imap --with-mysql --with-mcrypt --with-mhash --with-dbm
With version 4.3.1 it works perfectly, but with 4.3.2 i got this
message:
configure: error: png.h not found.
How can I fix it?
--
S pozdravem,
Bc. Radek Krejča
Starnet
Hello,
I need use function exec or backtick operator, but i have PHP in
safe mode. I need use it only for one virtual host in Apache.
How can I do it without disabling safe mode.
Thanks
Radek
--
Regards,
Bc. Radek Krejča
Starnet, s. r. o.
[EMAIL PROTECTED]
http
Hello,
I try to compile PHP 4.3.0 on OpenBSD 3.1. Compilation is OK, PHP
runs, but not work REQUIRE and INCLUDE
Fatal error: main() [function.main]: Failed opening required
'./libraries/grab_globals.lib.php' (include_path='.:/usr/local/lib/php')
This is report from phpMyAdmin, with php
cvs -d :pserver:[EMAIL PROTECTED]:/repository co -r PHP_4_2_2 php4
works perfectly. I don't know, what I make bad.
Thanks Radek
JS> On Thursday 26 December 2002 00:57, Bc. Radek Krejča wrote:
>> Fatal error: main() [function.main]: Failed opening required
>> './libra
Hello,
I try compile PHP from CVS. I download source, configure it, compile
it and install it. All ok, but after installation I got this:
Fatal error: main() [function.main]: Failed opening required
'./libraries/grab_globals.lib.php' (include_path='.:/usr/local/lib/php') in
/home/starnet.cz/dbad
Hello,
I want to download PHP from CVS and a wrote this command (from
manual):
cvs -d :pserver:[EMAIL PROTECTED]:/repository co -r PHP_4_2_3 php4
But I got this message:
cvs [server aborted]: no such tag PHP_4_2_3
Where is problem?
Thanks Radek
--
PHP General Mailing List (http://www.php.ne
with it, support PHP locale itself or in the
future? Is another way?
Thanks Radek
13. listopadu 2002, 16:16:29, jste napsal(a):
MK> localedef should tell you
MK> Bc. Radek Krejča wrote:
>>Hi,
>>
>> I have problem with locale on PHP, how a may instal it, I use
&
Hi,
I have problem with locale on PHP, how a may instal it, I use
OpenBSD.
Thanks
Radek
--
S pozdravem,
Bc. Radek Krejča
Starnet, s. r. o.
[EMAIL PROTECTED]
+420 608 470980
http://www.ceskedomeny.cz
http://www.skdomeny.com
http://www.starnet.cz
--
PHP General Mailing List (http
may do?
Thanks Radek
--
S pozdravem,
Bc. Radek Krejča
Starnet, s. r. o.
[EMAIL PROTECTED]
+420 608 470980
http://www.ceskedomeny.cz
http://www.skdomeny.com
http://www.starnet.cz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I try compile gd-lib in version 1.8.4 on OpenBSD. This operation caused
error, but with version 1.8.3 was all OK.
Do you have some expirience with this problem? How to compile PHP 4.0.6 wiht
gd-1.8.4
Thaks
Radek
---
Bc. Radek Krejča
www: www.ceskedomeny.cz
e-mail
Hi,
I try compile gd-lib in version 1.8.4 on OpenBSD. This operation caused
error, but with version 1.8.3 was all OK.
Do you have some expirience with this problem? How to compile PHP 4.0.6 wiht
gd-1.8.4
Thaks
Radek
---
Bc. Radek Krejča
www: www.ceskedomeny.cz
e-mail
33 matches
Mail list logo