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 - 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
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
$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
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
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,
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
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-
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
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
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
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
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
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
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
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
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
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
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 - 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
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
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
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
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
24 matches
Mail list logo