RE: [PHP-WIN] Concurrency issue on session file on harddisk

2008-02-14 Thread Eric Colinet
Hi, To quickly solve your problem, can't you just load a dummy HTML page (without the PHP extension if possible) in each frame that display nothing but please wait... and reload itself with a meta-refresh tag at different interval (say 1, 2 and 3 seconds)? For the real problem, you should

[PHP-WIN] Sybase

2008-02-06 Thread Eric Colinet
Hello list, I try to figure out a problem on a Windows machine with the Sybase extension and maybe you could help me. Basically using the 5.2.0 extension works and using the 5.2.4 extension doesn't work in the same environment (ASE 12.5.1 / sybase_ct extension). The error is: Sybase:

[PHP-WIN] Re: PHP_OpenSSL help needed

2003-12-06 Thread Eric COLINET
Hi, Yes and put an other library in system32: ssleay32.dll My guess is that I must initialize SSL somehow so that it has the public key for our CAS server ... but I can't find where to do that yet. Maybe, but not at startup time. Most likely when you make the communication. Eric At 09:03

Re: [PHP-WIN] Webpath vs Absolute Path

2003-12-02 Thread Eric COLINET
Hi Tony, What you call a webpath is in fact an advanced PHP functionnality that allow (as you know) opening resources anywhere on the web using http protocol. But in fact they are too pitfall: - Doesn't your test.com host interpret the PHP code before sending it to the script ?

Re: [PHP-WIN] HTTP/1.1 500 Server Error

2003-12-02 Thread Eric COLINET
Hi Peter, As far as know the CGI version of PHP doesn't work well on Win95. But just to be sure set error_log (php.ini) to a file and check the content of it since 500 is a crash. Eric At 03:17 02/12/2003, Peter Richards wrote: Hi, I have been using a PWS (M$ personal web server) for some

Re: [PHP-WIN] Re: How to find out if PC is online

2003-12-01 Thread Eric COLINET
Hi, Good idea except that gethostbyaddr just query a dns server for a translation of server name to an ip adress, no matter if the host is up or not. You've not access to the ping command, you can try to access another service on your machine ie: http, echo, date ... For example, using http,

Re: [PHP-WIN] PHP 4.3.4 and Sessions

2003-12-01 Thread Eric COLINET
Hi, It looks like a serious bug. If you are able to write few lines of code that bring to the same result, i suggest you post the bug to the PHP bug system (http://bugs.php.net). Eric At 16:01 01/12/2003, Sascha Kaufmann wrote: Hello everyone I have some major problems with the 4.3.4

Re: [PHP-WIN] Re: How to find out if PC is online

2003-12-01 Thread Eric COLINET
Hi, In fact you're wrong. gethostbyaddr is a DNS query tool. The host does not need to be up to be referenced in the DNS database. The dedicated tool to do that is the ICMP socket type ping if the function responds with anything else than the IP adress then the PC must be online! Just try:

Re: [PHP-WIN] Need help with session problem

2003-11-28 Thread Eric COLINET
Hi, I run into the same problem, it is not apache related but Internet explorer related. In fact cookies are not stored in relative but in absolute time and for that they expire once setted. For me an upgrade on the client ie was sufficient or at least setting the date to the correct value ;)

Re: [PHP-WIN] Encryption Decryption Help Needed

2003-11-25 Thread Eric COLINET
Hi, The only way i see to accomplish that is to use public key encryption. for example: - retrieve credit card id - encrypt it with the administrator public key - when the administrator need to do a report he can give the secret key or the password of it (if it is stored

Re: [PHP-WIN] Compiling

2003-11-21 Thread Eric COLINET
Hi, I have a file with many functions defined for my use in some applications. How can I compile them so that I can use it as an PHP extension ? Is that possible ? Yes, look at http://www.zend.com/apidoc/ to have more info about it. Additionnaly you can look at the ext/ sub directories in the

Re: [PHP-WIN] Compiling

2003-11-21 Thread Eric COLINET
available in php.net is in Linux file format. Will it work in Windows ? Eric Colinet [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Hi, I have a file with many functions defined for my use in some applications. How can I compile them so that I can use it as an PHP extension

Re: [PHP-WIN] help with header on UNIX server

2003-11-18 Thread Eric COLINET
You miss the http:// before the url it could be part of the problem. Eric At 14:48 18/11/2003, Lawrence wrote: I have two page header.htm and header.php This is header.htm body pa href=header.php?xp=1Link Google/a/p pa href=header.php?xp=2Link Yahoo/a/p pa href=header.php?xp=3Link Hotmail /a/p

Re: [PHP-WIN] attachment with pdf files

2003-11-13 Thread Eric COLINET
Maybe you have to set magic_quotes_runtime (in php.ini) to false. But it's a strange issue. Regards, Eric At 10:35 13/11/2003, Disko_kex wrote: Hi again.. I have a really strange problem when I sending emails with attachment. With regualar text files, images etc it works fine but with pdf files

Re: [PHP-WIN] Fatal error, but include_path seems correct?

2003-11-13 Thread Eric COLINET
Try : D: \Netscape\SuiteSpot\docs\phpMyAdmin254 Instead of : D: \Netscape\SuiteSpot\docs\phpMyAdmin254\libraries for your include path. Eric At 16:34 13/11/2003, Roderick Martin wrote: My setup: PHP 4.0.6 Windows NT 4.0 Netscape-Enterprise/3.6 SP3 Installed phpMyAdmin to the root

Re: [PHP-WIN] Problem with Socket and CPU usage!

2003-11-11 Thread Eric COLINET
Hi, What the timeout of your socket_select ? Because when the timeout is NULL or a big value your script normally 'sleep' when nothing append. Eric At 15:14 11/11/2003, Alex wrote: Hello ALL! I've made an IRC client with DCC support (it uses many sockets) I use socket_select in an infinite

Re: [PHP-WIN] Win32 API

2003-11-08 Thread Eric COLINET
Hi, As you know the extension is buggy but i've heard of a new extension called ffi that will be part of PECL (http://pecl.php.net) in a few days. So you have to wait some days to solve your problem ... Eric At 10:49 08/11/2003, Nathan Perkins wrote: Two questions about the win 32 api

Re: [PHP-WIN] Why is phpinfo giving me these version numbers?

2003-11-07 Thread Eric COLINET
Hi ! The one that shows you the problem... :p I don't know very well MySQL 4 sorry !! Maybe a MySQL 4 forum can help you... Eric At 22:07 06/11/2003, Roderick Martin wrote: Which log should I be looking at? MySQL appears to maintain several logs. On Nov 5, 2003, at 11:59 AM, Eric COLINET

Re: [PHP-WIN] include() problem

2003-11-07 Thread Eric COLINET
Hi ! A very simple reason: D:\LOCAL\src\php-4.3.2\main\config.w32.h(16): #define PHP_INCLUDE_PATH.;c:\\php4\\pear Eric At 02:07 07/11/2003, you wrote: Hi all, I'm having a problem with my scripts in that I'm having the follwoing error message when I try to include a file into a

Re: [PHP-WIN] include() problem

2003-11-07 Thread Eric COLINET
Sorry ! It is part of the PHP sources in fact ! .;c:\\php4\\pear Is the default include path when none is specified in the php.ini file I've mentionned the header file of the PHP sources where it is defined in fact ;) Eric At 11:57 07/11/2003, [EMAIL PROTECTED] wrote: Sorry, I don't

Re: [PHP-WIN] popen behaviour 4.3.2 4.3.3 bug ? (cli/php-gtk)

2003-11-07 Thread Eric COLINET
Does it freeze or it crashes ? At 12:59 07/11/2003, Simon Wheeler wrote: Hi ... this line (used in a php-gtk app via the CLI ) $pp = popen( 'c:\phpdev\php\php-4.3.3\php.exe -q -f '.$app . $str ,'r' ) ; dies 'orribly with no errors reported but with 4.3.2 .. $pp = popen(

Re: [PHP-WIN] popen behaviour 4.3.2 4.3.3 bug ? (cli/php-gtk)

2003-11-07 Thread Eric COLINET
Scuse it's an other question but, Do you use php_win.exe to launch your script ? If it's the case try with the regular php/cli to see what happend please. At 14:15 07/11/2003, Simon Wheeler wrote: Eric Colinet [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does it freeze

RE: [PHP-WIN] PHP4 + windows 2003 server

2003-11-03 Thread Eric COLINET
Hi, the path /tmp\sess_25db9216cc993bf4a6c2051981a339f5 can't exists on a windows platform ! Try to set the session save_path to a correct value. ie: session.save_path = c:\temp (in php.ini) or session_save_path('c:\\temp'); (in your code) assuming that c:\temp realy exists on