php-windows Digest 12 Dec 2006 18:48:27 -0000 Issue 3088
Topics (messages 27312 through 27318):
Re: php_mssql.dll
27312 by: Frank M. Kromann
27313 by: Vincent DUPONT
PHP, COM, and Date Type
27314 by: James Van Lommel
Class method unavailable on server
27315 by: Niel Archer
27316 by: Stut
Re: dynamic page caching help
27317 by: Harpreet
27318 by: Stut
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 ---
Please read http://php.net/mssql.
Under requirements for win32 you will find this section.
The extension requires the MS SQL Client Tools to be installed on the
system where PHP is installed. The Client Tools can be installed from the
MS SQL Server CD or by copying ntwdblib.dll from \winnt\system32 on the
server to \winnt\system32 on the PHP box. Copying ntwdblib.dll will only
provide access. Configuration of the client will require installation of
all the tools.
- Frank
> Setup:
>
> - Windows XP
> - Apache 1.3.27
> - PHP 5.2.0
>
> php.ini file configured. dll extensions exists.
>
> Problem: All extensions are being loaded except php_mssql.dll
>
> Help please!!!
>
> Kind Regards,
> Dale
--- End Message ---
--- Begin Message ---
did you install the MSSQL client dll on your computer?
make sure you have the file "ntwdblib.dll", and it is available into the PATH
vincent
-----Original Message-----
From: Dale Attree [mailto:[EMAIL PROTECTED]
Sent: Tue 12/12/2006 7:40
To: [email protected]
Subject: [PHP-WIN] php_mssql.dll
Setup:
- Windows XP
- Apache 1.3.27
- PHP 5.2.0
php.ini file configured. dll extensions exists.
Problem: All extensions are being loaded except php_mssql.dll
Help please!!!
Kind Regards,
Dale
--- End Message ---
--- Begin Message ---
I need help converting a PHP variable to a Date type for a COM
function parameter. (Yes, I know PHP has weak typing... that's the
problem.)
Passing a value to the COM object's function (CrystalReports XI
ParameterField -> AddCurrentValue(), if that matters to you) works if
the object is expecting a number or a string...
However, if it is expecting a Date I cannot use a PHP string or the
VT_DATE variant, it seems.
All of the sample code in VB or for ASP takes advantage of the
Microsoft function CDate() to convert a string to a Date Type.
Right now I'm trying something like:
$dt = variant_date_from_timestamp($timestamp);
$vVal = new VARIANT($dt, VT_DATE);
$this->param->AddCurrentValue($vVal);
The last line throws a com_exception.
Any one else come across this or have any hints as to how it can be
worked around?
- James
--- End Message ---
--- Begin Message ---
Hi all,
I have a class extending another, both saved in separate files. When
using them from a 'control' file through CLI, I have no problems. But
accessing through a web server causes a 'Call to undefined method' fatal
error. The method in question is in the parent class and can't be
accessed however I try.
This has me totally stumped. Anybody have any ideas on how to resolve
this?
Niel
--- End Message ---
--- Begin Message ---
Niel Archer wrote:
I have a class extending another, both saved in separate files. When
using them from a 'control' file through CLI, I have no problems. But
accessing through a web server causes a 'Call to undefined method' fatal
error. The method in question is in the parent class and can't be
accessed however I try.
This has me totally stumped. Anybody have any ideas on how to resolve
this?
My psychic powers tell me that you need to provide us with your code
before we can provide helpful help.
-Stut
--- End Message ---
--- Begin Message ---
No replies. Can some one recommend where I can get more info on this
topic.
Thanks
-----Original Message-----
From: Harpreet [mailto:[EMAIL PROTECTED]
Sent: Friday, December 08, 2006 11:08 PM
To: [email protected]
Subject: [PHP-WIN] dynamic page caching help
I have a search page that returns results in about 10-15 seconds. If I
refresh the page it again takes the same time as the initial search. Is
there a best way to reduce the time on a refresh.
Reading the internet I see info on caching results. Can someone point me
to a good site that explains caching in detail and how to go about using
it.
Any other ideas , please help
Regards
Harpreet
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Harpreet wrote:
No replies. Can some one recommend where I can get more info on this
topic.
Read up on sessions. Stick the search terms and results in the session.
If the search terms don't match those in the session, do the search and
store the terms and results back into the session.
Did I say session often enough?
-Stut
-----Original Message-----
From: Harpreet [mailto:[EMAIL PROTECTED]
Sent: Friday, December 08, 2006 11:08 PM
To: [email protected]
Subject: [PHP-WIN] dynamic page caching help
I have a search page that returns results in about 10-15 seconds. If I
refresh the page it again takes the same time as the initial search. Is
there a best way to reduce the time on a refresh.
Reading the internet I see info on caching results. Can someone point me
to a good site that explains caching in detail and how to go about using
it.
Any other ideas , please help
Regards
Harpreet
--- End Message ---