php-windows Digest 20 Sep 2001 07:40:58 -0000 Issue 763

Topics (messages 9417 through 9429):

Installation problem- Need help!
        9417 by: Sridhar Moparthy
        9418 by: Sridhar Moparthy
        9420 by: Alain Samoun
        9422 by: Elias Santiago

IIS admin dlls?
        9419 by: Elias Santiago
        9421 by: Frank M. Kromann

Re: text file question thanks
        9423 by: CJD
        9428 by: clock

installing Mcrypt...
        9424 by: cros

swatch internet time
        9425 by: Arron Edwards

also... a real time clock (no forms)
        9426 by: Arron Edwards

another one ...
        9427 by: Arron Edwards

Re: COM - accessing pointer variables
        9429 by: park

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]


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


Hi All,

I am installing PHP4 on NT4.  I wanted to add LDAP and Oracle modules. To do
this I have set  'extension_dir' to  "d:\php\extensions\" in php.ini.  I
have installed PHP in "d:\PHP" directory. But when I try to open  PHP file I
am getting
"Unable to load dynamic library 'd:\php\extensions\php_ldap.dll'- The
specified module could not be found " message.  But the dll  is in the
specified directory.

Is there any thing that I am missing. Is there any thing that need to set in
php.ini file.

Please help me.

Thanks in advance
Sridhar.






Hi All,

I am installing PHP4 on NT4.  I wanted to add LDAP and Oracle modules. To do
this I have set  'extension_dir' to  "d:\php\extensions\" in php.ini.  I
have installed PHP in "d:\PHP" directory. But when I try to open  PHP file I
am getting
"Unable to load dynamic library 'd:\php\extensions\php_ldap.dll'- The
specified module could not be found " message.  But the dll  is in the
specified directory.

Is there any thing that I am missing. Is there any thing that need to set in
php.ini file.

Please help me.

Thanks in advance
Sridhar.






Did you uncomment the: 'extension=php_*.dll' lines in php.ini to load these
extensions?
Alain

On Wed, Sep 19, 2001 at 06:35:28PM -0400, Sridhar Moparthy wrote:
> Hi All,
> 
> I am installing PHP4 on NT4.  I wanted to add LDAP and Oracle modules. To do
> this I have set  'extension_dir' to  "d:\php\extensions\" in php.ini.  I
> have installed PHP in "d:\PHP" directory. But when I try to open  PHP file I
> am getting
> "Unable to load dynamic library 'd:\php\extensions\php_ldap.dll'- The
> specified module could not be found " message.  But the dll  is in the
> specified directory.
> 
> Is there any thing that I am missing. Is there any thing that need to set in
> php.ini file.
> 
> Please help me.
> 
> Thanks in advance
> Sridhar.
> 
> 
> 
> -- 
> 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]




>From what Sridhar mentions, he already did uncomment the
'extension=php_*.dll' lines...

Have you checked that the userid the webserver uses while running has access
to the d:\php\extensions dir and files?

This has bumped me in the face many times...

"Alain Samoun" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Did you uncomment the: 'extension=php_*.dll' lines in php.ini to load
these
> extensions?
> Alain
>
> On Wed, Sep 19, 2001 at 06:35:28PM -0400, Sridhar Moparthy wrote:
> > Hi All,
> >
> > I am installing PHP4 on NT4.  I wanted to add LDAP and Oracle modules.
To do
> > this I have set  'extension_dir' to  "d:\php\extensions\" in php.ini.  I
> > have installed PHP in "d:\PHP" directory. But when I try to open  PHP
file I
> > am getting
> > "Unable to load dynamic library 'd:\php\extensions\php_ldap.dll'- The
> > specified module could not be found " message.  But the dll  is in the
> > specified directory.
> >
> > Is there any thing that I am missing. Is there any thing that need to
set in
> > php.ini file.
> >
> > Please help me.
> >
> > Thanks in advance
> > Sridhar.
> >
> >
> >
> > --
> > 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]






Has anyone worked with the IIS func module?

I'm interested to know if there is any progress with this module, I would
like to manage IIS/NT users thru PHP and was hoping that this module could
help me in this area.

I notice that the php_iisfunc.dll is still included in the extentions
directory.  PHP.net does not even document how to use it.






Hi,

I have a documentation item on my todo list. I have no plans to extend the module with 
functions for user management though.

What kind of management did you want ? I have an old PHP3 extension I used to read 
user and group information from the SAM database. Is this what you are looking for ?

- Frank

> Has anyone worked with the IIS func module?
> 
> I'm interested to know if there is any progress with this module, I would
> like to manage IIS/NT users thru PHP and was hoping that this module could
> help me in this area.
> 
> I notice that the php_iisfunc.dll is still included in the extentions
> directory.  PHP.net does not even document how to use it.
> 
> 
> 
> -- 
> 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 probably does not have write access to the disk.


"Clock" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi
> Warning: fopen("9-02_counter.txt","w") - Permission denied in
> c:\inetpub\wwwroot\9-02_pcounter.php on line 20
>
> Warning: Supplied argument is not a valid File-Handle resource in
> c:\inetpub\wwwroot\9-02_pcounter.php on line 21
>
> Warning: Supplied argument is not a valid File-Handle resource in
> c:\inetpub\wwwroot\9-02_pcounter.php on line 22
>
> Warning: fopen("9-02_counter.txt","w") - Permission denied in
> c:\inetpub\wwwroot\9-02_pcounter.php on line 20
>
> Warning: Supplied argument is not a valid File-Handle resource in
> c:\inetpub\wwwroot\9-02_pcounter.php on line 21
>
> Warning: Supplied argument is not a valid File-Handle resource in
> c:\inetpub\wwwroot\9-02_pcounter.php on line 22
>
> Warning: fopen("9-02_counter.txt","w") - Permission denied in
> c:\inetpub\wwwroot\9-02_pcounter.php on line 20
>
> Warning: Supplied argument is not a valid File-Handle resource in
> c:\inetpub\wwwroot\9-02_pcounter.php on line 21
>
> Warning: Supplied argument is not a valid File-Handle resource in
> c:\inetpub\wwwroot\9-02_pcounter.php on line 22
>
> what problem!?
> need to download sth!?
> or how to solve!?
> thanks
>






無?
個code 來自台灣書的example
有冇可以solve?

Cjd 寫入:

> PHP probably does not have write access to the disk.
>
> "Clock" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > hi
> > Warning: fopen("9-02_counter.txt","w") - Permission denied in
> > c:\inetpub\wwwroot\9-02_pcounter.php on line 20
> >
> > Warning: Supplied argument is not a valid File-Handle resource in
> > c:\inetpub\wwwroot\9-02_pcounter.php on line 21
> >
> > Warning: Supplied argument is not a valid File-Handle resource in
> > c:\inetpub\wwwroot\9-02_pcounter.php on line 22
> >
> > Warning: fopen("9-02_counter.txt","w") - Permission denied in
> > c:\inetpub\wwwroot\9-02_pcounter.php on line 20
> >
> > Warning: Supplied argument is not a valid File-Handle resource in
> > c:\inetpub\wwwroot\9-02_pcounter.php on line 21
> >
> > Warning: Supplied argument is not a valid File-Handle resource in
> > c:\inetpub\wwwroot\9-02_pcounter.php on line 22
> >
> > Warning: fopen("9-02_counter.txt","w") - Permission denied in
> > c:\inetpub\wwwroot\9-02_pcounter.php on line 20
> >
> > Warning: Supplied argument is not a valid File-Handle resource in
> > c:\inetpub\wwwroot\9-02_pcounter.php on line 21
> >
> > Warning: Supplied argument is not a valid File-Handle resource in
> > c:\inetpub\wwwroot\9-02_pcounter.php on line 22
> >
> > what problem!?
> > need to download sth!?
> > or how to solve!?
> > thanks
> >





I've downloaded mcrypt-2.5.6-win32.bin.zip from mcrypt.hellug.gr and have
been trying different ways to install it.  So far no success.  I haven't
been able to find any docs on installation so I've come here for some
wisdom.  Has anyone been able to install mcrypt under win32?  Thanks.






Hi, i would like to know what the formula in date('B');
does or how it works out the swatch internet time?
cheers






hello again,
can someone please help me to make a realtime clock in PHP not using forms
only plain text that updates when the time changes, i.e. every minute etc...

thank you again =)






mySQL and PHP

i have mySQL server for win on my system and run it.
then i cannot add, delete, or edit things in the table.

what is wrong? is the script incorrect may be? i used a tut from weberdev
for basic php and mysql accessing.

please help me thanx =)






Well if I have a func like this ( im trying to get it to work with the
simplist case now )

HRESULT test( [ out, ref ] unsigned char *n );

I can call that from PERL like

use Win32::OLE;
use Win32::OLE::Variant;

$obj = Win32::OLE->new( "comobjectname" );
$n = Variant( VT_UI1 | VT_BYREF, 0 );
$obj->test( $n );

Unfortunatly I prefer PHP's sytax to perl's ( a LOT ) so I tried duplicating
that in PHP, and got

$obj = new COM( "comobjectname" );
$n = new VARIANT( 0, VT_UI1 | VT_BYREF );
$obj->test( $n );

I get a | Warning: Invoke() failed: Type mismatch in <filename> on line
<line>

I cant see what I'm doing wrong as it works in PERL and they both use the
same IDispath style of interface ?

Two, other points....
1. How do I release my COM object ?, I thought I'd have to use the IUnknown
interface's Release() func to decrease the ref-count.  But can I call that
from a IDispatch interface ?  If not how DO I release my object

2. Can I pass strings - I read in the php.dev archive an article saying that
array passing to COM wasnt implemented yet.  Is it ?

Please help if you can

Park


"Alain Samoun" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm not sure, but try:
> $str = new VARIANT($obj->Get_Version_Str() , VT_STR | VT_BYREF );
> or simply:
>  $str = $obj->Get_Version_Str();
> Also, are you sure that release() is part of your object definition?
>
> > $obj->Release();
> Alain





Reply via email to