php-windows Digest 28 Nov 2001 11:46:23 -0000 Issue 875

Topics (messages 10620 through 10624):

How to use the Object returned from COM?
        10620 by: Flower Rose

ext/dotnet
        10621 by: Richard Samar

how to install PEAR under windows?
        10622 by: Dino Leung

Question on PHP's printer capability
        10623 by: Jaime Teng

binary
        10624 by: Brian Feliciano

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 want to try a PHP script which use COM Object. 
But I don't know how to use the data returned from
COM.

There is an ASP example on how to use the data.
=======================
<%
Set AU = Server.CreateObject("Persits.AspUser")
For Each User in AU.LocalUsers
   Response.Write User.Name & " (" & User.FullName &
")<BR>"
Next
%>

It will print all users, such as: Administrator,
Guest...... (10 users now)
=======================
But how to use it in PHP?
=======================
<?
$AU = new COM("Persits.AspUser");
$user = $AU->LocalUsers;
echo $user->Count(); // It will print 10. That's right

//I want to access those 10 users. But I can't find a 
//way. Anybody know how to access it? Thanks.
//The $user is an object, not a object array. Any
other method I can use to get those data? Actually, I
just find the method Count(). Any documents about
these?
?>

BTW, all class/object function, such as:
get_class_methods, get_class_vars, get_object_vars
return unuseful results. If I use print_r to print it,
it's like:
Array {[0]->2}.... That's not what I want. The method
Count, I just find it by accident.........

Regards,

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
--- End Message ---
--- Begin Message ---
Hi everbody,

Daniel Beulshausen talked in an impressive session at the int.
php conference about the ext/dotnet.

I tried to get the available version to run (src by php.net) 
which didn't work.
Having no sucess, I also tried to compile the source by my own.

Later though, I heard that the code would be old and will not
run with the .NET SDK Beta 2 which is the only available version
by Microsoft.

I also tried contacting Daniel but he seems to be rather busy as
he didn't reply.

Has any one else any kind of information about that extension
or can send me either compiled or source code version of it?

best regards and a lot of thanks in advance
-Richard
--- End Message ---
--- Begin Message ---
anybody tell me how to install PEAR under windows environment?
--- End Message ---
--- Begin Message ---
Hi,

I would like to know what is PHP for Windows's printing capability.

I recently realized that Perl does not have Printer capability other
than dumping the text to the printer port. This isnt good as doing so,
our scripts would be totally reliant on the printer's command sets.
So I need to print to the windows printer driver <- perl does not have
this.

I am wondering if PHP have this feature.

Specifically, can I use PHP to :
1) set the margination of the printer
2) set page height of the printer
3) print a JPG / BMP file to the printer
4) and do the above direct to the printer driver and not 
   direct to the printer port.

Jaime

--- End Message ---
--- Begin Message ---
can MySql can hold a binary data? is it possible to upload an image "inside"
the database?

i want to upload an image, but i don't want it to be a file, i want it to be
a data in my database. is there a way i can deconstruct the image and place
it in the database and then retrieve and reconstruct it again?

i just don't if it's possible. thanks.


--- End Message ---

Reply via email to