[PHP-WIN] Help with regex

2002-01-18 Thread Michael Reynolds
I have something in php, which goes through a line of text, replacing all occurences of %longip($a) with the long2ip/ip2long of whatever's in the perentheses. I tried something similar with %ial($a,$b), to call ial_search($a,$b) and replace the %ial() with the result. I have it so the longip can

php-windows Digest 18 Jan 2002 23:04:55 -0000 Issue 959

2002-01-18 Thread php-windows-digest-help
php-windows Digest 18 Jan 2002 23:04:55 - Issue 959 Topics (messages 11504 through 11520): Scripts keep refreshing 11504 by: Michel van Westen Re: command line are -c doesn't work on win2k? 11505 by: DL Neil 11510 by: Jeff D. Hamann Re: PHP Extension in INI

Re: [PHP-WIN] All php files keep refreshing.

2002-01-18 Thread Rubén Gutiérrez
On Fri, 18 Jan 2002 10:03:07 +0100 "Michel van Westen" <[EMAIL PROTECTED]> wrote: > Hi all, > > i got a serious problem: I got php3 running for quit a while and it was > running fine with all my scripts. About a week ago i decided my time had > come and i had to update to php4, now all my scrip

RE: [PHP-WIN] VBA to Word - Syntax Question

2002-01-18 Thread alain samoun
$word->ActiveDocument->Close(0); A+ Alain -Original Message- From: news.php.net [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 7:43 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] VBA to Word - Syntax Question I'm working on a simple PHP spell check that uses Word as its engine

[PHP-WIN] Re: VBA to Word - Syntax Question

2002-01-18 Thread J Wynia
Hopefully this is my last reply on this thread. I discovered after opening Word normally after a few dozen tests, that it tried to "recover" all those "lost" documents. The following demo script has that fixed. Visible = 0; $word->Documents->Add(); $word->Selection->TypeText($string); $word->Act

RE: [PHP-WIN] Redirection Question.

2002-01-18 Thread Shrock, Court
Curtis, the call to session_register needs a string that names the variable: Instead of: session_register($username); You need: session_register('username'); This would register the $username variable Court -Original Message- From: Curtis [mailto:[EMAIL PROTECTED]] Sent: Friday,

[PHP-WIN] Redirection Question.

2002-01-18 Thread Curtis
I've got everything working except for one piece. I'm trying to authenticat users against a mySQL database and then once they are authenticated I'm trying to create a session that's the same as their username. Once the session is established I want to redirect them to another page that requ

[PHP-WIN] Re: VBA to Word - Syntax Question

2002-01-18 Thread J Wynia
Figured it out. Pulled out the ->Close() and had the quit() just override the save. Here's the new function in case anyone cares. function spellcheck($string){ $word = new COM("word.application") or die("Unable to instanciate Word"); $word->Visible = 0; $word->Documents->Add(); $word->Selection-

Re: [PHP-WIN] WAP

2002-01-18 Thread Ross Fleming
I'd personally do it in PHP. But there aren't standard wap browsers unfortunately (ie in real PC's, you'd only really ever see IE, Netscape, Mozilla etc). I don't know of a fully comprehensive list of browser identities, but these should get you started: from http://allnetdevices.com/faq This

Re: [PHP-WIN] WAP

2002-01-18 Thread LaserJetter
Thanks, that would probably work. What I wanted to do was distinguish between a web browser and a WAP browser so that if (isWAP) { echo "WAP content"; } else { echo "HTML content"; } I'll try those things anyway - The WAP site is working anyway and I've set up a redirect from my main sit

[PHP-WIN] Re: [PHP] Re: [PHP-WIN] command line are -c doesn't work on win2k?

2002-01-18 Thread DL Neil
Jeff, Let's start 'casting around' then. If you've already done these (I may not have read all of your posts) please discuss the results of the following: 1 what happens when you run the script in a browser? 2 with/without the -c and/or -q options, what happens when you run another PHP script

Re: [PHP-WIN] WAP

2002-01-18 Thread LaserJetter
Thanks! They've been useful. How do I detect whether a WAP browser is being used? I know how to check whether Netscape or IE is being used via JavaScript. Is this how to do it with WAP? "Ross Fleming" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > This is pa

Re: [PHP-WIN] command line are -c doesn't work on win2k?

2002-01-18 Thread Jeff D. Hamann
the path to php is already in the PATH variable... I'm not doing anything different that http://bugs.php.net/bug.php?id=6742 ,but for some reason the -c doesn't make a difference... Jeff. "Dl Neil" <[EMAIL PROTECTED]> wrote in message 0d4f01c1a00e$87036ee0$2916100a@jrbrown">news:0d4f01c1a00e$8

RE: [PHP-WIN] Is ISAPI stable ?

2002-01-18 Thread Ertan Tike
no, cause i have live some problems (random) with isapi mod. (memory leaks, cpu times.. exceptions.. etc.) but i think this is problem of IIS. some times you have to use module version of php.. -Original Message- From: Steen Rabol [mailto:[EMAIL PROTECTED]] Sent: Friday, January 18, 2002

[PHP-WIN] Re: All php files keep refreshing.

2002-01-18 Thread Nicole Amashta
can you post some code from one of the scripts that you say keeps refreshing? "Michel Van Westen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > i got a serious problem: I got php3 running for quit a while and it was > running fine with all my scr

[PHP-WIN] Is ISAPI stable ?

2002-01-18 Thread Steen Rabol
Hi According to the install.txt of php, the ISAPI version is not stable, but that statement have been there for about 1 year, so my question is: Is ISAPI version considered stable ? Thanks in advance. Best Steen

[PHP-WIN] Re: PHP Extension in INI

2002-01-18 Thread Philippe Saladin
If you have installed PHP with "PHP 4.1.1 installer" for example, there isn't any external extension installed. You have to download the "PHP 4.1.1 zip package" [4,953Kb], which contains all the extensions. After that, just uncomment in php.ini the extension needed. Regards, Philippe "Jeb" <[EMAI

Re: [PHP-WIN] command line are -c doesn't work on win2k?

2002-01-18 Thread DL Neil
Jeff, The following batch files works for me (WinNTWS 4.0 SP6a):- cd c:\program files\php php.exe -q c:\.path.\w.php >>c:\.path.\webute.log NB the first line reflects my PHP config - your mileage may vary! Of course the other possibility is to add the PHP folder into the PATH environment vari

[PHP-WIN] Scripts keep refreshing

2002-01-18 Thread Michel van Westen
Hi all, i got a serious problem: I got php3 running for quit a while and it was running fine with all my scripts. About a week ago i decided my time had come and i had to update to php4, now all my scripts keep on refreshing without having loaded the whole script, it just refreshes over and over

php-windows Digest 18 Jan 2002 10:04:04 -0000 Issue 958

2002-01-18 Thread php-windows-digest-help
php-windows Digest 18 Jan 2002 10:04:04 - Issue 958 Topics (messages 11499 through 11503): command line are -c doesn't work on win2k? 11499 by: Jeff D. Hamann socket server 11500 by: gaouzief Getting PHP to work within an aliased folder 11501 by: Jeff Waldock All

[PHP-WIN] PHP Extension in INI

2002-01-18 Thread Jeb
This is a very newbish question, but there are some .dll extension for PHP that I would like to have (bzip2, crypt functions, etc) ? Does anybody know where I can find them? or do I even need them? I have search the net, but no luck. This is for IIS 5 on windows 2000. Sorry if this email makes

[PHP-WIN] All php files keep refreshing.

2002-01-18 Thread Michel van Westen
Hi all, i got a serious problem: I got php3 running for quit a while and it was running fine with all my scripts. About a week ago i decided my time had come and i had to update to php4, now all my scripts keep on refreshing without having loaded the whole script, it just refreshes over and over

[PHP-WIN] Getting PHP to work within an aliased folder

2002-01-18 Thread Jeff Waldock
I cannot get PHP files stored in aliased folders to work correctly. I am getting an error: Warning: Failed opening 'e:/wwwroot/units/test.php' for inclusion (include_path='') in Unknown on line 0 The root folder of the web tree is e:\wwwroot and I have a folder whose real path is e:\units but wh

[PHP-WIN] socket server

2002-01-18 Thread gaouzief
hi, has anybody tried to create a socket sevrver on win 2k? using php 4.1.1 are there any known bugs with sockets functions on windows ?? thanks, regars, -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE