[PHP-WIN] Expiry of session

2001-03-12 Thread Urmil Parikh
Hi, Anybody knows how to put a no activity timeout in sessions? Regards, | Linux Urmil Parikh | It is now safe to turn on your computer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To cont

php-windows Digest 13 Mar 2001 05:18:15 -0000 Issue 488

2001-03-12 Thread php-windows-digest-help
php-windows Digest 13 Mar 2001 05:18:15 - Issue 488 Topics (messages 5969 through 5982): Re: Poor PHP performane on Apache on Win 2000 Server 5969 by: Robin Bolton Can't connect to Oracle 5970 by: Herbert Groot Jebbink Re: PDF + WIN32 5971 by: Alain Samoun PHP on

FW: [PHP-WIN] File download

2001-03-12 Thread Urmil Parikh
Hi, I tried with various types including application/octet-stream, but it did not help. It seems that IE takes file name from the link (whatever follows after the last '/' in the link). That is, if my link is 'download.php?path=/abc&file=xyz.txt', IE prompts for file 'abc&file=xyz.txt' but if I

RE: [PHP-WIN] Apache Modules

2001-03-12 Thread Ignatius Teo
Have u tried apache.org? Ignatius > -Original Message- > From: Matt Williams [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 13 March 2001 04:52 > To: PHP_UK@egroups.; Php-Windows@Lists. Php. > Subject: [PHP-WIN] Apache Modules > > > Hi > > Does anyone know where I can get pr

RE: [PHP-WIN] MD5

2001-03-12 Thread Ignatius Teo
Ben, You should be able to do a normal == comparison or a strcmp(). But that's not really what you're after is it? Have a look at PHPLIB (phplib.netuse.de), in particular, the crypto_secure authentication stuff. I think you'll find what you're looking for. Ignatius > -Original Me

[PHP-WIN] RE: Win32 PHP, Apache Web Server, and Mail

2001-03-12 Thread Mihai Matei
Hi. I had the same problem. All the settings were right but the mail() function still didn't worked. Finally I used a SMTP server on my machine. If the SMTP server is on the same machine as the web server (apache in my case) the mail() function works fine. If somebody has another solution f

RE: [PHP-WIN] Personal Web Server

2001-03-12 Thread Michael Norum
You should really stay away from PWS, it uses a lot of system resources and it's really hard to get out of your memory and startup process. You should use apache instead. If you download a package from download.com called PHP Triad then you should have everything you need. It sets everything up fo

Re: [PHP-WIN] Grab and print user's IP address

2001-03-12 Thread Dream
thanks! ""Phillip Bow"" <[EMAIL PROTECTED]> escribió en el mensaje 98j3gp$rsl$[EMAIL PROTECTED]">news:98j3gp$rsl$[EMAIL PROTECTED]... > Yes. > -- > phill > > ""Dream"" <[EMAIL PROTECTED]> wrote in message > 98ib6n$622$[EMAIL PROTECTED]">news:98ib6n$622$[EMAIL PROTECTED]... > > thanks > > > > Thi

Re: [PHP-WIN] Grab and print user's IP address

2001-03-12 Thread Phillip Bow
Yes. -- phill ""Dream"" <[EMAIL PROTECTED]> wrote in message 98ib6n$622$[EMAIL PROTECTED]">news:98ib6n$622$[EMAIL PROTECTED]... > thanks > > This is for sure the user information (i.e. people visiting my site) not > mine, right? > > marc > > ""Michael Rudel"" <[EMAIL PROTECTED]> escribió en el me

RE: [PHP-WIN] PHP on virtual directories

2001-03-12 Thread Romeo, Domenic A
PHP 4 doesn't seem to work correctly with UNC paths (\\Servername\ShareName). To help debug, configure IIS to "check if file exists" for .php (or whatever extension you use). I have gotten around this by mapping the share to a drive letter. PHP 4 works correctly with virtual directories that are a

RE: [PHP-WIN] Apache Modules

2001-03-12 Thread Fernando Madruga
Depending on your distribution, they may be called something else, e.g.: mod_rewrite.so Almost ALL files under modules/ in your installation directory ARE modules... HTH, Fernando Madruga -Original Message- From: Matt Williams [mailto:[EMAIL PROTECTED]] Sent: segunda-feira, 12 de Març

[PHP-WIN] Apache Modules

2001-03-12 Thread Matt Williams
Hi Does anyone know where I can get pre-compiled Apache modules for win32? I've looking in the modules dir with the distro but there's no dll's. I'm particularly after mod_rewrite TIA M@ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP-WIN] PHP on virtual directories

2001-03-12 Thread Ermanno Iannacci
I need PHP to run a script in a directory located on a computer different from the web server where PHP is. I added the remote directory as a virtual directory in IIS. I can only see this: "CGI Error the CGI application misbehaved by returning an incomplete set of HTTP headers: the headers it sent

Re: [PHP-WIN] PDF + WIN32

2001-03-12 Thread Alain Samoun
You should probably do an installation with www.php4win.de ,then all the extensions modules that you need can be instantiated in the php.ini file. Alain On Mon, Mar 12, 2001 at 09:23:13AM +, Ben Cairns wrote: > Has anybody had any luck creating a PDF on a Win32 machine using php. > > Here

[PHP-WIN] Can't connect to Oracle

2001-03-12 Thread Herbert Groot Jebbink
Hi, I can't connect from a win95/Apache setup to a Oracle database - The PHP version is 4.04pl1 (Nusphere) - The location for tnsnames.ora is c:\orawin95\network\admin\tnsnames.ora - De Oracle version is 7.3.4.0.0 - De SQL*NET client version is 2.3.4.0.0 - Using the SQL PLUS 3.3 client on this m

RE: [PHP-WIN] Poor PHP performane on Apache on Win 2000 Server

2001-03-12 Thread Robin Bolton
Are you running Netscape? If so then I've found a quirk where Netscape would freeze for a stupid amount of time if the 'ServerName' directive in my Apache.conf was set to anything other than 'localhost', even though I originally had it set to my actual server name. This didn't affect IE at all, s

php-windows Digest 12 Mar 2001 15:42:49 -0000 Issue 487

2001-03-12 Thread php-windows-digest-help
php-windows Digest 12 Mar 2001 15:42:49 - Issue 487 Topics (messages 5946 through 5968): Re: Benchmark humor 5946 by: Ignatius Teo Re: CVS for win 5947 by: Ignatius Teo Re: Newbie: Help on mySQL !!! 5948 by: Ralph Alberti File download 5949 by: Urmil Parik

Re: [PHP-WIN] Poor PHP performane on Apache on Win 2000 Server

2001-03-12 Thread Tom Mathews
Mark Tipton wrote: > Any ideas on what could be causing such > poor performance? > Microsoft! > > -- > 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

[PHP-WIN] Poor PHP performane on Apache on Win 2000 Server

2001-03-12 Thread Mark Tipton
I have a Win 2000 Web server with Apache that works just fine. However whenever a PHP page is requested you must wait about 5 seconds for the page to be displayed, even if there are no actual PHP commands in the page itself. I have IIS and ASP running on the same server with an instantaneous res

Re: [PHP-WIN] COM Objects anyone?

2001-03-12 Thread MD
Thank you very much! Mike "Mikey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > This URL give you a list of all Excel methods & properties, if you show the > Table of Contents, it gives you listings for all of the Office apps: > > http://msdn.microsoft.com/l

Re: [PHP-WIN] File download

2001-03-12 Thread Olivier Hubert
Hi, I believe your problem is related to the fact that you use "unknown" in your content-type header. This forces IE to search for an application to open the file of "unknown" type. Have you tried any other content-types? For more info on content-types, see the HTTP1.1 RFC: http://w

RE: [PHP-WIN] COM Objects anyone?

2001-03-12 Thread Mikey
This URL give you a list of all Excel methods & properties, if you show the Table of Contents, it gives you listings for all of the Office apps: http://msdn.microsoft.com/library/officedev/off2000/xltocobjectmodelapplication.htm Mikey >= Original Message From "MD" <[EMAIL PROTECTED]> =

RE: [PHP-WIN] unknows errors with the mail() function

2001-03-12 Thread Asendorf, John
I'd suggest starting by rechecking all of your settings and instead of variables in your mail () line, put real values. This can help you eliminate some of the possibilities of what could be wrong. John - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://ww

[PHP-WIN] Win32 PHP and Mail

2001-03-12 Thread Giro
Dear Friends, I have tried to be as specific I could according to the little knowledge I have in PHP, I have some problem to completing the task, I have read as much I could about that and having the same problem Adrian Gould have, to the exception that Apache run. Please find below all I have pr

[PHP-WIN] RE: Win32 PHP, Apache Web Server, and Mail

2001-03-12 Thread Giro
Dear Friends, I have tried to be as specific I could according to the little knowledge I have in PHP, I have some problem to completing the task, I have read as much I could about that and having the same problem Adrian Gould have, to the exception that Apache run. Please find below all I have pr

[PHP-WIN] MD5

2001-03-12 Thread Ben Cairns
I have a string that I want to MD5 (No prizes for guessing its a password), what I want to do is MD5 two strings (one supplied by the user, and one by my server) and compare them. How can I do this? -- Ben Cairns - Head Of Technical Operations intasept.COM Tel: 01332 365333 Fax: 01332 346010 E

[PHP-WIN] RE: Win32 PHP, Apache Web Server, and Mail

2001-03-12 Thread Giro
Dear Friends, I have tried to be as specific I could according to the little knowledge I have in PHP, I have some problem to completing the task, I have read as much I could about that and having the same problem Adrian Gould have, to the exception that Apache run. Please find below all I have pr

Re: [PHP-WIN] Grab and print user's IP address

2001-03-12 Thread Dream
thanks This is for sure the user information (i.e. people visiting my site) not mine, right? marc ""Michael Rudel"" <[EMAIL PROTECTED]> escribió en el mensaje 001901c0aae6$33cac2a0$[EMAIL PROTECTED]">news:001901c0aae6$33cac2a0$[EMAIL PROTECTED]... > echo "Remote IP: ".$REMOTE_ADDR."\n"; > echo

RE: [PHP-WIN] Grab and print user's IP address

2001-03-12 Thread Michael Rudel
\n"; echo "Browser: ".$HTTP_USER_AGENT."\n"; ?> If you want to get more EnvVars, RTFM or use the phpinfo() -function. Greetinx, Mike -Original Message- From: Dream [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 12:01 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Grab and print

[PHP-WIN] Grab and print user's IP address

2001-03-12 Thread Dream
> Hi! > > I need just a little script so I can get and print in browser the currently > users IP address and if possible, browser type, etc. > > Thanks a lot! > > marc -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP-WIN] COM Objects anyone?

2001-03-12 Thread MD
Does anyone have some info on accessing other COM objects with php? I've tried Word and that worked pretty good, although I would also like to know more about how to format the text being sent to word and how to format tables and such(can it also read-in text?). I am sure that there are plenty of

Re: [PHP-WIN] unsupported or undefined function mysql_connect()

2001-03-12 Thread Tom Mathews
Depends which versionof PHP your ISP is running. Prior to v4.x, MySQL module was not included in the standard compilations but had to be deliberately put in. Easiest way to check is to run a script containing phpinfo() on your hosting site. Tom Mark Taylor wrote: > hi all, > > I've been testing

RE: [PHP-WIN] HELP ON IIS4 & PHP4.0.4pl1

2001-03-12 Thread Martin Kemp
I just put the .dll and .ini files in the winnt directory, and renamed the windows directory to be sure that it wasn't used (I'll delete it once I'm sure it isn't used). I was then able to use get and post methods (the site I'm working on uses one of these methods for the session identifier and t

[PHP-WIN] PDF + WIN32

2001-03-12 Thread Ben Cairns
Has anybody had any luck creating a PDF on a Win32 machine using php. Here is my config: Windows NT Server 4 Apache 1.3.9 PHP 4.0.4pl1 I have a PDFLib, dont know if its the right one, or if its installed correctly. Could someone please send me the correct lib and install instructions. Thanks

[PHP-WIN] Problem with Sablotron

2001-03-12 Thread Antonio Lopez
I'm learning XML-XSL, and i try it with Sablotron on WinNT + IIS + PHP404pl1 ('sablot.dll' and 'php_sablot.dll'). Xml + Xsl -> Html : the engine works correctly! But my browser has a rarely behavior! When i reload a page that uses the Sablotron functions, my browser receive the html page co

RE: [PHP-WIN] Strip text from HTML

2001-03-12 Thread Mangiola Nunzio Datavia
Thanks that did the trick. What I needed was to strip maybe the first paragraph of a article. The code you gave me would just strip one line of code. But it gave me the pointer I needed to find the final answer. I modified your code with other code I found in the manual and came up with the sol

[PHP-WIN] File download

2001-03-12 Thread Urmil Parikh
Hi, I'm using following code to download a file. IE5 shows the Open/Save dialogue, if I select 'Save", it works. But if I select "Open", it again shows the same dialog with the name of my .php file. Now if I say open, it opens a blank file. Can anybody help me? header("Content-type: unkn