Re: [PHP-WIN] in Win32 env: calling external pgm from PHP script

2002-09-18 Thread Pozzer Franco
Thanks David for to read my msg and for reply it. I try to follow your code below but I have any result. The script can executed but I have any result. Word pgm do not start. It is possible that I have same configuration bad? It is possible that the word.exe do not execute from script because

php-windows Digest 19 Sep 2002 04:33:12 -0000 Issue 1346

2002-09-18 Thread php-windows-digest-help
php-windows Digest 19 Sep 2002 04:33:12 - Issue 1346 Topics (messages 15886 through 15899): Re: error from PHP...any ideas? 15886 by: Brian 'Bex' Huff Re: Calling DLL from PHP 15887 by: Brian 'Bex' Huff Re: redirection help 15888 by: Brian 'Bex' Huff Re: SESSIONS-

[PHP-WIN] uploading pics

2002-09-18 Thread SEGUERRA FRANCIS TED ARANAS
how do i upload pics to the postgres database? i really don't know how... i'm using the html http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Simultaneous system(), passthru()... commands. HELP PLEASE !!!

2002-09-18 Thread Jean-Marc Godart
Hello everyone, I am using PHP with Windows XP. I am trying to have a ".exe" program (written and compiled in C) launched by my PHP script, using either system(), passthru()... That works great ... as long as I only have one request at a time. When I have two (or more request) at the same tim

RE: [PHP-WIN] Inserting text with single quotes into database

2002-09-18 Thread Rich Gray
Hi Lanham Use addslashes() if gpc magic quotes is off. Cheers Rich -Original Message- From: Lanham Rattan [mailto:[EMAIL PROTECTED]] Sent: 18 September 2002 14:40 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Inserting text with single quotes into database I am trying to insert text into a

RE: [PHP-WIN] Inserting text with single quotes into database

2002-09-18 Thread dash php
I use addslashes() frequently, although urlencode works too. I find addslashes to be cleaner. -Dash -Original Message- From: Lanham Rattan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 2:40 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Inserting text with single quotes in

[PHP-WIN] Inserting text with single quotes into database

2002-09-18 Thread Lanham Rattan
I am trying to insert text into a text database field that contains single quotes. What it the best method? I am currently doing a URLENCODE($text) upon insertion, then STRIPSLASHES(URLDECODE($text)) to view. Lanham. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: ht

RE: [PHP-WIN] php.ini pr. site

2002-09-18 Thread David Hollister
Assuming the CGI version loads php.ini on each request (http://www.php.net/manual/en/configuration.php), it would be possible to locate varied php.ini files in the folder with each mapped application (php.exe). But I have no idea how simultaneous requests are handled. Give it a shot. Just try

[PHP-WIN] php.ini pr. site

2002-09-18 Thread Steen Rabol
Hi Is it possible to have different php.ini on IIS ? Let's say that I have 10 differebt sites running on IIS, can i then specify a php.ini for each site, anf if yes, how ? Thanks in advance Steen -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsu

[PHP-WIN] Help!

2002-09-18 Thread Lanham Rattan
I tried upgrading to 4.2.3 using the PHP 4.2.3 Installer. I got numerous errors when booting windows about not being able to find this or that. I replaced php4ts.dll with original and I do not get the errors but my PHP pages no longer work. I get the error CGI Error The specified CGI applicatio

RE: [PHP-WIN] SESSIONS- clustered environment

2002-09-18 Thread dash php
That's what I was thinking. Do you have a few machines you could try it with? You could also try something like that using a bunch of VMWare (or similar virtual machine) systems... -Dash -Original Message- From: Matt Babineau [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 200

Re: [PHP-WIN] SESSIONS- clustered environment

2002-09-18 Thread Luis Ferro
Matt Babineau wrote: >What if I made a network share and all the sessions were stored in a >shared space? > > In that case you are making the whole cluster in the health of the network file system (ie... the file system + the network sharing system)... but that wouldn't work, because if the u

RE: [PHP-WIN] SESSIONS- clustered environment

2002-09-18 Thread Matt Babineau
What if I made a network share and all the sessions were stored in a shared space? Matt Babineau MCWD / CCFD - e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.criticalcode.com PO BOX 601 Manchester, NH 03105 -Original Message- From: Luis Ferro

[PHP-WIN] Re: redirection help

2002-09-18 Thread Brian 'Bex' Huff
There is another option... set 'output_buffering' to some number of bytes (around 4000 is probably ok) in your php.ini file. This will buffer the page in PHP before being sent to the client, so things like cookies and headers can be set early-ish in the page, and dont absolutely have to go on

Re: [PHP-WIN] Re: Calling DLL from PHP

2002-09-18 Thread Brian 'Bex' Huff
If your program is called "myprogram.exe", and it has a command-line interface that you've tested and works, then you could do this: 1) put "myprogram.exe" in your system path (typically c:\winnt\system32 or something similar) 2) call it from your php code with either exec(), system(), or pas

[PHP-WIN] Re: error from PHP...any ideas?

2002-09-18 Thread Brian 'Bex' Huff
Haven't seen that one... I have seen similar access violations in the same environment, however: php4ts!zend_strndup + 0x2B + 0xA05CB1AD Which is really really odd, since the C code for that function is pretty dang innocent looking... Ive been trying to get a stack trace on this one for a fe

php-windows Digest 18 Sep 2002 12:39:45 -0000 Issue 1345

2002-09-18 Thread php-windows-digest-help
php-windows Digest 18 Sep 2002 12:39:45 - Issue 1345 Topics (messages 15868 through 15885): Re: MSSQL Date Format Problem 15868 by: Tracker1 Re: PHP and Java 15869 by: Ernani Joppert Pontes Martins Re: troublesome exec 15870 by: Ernani Joppert Pontes Martins Re: r

[PHP-WIN] LDAP scripts to read Exchange Server 2000 Contacts

2002-09-18 Thread R.S. Herhuth
I was wondering if anyone knows of any sample scripts that utilize PHP's support for LDAP. Specifically I'm going to be attempting to utilize LDAP to access contact information from the Microsoft Exchange server. It looks like LDAP is just the ticket for this. I was hoping to have a few sample

[PHP-WIN] HTTPS installation/use

2002-09-18 Thread Luis Ferro
I've PHP 4.2.x running as ISAPI in a W2K Server/IIS 5 box... How to i setup SSL so i can receive HTTPS connections and install a certificate in the site to supply the SSL the required certificate? What i need to do is receive a HTTPS POST to a script that i supply the name and make HTTPS POST

[PHP-WIN] RE: error from PHP...any ideas?

2002-09-18 Thread Juraj Hasko
I run same configuration, but only HTTP. Same problems ... Run as CGI, everything will be fine. Juraj >-Original Message- >From: Matt Babineau [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, September 17, 2002 8:39 PM >To: [EMAIL PROTECTED] >Subject: error from PHP...any ideas? > >

Re: [PHP-WIN] SESSIONS- clustered environment

2002-09-18 Thread Luis Ferro
You have two solutions (IMHO): a) Database storage Replacement of the session_init and session_save/register functions with others that will save/load the sessions from a database storage. Pros: easy to implement Cons: dependency of the database storage reliability, scalability pr