php-windows Digest 25 Nov 2001 08:02:48 -0000 Issue 870

Topics (messages 10599 through 10602):

Site critique requested....
        10599 by: Mentor Mala

copy function on NT ?
        10600 by: Patrick SILVA
        10601 by: Mike Flynn

Please help with PHP COM problem (using MS Office)
        10602 by: Nicholas Catanchin

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 ---
Hey all.. I just transfered the website from basic HTML/JAVASCRIPT to PHP, and MySQL. 
I was wondering if anyone is willing to critique it and give me maybe some insights 
and sugestions... The URL is http://www.virtual-library.com/


Thanks in advance for any sugestions...

Mentor Mala
--- End Message ---
--- Begin Message ---
When I use that I get an error, how ca I use copy on a NT system with PHP4 
the script don't accept "\" at the end of the variable !!!
 $image_location_disk="g:\hotstore\images\" . $products_image_name;
 copy($products_image, $image_location_disk);

need help
many thanks to all
/---------------------------------------------/
Patrick Silva 
Gestion serveurs et domaines
Cyse Informatique
105 avenue du Général Leclerc
77400 Lagny sur marne (France)
tel : (33)1 64303232 - Fax : (33)1 64303222
tel : (33)5 55805498 - Fax : (33)5 55805499
E-mail : [EMAIL PROTECTED]
http://www.cyse.com
/---------------------------------------------/
--- End Message ---
--- Begin Message ---
Backslash \ is the escape character.  You need to "escape it" to get a
normal backslash -- \\.  So use this:
$image_location_disk = "g:\\hotstore\\images\\".$products_image_name;
...

At 06:49 PM 11/24/01 +0100, Patrick SILVA wrote:
>When I use that I get an error, how ca I use copy on a NT system with PHP4 
>the script don't accept "\" at the end of the variable !!!
> $image_location_disk="g:\hotstore\images\" . $products_image_name;
> copy($products_image, $image_location_disk);
>
>need help
>many thanks to all


 -=- The Flynns -=-
• Tom, Pat, and Mike
• mailto:[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
Hi!
 
I can't for the life of me figure out how to make excel or word visible
using COM. What I mean is:
 
$excel = new COM("Application.Excel");
$excel->visible = true;
 
does not work for me, no matter what I try!
I am running PHP 4.0.6 CGI alongside Apache 1.3.22 on Windows XP. I have
no trouble pulling the Version and Value settings, ie:
 
print "Loaded {$excel->Value}, v{$excel->Version}";
 
yields: Loaded Excel, v10.0
 
but doing:
 
print "Visible: {$excel->Visible}";
 
doesn't show anything (except "Visible:")
 
All the examples for using COM in PHP (including the example in the PHP
manual) include this command ($excel->visible = 1)... and I can't find
any resources on the net to help me...
 
I tried doing the same in VBScript and it worked fine (Setting visible
to 1)... so I'm really stuck here!
 
Things I have tried:
1) replacing true with: 1, "1", "true"
2) using $excel->application->visible = true (and others from 1)
3) installing Excel 2000 over Excel XP (2002) (as all the examples used
this...) and using $excel = new COM("Application.Excel.9")
 
In summary: I can do pretty much anything else using COM that I have
gotten examples for on the internet... I used Alain Samoun's EXCEL PHP
class without a problem (except that the bloody excel window won't
show!!)... and I can create word documents and insert data into them and
save them, but I never actually see the Word window.
 
Any help GREATLY appreciated, as I have been working on this for 2 days
and I can't find a solution. Thanks in advance,
 
Nicholas Catanchin.
 
--- End Message ---

Reply via email to