[PHP-WIN] Browser info

2001-11-15 Thread Steen Rabol
Hi Why does this not work ? $browser = get_browser(); foreach($browser as $key => $value) print "key : " . $key . " value ". $value . ""; print "browser = " . $browser['browser'] . ""; The foreach() prints information on the browser, but then $browser['browser'] is empty, why ? Best Steen

Re: [PHP-WIN] why doesn´t exec("dir"); work ?

2001-11-15 Thread Huang Yuzhen
i think you could try "cmd /c dir" - Original Message - From: "Daniel Hellstrand" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 16, 2001 3:42 AM Subject: Re: [PHP-WIN] why doesn´t exec("dir"); work ? > Shouldn´t it be: foreach( $dirContents as $dirEntry ) ? > And

php-windows Digest 16 Nov 2001 01:31:29 -0000 Issue 856

2001-11-15 Thread php-windows-digest-help
php-windows Digest 16 Nov 2001 01:31:29 - Issue 856 Topics (messages 10425 through 10443): Re: PHP as Apache module 10425 by: Ross Fleming Re: Speed of SQL queries, profiling? 10426 by: Svensson, B.A.T. (HKG) 10442 by: Arnout van der Kamp HELP! how to load phpapach

[PHP-WIN] Re: [PHP-DEV] How to compile PHP with cygwin?

2001-11-15 Thread Alan Knowles
Have a look through the mailing list archives (php-dev) - somebody has done this. GRI wrote: >Hi > >I wonder if anyone have managed to compile PHP with cygwin. I get >several errors when doing this. > >I also wonder if I intend to make a dll to extend PHP for windows, >should I then compile PHP

Re: [PHP-WIN] Speed of SQL queries, profiling?

2001-11-15 Thread Arnout van der Kamp
> By the way, your question is rather not that much about php. (Not that I > uses php and care that much... :) Well I was more thinking of some profiling routines than checking the actual SQL queries. I've done so with 'explain' command and it seems the queries all make use of the right index fil

[PHP-WIN] Win 2k, IIS 5 and PHP

2001-11-15 Thread Martin Steel
Hi, I installed php on my win2k machine running IIS 5, i've set it up as the install.txt file says, and i cant use any php scripts that use variables, such as $HTTP_USER_AGENT, but can use commands such as echo, can anyone help? and tell me how to set up php with iis using isapi so that it will

[PHP-WIN] 5760 Melt away extra5891 pounds and inches today! 4372028

2001-11-15 Thread 2843720weigh_out
My name is Linda Gillie. I am 31 years old. A mother of three, a wife of 13 years to a wonderful man, Michael My heart told me to share my story with you, so you don't give up hope. I have found a weight loss product that really works. It gets rid of fat fast and keeps it off, FOR GOOD! T

Re: [PHP-WIN] why doesn´t exec("dir"); work ?

2001-11-15 Thread Daniel Hellstrand
Shouldn´t it be: foreach( $dirContents as $dirEntry ) ? And another problem: I still get an error saying: "unable to fork [dir]" when I run this (I got that when I ran exec("dir") too) /Dan Chris Boget wrote: > > why can´t I run exec("dir"); ? > > What you want is: > > exec( "dir", $dirContents

RE: [PHP-WIN] why doesn´t exec("dir"); work ?

2001-11-15 Thread Boget, Chris
> why can´t I run exec("dir"); ? What you want is: exec( "dir", $dirContents ); foreach( $dirEntry as $dirContents ) { echo $dirEntry; } I believe that'll work and do what you want... Chris

[PHP-WIN] why doesn´t exec("dir"); work ?

2001-11-15 Thread Daniel Hellstrand
why can´t I run exec("dir"); ? The thing I wanna do is list a directory and put all the dirnames/filenames into a .txt file but first I have to figure out how I can make a dir, or is there a built in command in PHP to do this ? /Dan -- PHP Windows Mailing List (http://www.php.net/) To unsubscr

Re: [PHP-WIN] help!!

2001-11-15 Thread Angie Tollerson
You cannot run php from an html page unless you do a serverside cgi include... An HTML page is just that..and will not excute php code unless you map it to. only files mapped to php will run in php. Angie Tollerson Alliance Technologies Web Programmer (515)245-7628 [EMAIL PROTECTED] >>> "A

Re: [PHP-WIN] How to compile PHP with cygwin?

2001-11-15 Thread Frank M. Kromann
Hi, Only MS VC++ is supported at this point. - Frank > Hi > > I wonder if anyone have managed to compile PHP with cygwin. I get > several errors when doing this. > > I also wonder if I intend to make a dll to extend PHP for windows, > should I then compile PHP with cygwin or with MS Visual C

Re: RE: RE: [PHP-WIN] PHP and Lotus Notes

2001-11-15 Thread Frank M. Kromann
At this point you have to read the source file. If you read the comments you can find all the prototypes for the functions. In order to compile the extension you need to have the Notes Toolkit installed on yor system. - Frank > Hi, > > Any suggestions where I might find out about the Notes P

[PHP-WIN] Re: [PHP-DEV] How to compile my own PHP extension in Windows?

2001-11-15 Thread Frank M. Kromann
It is almost as simple on Win32. You need to have MS Visual C++ installed to do it. Have a look at some of the existing extensions, all compiled as php_.dll. if you take a look at one of the simple extensions eg. exif. It has three files used on Win32 exif.c, php_exif.h and exif.dsp. If yor ex

[PHP-WIN] PHP/HTTP authentication with register_globals = Off

2001-11-15 Thread Stéphane Vinsot
Hi, i'm trying to switch to a "register_globals = Off" model to improve the security of my site. The problem is that when using this parameter, i can't logon anymore. The following script always ask for my user name and password. it seems that $PHP_AUTH_USER is not set. What is the way to go aro

[PHP-WIN] How to compile PHP with cygwin?

2001-11-15 Thread GRI
Hi I wonder if anyone have managed to compile PHP with cygwin. I get several errors when doing this. I also wonder if I intend to make a dll to extend PHP for windows, should I then compile PHP with cygwin or with MS Visual C++? Thanks -- PHP Windows Mailing List (http://www.php.net/) To

[PHP-WIN] help!!

2001-11-15 Thread Alejandro
I have a problem:I have a php page wich runs well when I run it, but when I run a html page and links the php file, the source code is seen on the screen. It´s like apache wouldn't understand php!!. Any ideas? Thanks Hola!.tengo un problema y es que tengo una página .php que, cuando la llamo por

[PHP-WIN] How to compile my own PHP extension in Windows?

2001-11-15 Thread GRI
Hi Does anyone know how to compile a php extension in windows.. in linux it is simple.. just to install php source and compile the extension. it doesn´t work in windows. Thanks in advanced. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

[PHP-WIN] Sessions trouble

2001-11-15 Thread Michel Laine
Using 98SE / PWS / PHP 4.0.4pl1 / MySQL 3.23.22 for some testing-intranet stuff. Until now i have used a login system (which works) that consist of a login page, include file and logout file - named Login.php, Auth.inc and Logout.php. Database.inc, which is referenced and contain the login and pw

[PHP-WIN] HELP! how to load phpapache2.dll filter under Win32

2001-11-15 Thread Paco Ortiz
Hello, I just compiled php4apache2 filter for Win32, but the README file says how to use it only under apache 2.0.x for UNIX. It's clear because PHP is compiled into Apache. But... Can somebody tell me how to load the sapi filter under Apache 2.0.x Win32, in http.conf file? I can't find any doc

RE: [PHP-WIN] Speed of SQL queries, profiling?

2001-11-15 Thread Svensson, B.A.T. (HKG)
A decent RDBMS should provide the developer with a query analyser which displays how the query will be compiled and give an estimate of execution time in each part so you can investigate where most of the power is drained. By the way, your question is rather not that much about php. (Not that I

RE: [PHP-WIN] PHP as Apache module

2001-11-15 Thread Ross Fleming
See attached manual -Original Message- From: astenios [mailto:[EMAIL PROTECTED]] Sent: 15 November 2001 12:28 To: [EMAIL PROTECTED] Subject: [PHP-WIN] PHP as Apache module How can I install PHP4 as Apache module on Win2K?? Thanks in advance. xavi -- PHP Windows Mailing List (http:

php-windows Digest 15 Nov 2001 12:29:06 -0000 Issue 855

2001-11-15 Thread php-windows-digest-help
php-windows Digest 15 Nov 2001 12:29:06 - Issue 855 Topics (messages 10414 through 10424): Re: I need urgent problem help with php! 10414 by: Ross Fleming 10415 by: Ross Fleming 10416 by: Ignatius Teo Re: PHP and Lotus Notes 10417 by: Richard Black Re: [PHP

[PHP-WIN] PHP as Apache module

2001-11-15 Thread astenios
How can I install PHP4 as Apache module on Win2K?? Thanks in advance. xavi -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-WIN] Re: [PHP-I18N] Re: [PHP-WIN] how to get php_gettext.dll work on windows2000 / iis5 server?

2001-11-15 Thread Hace
On Wed, 14 Nov 2001 08:01:54 -0700, [EMAIL PROTECTED] (Zak Greant) wrote: >I have written a complete overview of using gettext with PHP. It is >also Unix-centric, but it is easier to understand than the gettext >docs. : ) Whooaa! I finally! got it working! === C:/Inetpub/PowerPlate/melle/inc

[PHP-WIN] Web newsgroup

2001-11-15 Thread FPU . WHITES1
--- Received from FPU.WHITES1 799 3703 15-11-01 11:01 -> [EMAIL PROTECTED] Hey dudes, I'm looking to put a web driven newsgroup on my website, and I'm sure I've heard that there is a good free one that someone wrote in php. Any ideas which one it is/where I can get it? Any othe

php-windows@lists.php.net

2001-11-15 Thread Michel Laine
Noah Spitzer-Williams wrote: > is there a function that will convert an array to "get variables" > > ie: > > array ("a" => "b", "c" => "d")==> "a=b&c=d" > > any help is appreciated! > > Noah > > www.trademytraffic.com > > TradeMyTraffic! Banner Exchange > [EMAIL PROTECTED] I am

[PHP-WIN] Re: strings chopped in half using COM objects

2001-11-15 Thread Harald Radi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > eg., $word->Tasks->Item[$i] in this snip: either use $word->Tasks[$i] or $word->Tasks->Item($i) Item() is a getter method and not a property. harald. -BEGIN PGP SIGNATURE- Version: PGPfreeware 7.0.3 for non-commercial use

[PHP-WIN] apache loading php script twice

2001-11-15 Thread Mika Laine
For some reason Apache loads my php script twice. I have two php files. "search.php" which has form that posts data to "result.php". After submitting (POST) it loads result.php for a while. THis is so far ok. But it then reloads it and of course alla post data is lost by now. Below is the apache l

[PHP-WIN] Re: [PHP-I18N] Re: [PHP-WIN] how to get php_gettext.dll work on windows2000 / iis5 server?

2001-11-15 Thread Hace
On Wed, 14 Nov 2001 08:01:54 -0700, [EMAIL PROTECTED] (Zak Greant) wrote: >Drop by http://www.php-er.com and take a look at the chapter on >gettext. > >I have written a complete overview of using gettext with PHP. It is >also Unix-centric, but it is easier to understand than the gettext >docs

RE: RE: [PHP-WIN] PHP and Lotus Notes

2001-11-15 Thread Richard Black
Hi, Any suggestions where I might find out about the Notes PHP extension??? I been looking for ages, and as far as I can see its almost developed but nobody seems to know much more about it. Where can I get hold of it??? Richy -Original Message- From: Frank M. Kromann [SMTP:[EMAIL