php-windows Digest 8 Feb 2005 16:49:12 -0000 Issue 2566

Topics (messages 25528 through 25540):

Re: outlook calendar
        25528 by: tg-php.gryffyndevelopment.com
        25536 by: Jason Barnett
        25537 by: Jason Barnett
        25538 by: Bowden, Zeb
        25539 by: Jason Barnett
        25540 by: johnyu.revolutionhosting.net

Re: New Windows user having trouble with Apache and PHP
        25529 by: Armando

File upload maximum execution time error
        25530 by: Vladimir Iahnenco
        25531 by: Mike

Spanish Character Collation, HELP PLEASE!
        25532 by: Iker Landajuela
        25535 by: Denis Gerasimov

Hello ppl
        25533 by: Vaibhav Sibal
        25534 by: Jason Barnett

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 ---
You know, I forgot but I think that depending on the version of Outlook, you 
might have to replace the "outlook.application" with something else.

Maybe not.. hmm.. I can't find any examples where something other than 
'outlook.application' is used.  Maybe I'm wrong there.

At any rate, I'd check to make sure you're instantiating the COM object.  Maybe 
try connecting to Excel or another MS program via COM.

I havn't played with PHP5 yet, so can't tell ya if it does anythig differently 
or needs any extra TLC.

Let us know if you find anything interesting.

-TG

= = = Original message = = =

[EMAIL PROTECTED] wrote:
> $comobjOutlook = new COM("outlook.application") or die("Unable to instantiate 
> outlook"); $comobjOutlook -> Activate;
>

PHP 5.0.3 crashed after trying this... it complained that there was no
property named "Activate".  I then tried changing Activate to Activate()
in case it was supposed to be a method, but that failed as well.  So
much for copy and paste, is it ever that easy?

I always have problems with COM.  :-/  Perhaps there is another issue
that I'm unaware of that is preventing me from using COM and / or
preventing Outlook from responding correctly?  Anyone know what I might try?

I should probably add: I'm running Win2K v5.00.2195 (with all critical
updates).  I will try running this code on my WinXP laptop later to see
if the OS is my issue...


___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

--- End Message ---
--- Begin Message --- [EMAIL PROTECTED] wrote:
You know, I forgot but I think that depending on the version of Outlook, you might have 
to replace the "outlook.application" with something else.

Maybe not.. hmm.. I can't find any examples where something other than 
'outlook.application' is used.  Maybe I'm wrong there.


I think you're right that we need to instantiate "outlook.application". I'm still not sure what might be wrong in my particular case though, but this could be useful to me for so many things that I'll do a little more digging.

At any rate, I'd check to make sure you're instantiating the COM object.  Maybe 
try connecting to Excel or another MS program via COM.

I havn't played with PHP5 yet, so can't tell ya if it does anythig differently or needs any extra TLC.

Apparently COM is *quite* different in PHP5. For others that are interested in this problem, take a look here: http://www.zend.com/php5/articles/php5-dotnet.php

This is a *very* cool article and well worth the read.  If you keep
programming PHP in Windows then eventually you'll want to know how to
use COM.


Let us know if you find anything interesting.

-TG



--
Teach a man to fish...

NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://www.php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message --- [EMAIL PROTECTED] wrote:
You know, I forgot but I think that depending on the version of Outlook, you might have 
to replace the "outlook.application" with something else.

Maybe not.. hmm.. I can't find any examples where something other than 
'outlook.application' is used.  Maybe I'm wrong there.


I think you're right that we need to instantiate "outlook.application". I'm still not sure what might be wrong in my particular case though, but this could be useful to me for so many things that I'll do a little more digging.

At any rate, I'd check to make sure you're instantiating the COM object.  Maybe 
try connecting to Excel or another MS program via COM.

I havn't played with PHP5 yet, so can't tell ya if it does anythig differently or needs any extra TLC.

Apparently COM is *quite* different in PHP5. For others that are interested in this problem, take a look here: http://www.zend.com/php5/articles/php5-dotnet.php

This is a *very* cool article and well worth the read.  If you keep
programming PHP in Windows then eventually you'll want to know how to
use COM.


Let us know if you find anything interesting.

-TG



--
Teach a man to fish...

NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://www.php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Does your organization use Outlook web access (OWA)?
If so you may also be able to access calendars using WebDAV (that's what
Entourage for Mac's do).
Your calendar should be located at a URL similar to:
https://<owa server>/exchange/<user>/Calendar

Never actually done this before but I think it would be possible and it
would avoid having to interface with the Outlook appication.

Zeb Bowden
VT.SETI.IAD.MIG:Systems Architect
http://vtmig.w2k.vt.edu
[EMAIL PROTECTED]


 

-----Original Message-----
From: ludovic [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 07, 2005 3:47 PM
To: [email protected]
Subject: [PHP-WIN] outlook calendar

Good morning,

Is it possible to reach the data of the outlook calendar (on a server
exchange) with php?

Thank you for advance

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message --- Zeb Bowden wrote:
Does your organization use Outlook web access (OWA)?
If so you may also be able to access calendars using WebDAV (that's what
Entourage for Mac's do).

Thanks for the tip, but unfortunately we don't have outlook web access. Now that you mention it though it might be easier / better for us to just get Outlook set up that way instead of going through Outlook :)

Your calendar should be located at a URL similar to:
https://<owa server>/exchange/<user>/Calendar

Never actually done this before but I think it would be possible and it
would avoid having to interface with the Outlook appication.

Zeb Bowden
VT.SETI.IAD.MIG:Systems Architect
http://vtmig.w2k.vt.edu
[EMAIL PROTECTED]




-----Original Message----- From: ludovic [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 3:47 PM To: [email protected] Subject: [PHP-WIN] outlook calendar

Good morning,

Is it possible to reach the data of the outlook calendar (on a server
exchange) with php?

Thank you for advance



--
Teach a man to fish...

NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://www.php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
I took a look at it. It looks if outlook access is a separate product and
it requires exchage server? If so that's ALOT of investment no?

> Zeb Bowden wrote:
>> Does your organization use Outlook web access (OWA)?
>> If so you may also be able to access calendars using WebDAV (that's what
>> Entourage for Mac's do).
>
> Thanks for the tip, but unfortunately we don't have outlook web access.
>   Now that you mention it though it might be easier / better for us to
> just get Outlook set up that way instead of going through Outlook :)
>
>> Your calendar should be located at a URL similar to:
>> https://<owa server>/exchange/<user>/Calendar
>>
>> Never actually done this before but I think it would be possible and it
>> would avoid having to interface with the Outlook appication.
>>
>> Zeb Bowden
>> VT.SETI.IAD.MIG:Systems Architect
>> http://vtmig.w2k.vt.edu
>> [EMAIL PROTECTED]
>>
>>
>>
>>
>> -----Original Message-----
>> From: ludovic [mailto:[EMAIL PROTECTED]
>> Sent: Monday, February 07, 2005 3:47 PM
>> To: [email protected]
>> Subject: [PHP-WIN] outlook calendar
>>
>> Good morning,
>>
>> Is it possible to reach the data of the outlook calendar (on a server
>> exchange) with php?
>>
>> Thank you for advance
>>
>
>
> --
> Teach a man to fish...
>
> NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
> STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
> STFM | http://www.php.net/manual/en/index.php
> STFW | http://www.google.com/search?q=php
> LAZY |
> http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins
>

--- End Message ---
--- Begin Message --- You said you changed the port to 8080 but you didn't specify that in the browser URL. By default all web browsers connect to port 80 unless you specify otherwise. You need to use the address:

http://localhost:8080/phpinfo.php

Cheers.

Armando

Sunburned Surveyor wrote:
Windows/PHP Users,

I'm new to PHP and I had a question about getting PHP and Apache set
up on Windows. I've installed both PHP and  Apache on my computer per
the install instructions. I have successfully started the Apache
server, after I changed the port from 80 to 8080.

However, when I try to test my Apache/PHP by directing my browser to
http://localhost/phpinfo.php I receive the following error:

"The connection was refused when attempting to contact localhost."

I'm pretty sure that Apache is up and running, so I'm a little
confused by this warning. Could it be a firewall setting on my
computer or a configuration setting on my browser?

I would really appreciate a place to start looking, or any ideas on
where I can look to get this fixed.

Thanks,

The Sunburned Surveyor

P.S. - I'm running Windows 2000 on a Dell Precision 530. Mozilla
Firefox is my browser. I'm using the latest stable releases of both
PHP and Apache.


--- End Message ---
--- Begin Message ---
Hi All,
We have web IIS5 (web+ftp)+php4 installed on the same server. It takes about
5-6 min to upload 20MB file to our ftp server. But we cannot upload it
through http php upload. I set parameters
==
upload_max_filesize =40M
post_max_size=40M
max_execution_time=920 and then set it to zero
==
but anyway got that error. In some cases explorer displayed me a timeout
error.
Is there any workaround for this case?
FYI, My script handles the upload, creates an html with a
body-onLoad-self:close() and a hidden form which posts upload results to a
CGI application, which generates all html.

Thanks in advance

Vladimir

--- End Message ---
--- Begin Message ---
Remember that when you're working in Windows that PHP has a timeout but so
doesn't IIS - so if you don't raise the IIS timeout then you run the risk of
hitting that limit as well.

I don't think it's difficult to find the timeout location in IIS, but I
don't have it installed on this machine to test right now.

-M 

> -----Original Message-----
> From: Vladimir Iahnenco [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, February 08, 2005 12:37 AM
> To: [email protected]
> Subject: [PHP-WIN] File upload maximum execution time error
> 
> Hi All,
> We have web IIS5 (web+ftp)+php4 installed on the same server. 
> It takes about
> 5-6 min to upload 20MB file to our ftp server. But we cannot 
> upload it through http php upload. I set parameters == 
> upload_max_filesize =40M post_max_size=40M 
> max_execution_time=920 and then set it to zero == but anyway 
> got that error. In some cases explorer displayed me a timeout error.
> Is there any workaround for this case?
> FYI, My script handles the upload, creates an html with a
> body-onLoad-self:close() and a hidden form which posts upload 
> results to a CGI application, which generates all html.
> 
> Thanks in advance
> 
> Vladimir
> 
> --
> PHP Windows Mailing List (http://www.php.net/) To 
> unsubscribe, visit: http://www.php.net/unsub.php
> 

--- End Message ---
--- Begin Message ---
Hi, I`ve updated my Mysql DB to  Version 4.1.7 and PHP to 5.0.2, but now
I`ve errors displaying text string to web page with acents and spanish
languaje characters. I suposse it`s te DB character collation, or client web
browser  page codificaction maybe,
can anyone help me?

--- End Message ---
--- Begin Message ---
Hello,

Follow this way:
1. Detect what character set and collation your db and tables are stored in.
2. Run this query: 'SET CHARATER SET your_charter_set' after establishing
connection to DB but before _any_ other queries.

That should help.

Best regards, Denis Gerasimov
Outsourcing Services Manager,
VEKOS, Ltd.
www.vekos.ru

> -----Original Message-----
> From: Iker Landajuela [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 08, 2005 11:45 AM
> To: [email protected]
> Subject: [PHP-WIN] Spanish Character Collation, HELP PLEASE!
> 
> Hi, I`ve updated my Mysql DB to  Version 4.1.7 and PHP to 5.0.2, but now
> I`ve errors displaying text string to web page with acents and spanish
> languaje characters. I suposse it`s te DB character collation, or client
> web
> browser  page codificaction maybe,
> can anyone help me?
> 
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
I am trying to setup PHP in linux, Im still in server setup stage, can
you guys tell me if there is a mailing list for linux users here?
Incase you are interested then heres my problem. Ive installed PHP on
my machine with Apache 2.0.49 running on Linux Fedore Core 2. Ive
installed it totally according to Installation instruction given in
the INSTALL document, after compiling the code and everything the
installation was quite smooth and worked out quite well. But now the
problem is that server is not browsing the php commands and is
returning nothing to the browser, all its returning is the HTML source
code already included in the .php file.
Please reply at the earliest.
Thanks
Vaibhav

--- End Message ---
--- Begin Message --- Vaibhav Sibal wrote:
I am trying to setup PHP in linux, Im still in server setup stage, can
you guys tell me if there is a mailing list for linux users here?

Most of the *nix users stick to php.general (or basically any php newsgroup that isn't php.windows!)

Incase you are interested then heres my problem. Ive installed PHP on
my machine with Apache 2.0.49 running on Linux Fedore Core 2. Ive
installed it totally according to Installation instruction given in
the INSTALL document, after compiling the code and everything the
installation was quite smooth and worked out quite well. But now the
problem is that server is not browsing the php commands and is
returning nothing to the browser, all its returning is the HTML source
code already included in the .php file.

Your problem is probably an Apache misconfiguration... specifically the AddType directive.

http://www.php.net/manual/en/install.unix.apache2.php
-> example 4-4
-> #15

Please reply at the earliest.
Thanks
Vaibhav


--
Teach a man to fish...

NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://www.php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to