[PHP-WIN] Help with submit

2003-12-01 Thread Lawrence
When I replace button submit with image "checkout.gif" and "update.gif" , I do not get value of $B1 and $B2 more , please show me how to get $B1 $B2 when I replace button submit with image , thank you . -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

[PHP-WIN] Change ENV via putenv() during script execution

2003-12-01 Thread Paul Menard
Hi all, Happy Holidays. I'm having trouble with the ftp_rawlist() command. In reading many post it was stated that this script relies on the TEMP environment variable. Well that is just my issue. On the Windows system that the user connects to and authentictes to, the TEMP env var is set to a l

php-windows Digest 2 Dec 2003 02:30:29 -0000 Issue 2024

2003-12-01 Thread php-windows-digest-help
php-windows Digest 2 Dec 2003 02:30:29 - Issue 2024 Topics (messages 22247 through 22259): Re: Add user to Active Directory 22247 by: Bowden, Zeb streams not available 22248 by: Michael PHP 4.3.4 and Sessions 22249 by: Sascha Kaufmann 22253 by: Eric COLINET

[PHP-WIN] HTTP/1.1 500 Server Error

2003-12-01 Thread Peter Richards
Hi, I have been using a PWS (M$ personal web server) for some ASP work, on a Win95b box. I found I was able to also use the PWS for some PHP work. Recently installed PHP 4.3.4, and now all I get with any .PHP file is a "HTTP/1.1 500 Server Error" msg. Any clues ? I _think_ the previous version o

[PHP-WIN] Webpath vs Absolute Path

2003-12-01 Thread Tony Devlin
Hello List, I'm running an IIS 5.0 server on Windows 2000 box and have PHP Version 4.3.2 with 512 Megs Ram. I am using the CGI mode. It's a webserver running about 26 Virtual Domains. All Domains are running PHP and have php scripts. Something recently has happened and I'm not sure why. I

[PHP-WIN] Search and Replace with WinWord and COM Objects?

2003-12-01 Thread jon
Hey folks... Hopefully, I'm not the only person out there trying this stuff... but I haven't been able to find much documentation. I'm trying to do basic search and replace with Word XP, but am not having any success... The basics work -- I can connect via com, write some stuff, save a file, etc.

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] Re: How to find out if PC is online

2003-12-01 Thread SolidDigital
What i meant to say was if gethostbyaddr(ipadress) responds with something else than the ipadress then this PC must be online. Or am I wrong?? Jocjem B.A.T. Svensson wrote: And precisly how does the mechnaism with gethostbyaddr(), e.g. an DNS request, work to be able to resolve the issue abou

Re: [PHP-WIN] PHP 4.3.4 and Sessions

2003-12-01 Thread Donatas
Is is possible that you were in some webpage that has set those other session variables? they don't seem to be very random ones. Donny Eric COLINET wrote: 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 t

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 versio

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] Re: How to find out if PC is online

2003-12-01 Thread Svensson, B.A.T. (HKG)
And precisly how does the mechnaism with gethostbyaddr(), e.g. an DNS request, work to be able to resolve the issue about weather a particular host i online or not? As far as I know this is not possible. The only thing one might be able to say after a successfull DNS look up is this-or-that host

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

2003-12-01 Thread Jan Hrebenar
thanks, good idea J.Veenhuijsen wrote: Try : gethostbyaddr (PHP 3, PHP 4 ) Get the Internet host name corresponding to a given IP address string gethostbyaddr (string ip_address) Returns the host name of the Internet host specified by ip_address. If an error occurs, eturns ip_address. See also g

[PHP-WIN] PHP 4.3.4 and Sessions

2003-12-01 Thread Sascha Kaufmann
Hello everyone I have some major problems with the 4.3.4 version under Windows XP SP 1 with both, Apache 1.3.29 and IIS. PHP creates wrong(?) session files, it adds lots of spaces and a session file looks like: status|s:2:"ok ";user|s:5:"admin ";userid|i:14;language|s:2:"de ";

[PHP-WIN] streams not available

2003-12-01 Thread Michael
Hi, I am running PHP 4.3.4 both from the command line and apache. While phpinfo reports that I have the following streams avaiable: Registered PHP Streams php, http, ftp, compress.zlib stream functions are not: $ ./php.exe -r "var_dump(stream_get_wrappers());" PHP Fatal error: Call to undef

RE: [PHP-WIN] Add user to Active Directory

2003-12-01 Thread Bowden, Zeb
There probably is a way to do it with ldap but unless you're trying to build a platform independent solution I think you'll be better off using ADSI/COM This code is very basic but it will create a new AD user account: //open our new com object $objcont = new COM("LDAP://server.domain.com/dc=doma

php-windows Digest 1 Dec 2003 11:53:28 -0000 Issue 2023

2003-12-01 Thread php-windows-digest-help
php-windows Digest 1 Dec 2003 11:53:28 - Issue 2023 Topics (messages 22245 through 22246): Re: How to find out if PC is online 22245 by: Svensson, B.A.T. (HKG) 22246 by: J.Veenhuijsen Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscri

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

2003-12-01 Thread J.Veenhuijsen
Try : gethostbyaddr (PHP 3, PHP 4 ) Get the Internet host name corresponding to a given IP address string gethostbyaddr (string ip_address) Returns the host name of the Internet host specified by ip_address. If an error occurs, eturns ip_address. See also gethostbyname(). Jochem Jan Hrebenar wr