php-windows Digest 5 Aug 2003 20:27:53 -0000 Issue 1855

Topics (messages 21019 through 21026):

Re: how to install imap with php on windows 2000 server under IIS
        21019 by: BQ777
        21021 by: Craig Roberts

Re: Connecting to another server
        21020 by: Craig Roberts

Re: CLI File Open Problem
        21022 by: Craig Roberts

Re: unable to delete php created files in php
        21023 by: Craig Roberts

Is this a bug in PHP
        21024 by: David Richards

Re: calling a user defined java class method .....
        21025 by: toby z

Re: Notice: Undefined variable: link in
        21026 by: David Adade

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 ---
hi everybody,...

is here anybody how knows how to create an ftp and ssh account under linux
red hat?
the problem is, i have "only" ssh root access, but i don't know what is to
do and
it is 4:28 in the morning. it would be really nice, if somebody know a
solution.

best regards
codingbq

-----Original Message-----
From: Ha Duy Thien [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 1:00 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] how to install imap with php on windows 2000 server
under IIS


Dear everyone,

Hi i would want to install Imap extension.
i saw the right packet on this page :
http://www.php.net/manual/fr/ref.imap.php

but i don't know how to install it on windows 2000!!!

My Php version is : Php 4.3.3
Server : Windows 2000 Server
Web Server : IIS 5.0

it seems i must compil the packet, but i don't have a compiler....

It seems very difficult to me, so if anypne have any experience, please tell
me step by step how to solve this problem

Thanks you very much

Thien



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


--- End Message ---
--- Begin Message ---
Hey,

I don't think you need to compile it on Windows. Go into your php/extentions
directory, and copy the file php_imap.dll into C:\winnt\system32 - then
uncomment the line

extention = php_imap.dll

in php.ini. You may need to restart IIS but i dont think so...

With any luck it should work

Craig Roberts
"Ha Duy Thien" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Dear everyone,
>
> Hi i would want to install Imap extension.
> i saw the right packet on this page :
> http://www.php.net/manual/fr/ref.imap.php
>
> but i don't know how to install it on windows 2000!!!
>
> My Php version is : Php 4.3.3
> Server : Windows 2000 Server
> Web Server : IIS 5.0
>
> it seems i must compil the packet, but i don't have a compiler....
>
> It seems very difficult to me, so if anypne have any experience, please
tell
> me step by step how to solve this problem
>
> Thanks you very much
>
> Thien
>
>



--- End Message ---
--- Begin Message ---
You could install a webserver on your other server and then just hit the
script from your other program... you may need to add some authentication in
there though

"Derrick Hermanson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Was wondering if there was a way to call a php program from a different
> server. Have a program and I want it to call a program on one of our other
> servers. Not sure of how to get it done, if it can be done.
>
> Thanks in advance for any help.
>
> Derrick Hermanson
> Programmer Analyst I
>
>
>



--- End Message ---
--- Begin Message ---
Try using fopen('myfile.txt', 'W+'); ?
"Gareth Thomas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi,

I am trying to write data to a text file on my Windows 2000 server using PHP
at the command line. I am running PHP 4.3.2, and the script uses the 'touch'
function to create the file (which works fine) but when I try and open the
file to write to it and errors. Anyone any idea? I have checked the security
and also IIS access.. I would assume however that if touch works then so
would fopen... I am stumped. Any help would be much appreciated.

G.



--- End Message ---
--- Begin Message ---
Check that you have closed the file properly - XP Wont let you delete files
it thinks are still open... and it usually dosn't understand when you close
them.

Craig Roberts

"John Yu" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> It seems that when I try to unlink a file in php which has been created by
> php on a winxp machine I always get a unable to delete file, permission
> denied error...
>
> This seems to me to be very strange since the file was created by php and
> yet php doesn't have the rights to delete it.
>
> Anyone else ran into this and any suggestions at all?
>
> thanks in advance.
>
> John
>
>



--- End Message ---
--- Begin Message ---
Hi,

Can anyone tell me if the following is a bug in php or a coding error on my
part. When I run the following piece of code I get an error:

Code:
$empty = new VARIANT();
$word = new COM("word.application") or die("Unable to instantiate Word");
$word->Visible = 1;
$word->Documents->Add();
$word->ActiveDocument->MailMerge->MainDocumentType = wdFormLetters;
$word->ActiveDocument->MailMerge->OpenDataSource
("c:\\temp\\test.xls",$empty,$empty,$empty,$empty,$empty,$empty,$empty,$empt
y,$empty,$empty,$empty,"SELECT * FROM test$",$empty,$empty,$empty);

Error:
Warning: (null)(): Invoke() failed: Type mismatch. Argument: 17 in
c:\program files\apache group\apache\htdocs\test6.php on line 93

 I didn't think I had specified 17 arguments in the call to OpenDataSource.

I have checked what data types OpenDataSource is expecting and according to
OLE/COM viewer, it is expecting a BSTR followed by 15 optional variants.

If someone could let me know if its me before I report it as a bug that
would be good.

Thanks in advance
Dave



--- End Message ---
--- Begin Message ---
>in php?

yes :) my dear man .....

why else would i ask this here ????

toby

----- Original Message ----- 
From: "toby z" <[EMAIL PROTECTED]>
To: "php hlp list" <[EMAIL PROTECTED]>
Sent: Monday, August 04, 2003 11:14 AM
Subject: [PHP-WIN] calling a user defined java class method .....


> hay guyz
> 
> im stuck a bit ....
> 
> i am trying to call a java class method which happens to be my own
as
> well .... user defined that is
> 
> how do i go about this ????
> n that also if its possible at all .....
> 
> thnx a bill 
> 
> toby
> 
> 
>
________________________________________________________________________
> Want to chat instantly with your online friends?  Get the FREE
Yahoo!
> Messenger http://uk.messenger.yahoo.com/
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/

--- End Message ---
--- Begin Message ---
Thanks
passed that on to the programmer worked a treat

Regards

"Sven" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hi david,
>
> although you can supress those notices in your php.ini, you can correct
your
> syntax errors like this:
>
> AdminMain.php (line 7 and 8)
> old:   $tpl->define(array(main => "main.html", middle =>
"AdminScreen.html",
> ...
> new:   $tpl->define(array('main' => "main.html", 'middle' =>
> "AdminScreen.html", ...
>
> main.php (line 2)
> be sure, that $link is defined before your switch (i.e. if (isset($link))
> ...)
>
> ciao SVEN
>
>



--- End Message ---

Reply via email to