[PHP-WIN] strange behavior with echo/print

2004-03-30 Thread Alain.Orset
I try to send a string back to the browser by simply doing something like echo $reply. On the browser, I received something like nn reply string value 0 nn is the length in hexadecimal of the string value! I don't know where nn and 0 are coming from and therefore don't know how to make them not

[PHP-WIN] fsockopen problem with Windows 2003 Server.

2004-04-14 Thread Alain.Orset
I have two scripts running on two differents environments: In the development environment, I'm using Windows XP professional with Apache 2.0.48 and PHP 4.3.4. The first script performs a Fsockopen to the second script using an url starting with localhost. It is working fine. Than the second script

[PHP-WIN] RE: PHP on an intranet with MSOffice-like templates

2004-11-17 Thread Alain.Orset
Peter, It is possible to produce word document from a php script. The data will be extracted from mySQL (in the example provided it is from msaccess, but it is the same process). Php can open an existing document and replace Bookmark by a specific value. The code may talk more than me. // Create