php-windows Digest 12 Nov 2005 09:50:34 -0000 Issue 2821
Topics (messages 26477 through 26478):
Can't use secure file wrappers
26477 by: Chuck Anderson
Re: Handling objects (again)
26478 by: M. Sokolewicz
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 ---
I have read posts in the archive saying that I need a "special" copy of
php4ts.dll in order to enable secure streams (https, ftps) in Php on
Windows (XP, in my case).
Those posts point to copies of php4ts.dll for Php 4.3.4.
I am running Php 4.4.0. Where can I find a copy of php4ts.dll for
Php4.4.0 that enables secure streams?
(And is that still the solution necessary in Php 4.4.0?)
--
********************
Chuck Anderson
********************
--- End Message ---
--- Begin Message ---
Marcos R. Cardoso wrote:
> Hello to everyone,
>
> I'm manipulating objects in some scripts I've developed, and I've come
> across a doubt: I perform a query and do some checkings, but to perform
> this checkings I need to instantiate an object, and I really don't know
> how to do it without crashing theWeb Server. Let me give an example (I
> work in a Library and the example is directed to that):
>
try this:
$dbConn->query('select nr_book from book_loan where cd_user = '.$cdUser);
while ($nextRecord = $dbConn->nextRecord()) {
$book = new TBook($dbConn->field('NR_BOOK'));
echo $book->getTitle().'<br>';
$book = null;
}
just wondering though, where do you use the $nextRecord?? You loop it,
but never even touch it???
> $dbConn->query('select nr_book from book_loan where cd_user = '.$cdUser);
> $nextRecord = $dbConn->nextRecord();
> while ($nextRecord) {
> $book = new TBook($dbConn->field('NR_BOOK'));
> echo $book->getTitle().'<br>';
> //how do I destroy the object here?
> $nextRecord = $dbConn->nextRecord();
> }
>
> If I don't destroy the object the Web Server falls into some kind of
> deadlock and kills itself. And I didn't find a good explanation about
> how to do that in the PHP documentation in www.php.net
>
> I use Apache 2.0.54 as a Web Server and I use PHP 4.4.1 here at work.
>
> TIA,
> Marcos R. Cardoso
> FURB
> Brazil
--- End Message ---