php-windows Digest 9 Sep 2002 12:50:04 -0000 Issue 1330
Topics (messages 15719 through 15724):
Re: mail() on W2K Pro
15719 by: Steve Yates
Windows + mySQL + PHP4 question
15720 by: Kerry Kobashi
15721 by: php.l1te.net
Re: exec() without waiting for completion in Win2k
15722 by: Rich Gray
php & ejb?
15723 by: Sandeep Murphy
Re: . becomes _ when submitting page
15724 by: Brian 'Bex' Huff
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
"Ignatius Reilly" <[EMAIL PROTECTED]> wrote in message
004e01c25778$8ce4c490$a04d933e@satellite">news:004e01c25778$8ce4c490$a04d933e@satellite...
> I want to be able to use error_log() ( or mail() ) in a W2K Pro
installation
> (PHP 4.2). I suppose some kind of message queuing service or SMTP server
has
> to be installed.
>
> I would appreciate if somebody who has done this successfully could give
me
> some indications.
What problems are you having? I haven't used error_log() but mail()
works using either localhost (at least with recent versions of PHP) or your
ISP's SMTP server. You have to set that setting in your PHP.INI file.
- Steve Yates
- For people who like peace and quiet: a phoneless cord.
~ Do you like my taglines? Add them to your messages and
~ laugh through hundreds more by downloading Taglinator
~ at www.srtware.com today!
--- End Message ---
--- Begin Message ---
If I recall, PHP4 has built in mySQL function calls.
On a Windows NT 4.0/2000 server system:
Is myODBC required to access mySQL with PHP?
--- End Message ---
--- Begin Message ---
Nope. MySQL support is built in. Give it a try.
-Dash
If you think last Tuesday was a drag, wait till you see what happens
tomorrow!
On Sun, 8 Sep 2002, Kerry Kobashi wrote:
> If I recall, PHP4 has built in mySQL function calls.
>
> On a Windows NT 4.0/2000 server system:
> Is myODBC required to access mySQL with PHP?
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Noel
The task scheduler runs as the SYSTEM account which cannot access network
resources - can you change the user account the service runs under if you
run the original AT task scheduler or set up a new task and run it as a real
user account if you use the new IE5 upwards task scheduler ...
Rich
-----Original Message-----
From: Noel Llopis [mailto:[EMAIL PROTECTED]]
Sent: 09 September 2002 00:35
To: Rich Gray
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Re: exec() without waiting for completion in
Win2k
On Sun, 08 Sep 2002 22:42:44 -0700
Rich Gray <[EMAIL PROTECTED]> wrote:
> Sorry ... I misunderstood (i.e. didn't bother to read your post fully!) -
> look into running the AT command to run the command asyncronously
>
> i.e.
> <?
> $time=date("H:i");
> exec(getenv('WINDIR').'\\system32\\at.exe '.$time.'
> C:\MyPath\MyScript.bat');
> ?>
Hmmm... Tempting, but there is one big problem. I just found out that
commands executed with AT don't have access to network drives or
settings. Some of this build process involves fetching data over the
network, so it won't work.
I even wrote a C program that calls spawn() on the command you pass on
the command line, but it didn't work either. I can't believe how
frustrating this is. All of which could have been accomplished with a
sinmple & under Unix :-(
Any other ideas? I think I tried just about everything I could think of.
Thanks.
--- End Message ---
--- Begin Message ---
hi,
Though I have used PHP with Java Objects for sometime, I am keen to know whether
anyone has tried using PHP to communicate with Enterprise JavaBeans??
if so, any suggestions??
thnx,
sands
--- End Message ---
--- Begin Message ---
Actually, this is a PHP feature, not a Javascript bug. The '.'
character is very special in PHP, so it cannot be used for variable
scoping like in VB or Java. The PHP engine will automaticly translate
any '.' into a '_' to make it PHP-safe. The PEAR folks suggest using
'::' to scope variables and functions, like in C++.
--
Brian 'Bex' Huff
[EMAIL PROTECTED]
Phone: 952-903-2023
Fax: 952-829-5424
> Your naming conflicts with javascript. Remember what dots are used for in
> js.
>
> Avoid using other characters than alphanum and underscore. There is no
> reason you should need to use any other character.
>
> I am not quite even sure that it is valid HTML to use dots in attributes
> values.
>
> HTH
>
> Ignatius
>
> ____________________________________________
> ----- Original Message -----
> From: "Kjell Hansen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, September 08, 2002 7:12 PM
> Subject: [PHP-WIN] . becomes _ when submitting page
>
>
>
>> Hi,
>> In my HTML page I have a textarea called "filename.ext" when I submit
>> the page I get "filename_ext" in my $_POST array.
>>
>> Anyone know why?!??!?
>>
>> TIA
>> Kjell
>>
>>
>>
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
--- End Message ---