[PHP] Problem with GD version 1.8.4

2001-09-21 Thread Radek Krejča
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

[PHP] Problem with GD version 1.8.4

2001-09-22 Thread Radek Krejča
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

[PHP] Howto send command over ssh using sockets

2010-04-04 Thread Radek Krejča
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 '

RE: [PHP] Howto send command over ssh using sockets

2010-04-05 Thread Radek Krejča
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

[PHP] Problem with ssh2_connect

2010-06-23 Thread Radek Krejča
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

[PHP] FW: Problem with ssh2_connect

2010-06-23 Thread Radek Krejča
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

RE: [PHP] FW: Problem with ssh2_connect

2010-06-23 Thread Radek Krejča
> 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/)

RE: [PHP] Problem with ssh2_connect

2010-06-23 Thread Radek Krejča
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

RE: [PHP] Problem with ssh2_connect

2010-06-23 Thread Radek Krejča
> >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

RE: [PHP] Problem with ssh2_connect

2010-06-23 Thread Radek Krejča
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

RE: [PHP] Problem with ssh2_connect

2010-06-24 Thread Radek Krejča
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

RE: [PHP] Problem with ssh2_connect - finished

2010-06-24 Thread Radek Krejča
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

[PHP] ssh2_exec line width problem

2010-09-28 Thread Radek Krejča
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_

[PHP] ssh2_exec line width problem

2010-09-28 Thread Radek Krejča
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_

[PHP] Problem with ssh2 public/private key connecting

2012-06-12 Thread Radek Krejča
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

[PHP] __autoload not work in cgi?

2013-03-27 Thread Radek Krejča
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

RE: [PHP] __autoload not work in cgi?

2013-03-27 Thread Radek Krejča
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,

[PHP] Problem with soap - Error Fetching http headers

2013-03-28 Thread Radek Krejča
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

[PHP] json_decode mistery

2013-05-24 Thread Radek Krejča
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

[PHP] RE: json_decode mistery - solved

2013-05-24 Thread Radek Krejča
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

[PHP] CVS download

2002-12-25 Thread Bc. Radek Krejča
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

[PHP] Problem with compilation from CVS

2002-12-25 Thread Bc. Radek Krejča
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

Re: [PHP] Problem with compilation from CVS

2002-12-25 Thread Bc. Radek Krejča
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

[PHP] Problem with REQUIRE in PHP 4.3.0

2002-12-28 Thread Bc. Radek Krejča
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

[PHP] exec() in safe mode

2003-02-03 Thread Bc. Radek Krejča
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

[PHP] Problem with compile with png

2003-06-27 Thread Bc. Radek Krejča
-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

[PHP] Sorting array in national charset

2002-11-13 Thread Bc. Radek Krejča
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

[PHP] locale

2002-11-13 Thread Bc. Radek Krejča
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

Re[2]: [PHP] locale

2002-11-14 Thread Bc. Radek Krejča
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 &

[PHP] Some xml to array

2003-09-09 Thread Bc. Radek Krejča
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.

[PHP] Different php.ini with php - cgi

2003-12-10 Thread Bc. Radek Krejča
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

[PHP] Password in LDAP with php

2004-01-05 Thread Bc. Radek Krejča
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

[PHP] File Injection Bug

2004-02-15 Thread Bc. Radek Krejča
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