php-windows Digest 6 Apr 2001 10:54:49 -0000 Issue 530

Topics (messages 6541 through 6546):

Re: Excel Manipulation
        6541 by: alain samoun

Re: Exec() In Windows
        6542 by: alain samoun

Re: Error on new install on IIS 5.0
        6543 by: Phil Driscoll

Re: mail() Function and time
        6544 by: Yasuo Ohgaki

How can I judge a sessionid is being used or not?
        6545 by: yanshuldg

Zend IDE/Debugger Install missing files?
        6546 by: Adam Robertson

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]


----------------------------------------------------------------------


You can check the number of written rows every so often, see the COM class
Excel at:

http://phpclasses.upperdesign.com/browse.html?package=86

Message from Alain Samoun
[EMAIL PROTECTED]
HEAR ME>>  http://pagoo.com/signature/alain


-----Original Message-----
From: Conover, Ryan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 2:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Excel Manipulation


If I have an excel document I created dynamically and after every 8 records
I want it to automatically want to print.  Is there a way to do this in PHP
or some other language.

Ryan Conover

--
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]





Can you publish this COM object somewhere? it will be helpful for a lot of
us waiting to have the exec functions fixed for windows.

 Message from Alain Samoun
[EMAIL PROTECTED]
-----Original Message-----
From: Dale Heil [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 5:12 AM
To: 'zugut'; '[EMAIL PROTECTED]'
Subject: RE: [PHP-WIN] Exec() In Windows


Hello,
        I went through the same problems but got some help from a coworker.  Oliver
was right about the user ID.  what you can do is change the .exe to an
ActiveX.dll COM object.  Then add it to
a MTS package component.  MTS can be installed off the NT4 Option Pack
(downloadable from MS).
then just expand the computers folder, expand computer icon, right click and
add a package, set the package to run under a given UserID.  then expand the
package icon, expand components folder, and drag and drop (copy and paste
does not work) the .dll to the component folder.  MTS will then register the
.dll on the server.  then createobject the desired Class using php and
you're on your way.  MTS will run the object under your specified UserID.

When building the .dll, make sure you set the MTSTransaction property to NEW
TRANSACTION and
set the .dll property in MTS to NEW TRANSACTION.  This creates a new process
for the COM object
on the server using your specified UserID.

I am using NT4.0 and IIS and VB6.0. I'm pretty sure MTS can run on its own
and does not require IIS.

Why did I do this?  I am pulling appointments out of Outlook calendars which
requires vb or c++
to access Outlook.

Hope this helps.

-----Original Message-----
From: zugut [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 5:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Exec() In Windows


Hi,

I have the same problem, I don't understand the problem.



"Keith Stevenson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> Im having a Problem running an application from a PHP page using the
> Exec() function (as well as all the other program execution fuctions) on a
> Windows NT Server running Apache.
>
> The code I attempt to run is : $ReturnVal = exec("Application.exe");
>
> It returns with Unable to Fork....
>
> Does any body have any idea on how to fix this or an alternative so I can
> just run the damm application....
>
> Cheers
>
>
> --
> 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 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 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]





Maybe you've accidentally uncommented the browscap= line in your php.ini?

Cheers
-- 
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org





date('r') has bug. It will be fixed in 4.0.5.
day light saving will also be fixed in 4.0.5.
(Is it only in CVS? I thought it will be in 4.0.5)

Just FYI.

--
Yasuo Ohgaki


""Marck D. Pearlstone"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi James,
>
> On 02 April 2001 at  16:01:54 +0100 (which was 16:01 where I  live)
> James Moore wrote to David Elliott and made these points:
>
> >> Date: Fri, 30 Mar 2001 13:42:59 0000
> >>
> >> it should be.
> >>
> >> Date: Fri, 30 Mar 2001 13:42:59 +0100
> >>
> >> I have checked the server for time zone etc.
> >>
> >> I also run an SMTP server from it (Not exchange) and everything is OK on
> >> that.
>
> JM> I just checked this with 4.0.5RC5 and 4.0.6-dev and it works for
> JM> me.. looks like screwed Daylight savings time doesnt seem to be a
> JM> problem with PHP although because it doesnt touch the date header
> JM> (which is done by the mail server itself.) One option is to set
> JM> your own valid date header using the extra argument to mail.
>
> Doing this (from a server in the UK), using:
>
>       mail( $to, $subj, $body, "Date: ".date("r"));
>
> I get a date of:
>
>       Date: Wed, 4 pr 2001 13:00:00 -0100
>
> which makes the cure worse than the problem!
>
> I've tried using setlocale( LC_TIME, "uk_UK") but that doesn't help. I
> think I'll let the mail server put its incorrect date in rather than
> use the even more incorrect one that PHP provides :-(... unless anyone
> has any other ideas.
>
> - --
> Cheers -- .\\arck D. Pearlstone -- Consultant Software Engineer
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> [ PGP Key ID: 0x929DCDA0 | www: http://www.silverstones.com      ]
>
>  Headline - Drunken Drivers Paid $1000
>
> -----BEGIN PGP SIGNATURE-----
> Version: 6.5.8ckt (build 04)
> Comment: PGP Sealed for freshness
>
> iQA/AwUBOssXyTnkJKuSnc2gEQLuzgCg82lYV4JJaQS1MF9aPd3hqJ4GhtQAoMrn
> iIg5pc7CA0gRaQckevxbqc2J
> =sRtb
> -----END PGP SIGNATURE-----
>
>
>
>
> --
> 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]
>





I mean that I have a onlineuser table,which contains two columns,
sessionid and username.
When the user is online,I insert his sessionid(created by php) and username into the 
sessionid table,and I want to delete the record when the user is offline,That's:
How can I judge a sessionid is being used or not?
or:How can I judge a user is online or not by  his sessionid?





Hi all,

I'm trying to install the new Zend IDE and Debug server on my win2k / Apache
/ MySQL dev system.
Following the install PDF I get as far as step 2.3 but I don't appear to
have the install_license.reg file anywhere.
Does anyone know where to get this file?

Cheers,
Adam




Reply via email to