Re: [PHP-WIN] PHP + COM

2001-02-14 Thread Marius
PHP seems to have problems with multiple levels of indirection. Try assigning the object you need to work with to a local variable. e.g. // Assign to temp variable $tempCAT = $pro->CAT; // Do some work $tempCAT->FILTER(XXX); // Copy back to original object $pro->CAT = $tempCAT; Bye Marius -

[PHP-WIN] Re: pdflib put a image to a pdf file

2001-02-14 Thread Rainer Schaaf
> Hallo! > I got this problem, I can't insert a image to the pdf > document. I useing " pdf_place_image($pdfdoc, "test.gif", 100, 100, 1); " > Is it anybody got a tip.. > You should first open the image with pdf_open_image_file pdf_place_image expects a handle to an already opend image. The PDFlib

RE: [PHP-WIN] assigning variable names on the fly, backed myself in to a corner

2001-02-14 Thread Asendorf, John
Well, here's what I came up with that finally worked for me: for ( $i=1 ; $i <= $tag_count ; $i++ ) { //tag_count came from the post page $tag_num = "tag_num$i"; $tag_type = "tag_type$i"; $tag_cost = "tag_cost$i"; if ( $$tag_cost == "" ) {// can't have empty

php-windows Digest 14 Feb 2001 13:48:31 -0000 Issue 445

2001-02-14 Thread php-windows-digest-help
php-windows Digest 14 Feb 2001 13:48:31 - Issue 445 Topics (messages 5560 through 5562): Re: PHP + COM 5560 by: Marius Re: pdflib put a image to a pdf file 5561 by: Rainer Schaaf Re: assigning variable names on the fly, backed myself in to a corner 5562 by: Asendor

RE: [PHP-WIN] Re: pdflib put a image to a pdf file

2001-02-14 Thread Jason Hoover
Rainer, Here is sample code for placing a .jpg image in pdf. Anyone out there get .gif images to work. I tried the code below without results (PHP Version 4.0.4pl1 running as cgi on Win NT). $fp = fopen("test.pdf", "w"); // pdf file to be created $pdfObject = PDF_open

Re: [PHP-WIN] Re: pdflib put a image to a pdf file

2001-02-14 Thread Tom Mathews
I've never tried, but I'm wandering if it is related to the GIF licensing issue that forced GIF's out of the GD libraries - does anyone know if the same happenned to the PDF libraries? Tom Jason Hoover wrote: > Rainer, > > Here is sample code for placing a .jpg image in pdf. Anyone out there g

[PHP-WIN] Bug in mktime-function ?

2001-02-14 Thread Dirk . Dinger
Hello PHP-users, given the following code snippet to convert ISO-date-strings to localized date-strings: This code works fine as long as I use dates after 1970, all earlier dates result in an empty value. According to the docs, mktime is supposed to work fine with 4-digit dates. What is the

Re: [PHP-WIN] Bug in mktime-function ?

2001-02-14 Thread Pablo Vera
Dirk: Date/time values in PHP are handled as UNIX timestamps, that is, the number of seconds since what they call the UNIX Epoch (whatever it means), in other words, 1970. Before that, nothing existed, so no need for time. Saludos, Pablo _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Wedn

RE: [PHP-WIN] Bug in mktime-function ?

2001-02-14 Thread Ignatius Teo
RXIuLi5kb2VzIHRoaXMgbWVhbiB0aGF0IHRob3NlIG9mIHVzIGJvcm4gYmVmb3JlIHRoZSBhZHZl bnQgb2YgVW5peCBkb24ndCBleGlzdD8gOi0pDQoNCklnbmF0aXVzDQoNCj4gLS0tLS1PcmlnaW5h bCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogUGFibG8gVmVyYSBbbWFpbHRvOnB2ekB2ZXJjYW4uY29t XQ0KPiBTZW50OiBUaHVyc2RheSwgMTUgRmVicnVhcnkgMjAwMSAwNDozMA0KPiBUbzo

Re[2]: [PHP-WIN] Bug in mktime-function ?

2001-02-14 Thread Pablo Vera
We do exist, but on a different time frame, something like a parallel universe ... just kidding ;-) Pablo. Wednesday, February 14, 2001, 5:01:24 PM, Ignatius wrote: IT> Er...does this mean that those of us born before the advent of Unix don't exist? :-) IT> Ignatius >> -Original Message-

[PHP-WIN] date conversion

2001-02-14 Thread Vasu
Hi, I am trying to get US date out of a DATETIME column but it returns "12/31/1969". The line of code that I am using is: FileSentDate); ?> According to the documentation, the second parameter of the date() function requires timestamp value which is int data type. If any of you know how to

RE: [PHP-WIN] assigning variable names on the fly, backed myself in to a corner

2001-02-14 Thread Nold, Mark
- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are no

RE: [PHP-WIN] date conversion

2001-02-14 Thread Andreas Lange
> -Original Message- > From: Vasu [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 15, 2001 1:53 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] date conversion > > > Hi, > > I am trying to get US date out of a DATETIME column but it > returns "12/31/1969". The line of code that I am

RE: [PHP-WIN] Bug in mktime-function ?

2001-02-14 Thread Ignatius Teo
SXMgaXQgbWUgb3IgSSBhbSB0aGUgb25seSBvbmUgZ2V0dGluZyB0d28gY29waWVzIG9mIHRoZSBz YW1lIG1lc3NhZ2U/DQoNCkRpcmssIHRoaXMgYXMgYWxyZWFkeSBhbnN3ZXJlZCBieSBzb21lb25l IGVsc2Ugb24gdGhlIGxpc3QuIG1rdGltZSAoYWNjb3JkaW5nIHRvIHRoZSBQSFAgbWFudWFsKSAi Li4ucmV0dXJucyB0aGUgVW5peCB0aW1lc3RhbXAgY29ycmVzcG9uZGluZyB0byB0aGU

php-windows Digest 15 Feb 2001 02:29:58 -0000 Issue 446

2001-02-14 Thread php-windows-digest-help
php-windows Digest 15 Feb 2001 02:29:58 - Issue 446 Topics (messages 5563 through 5572): Re: pdflib put a image to a pdf file 5563 by: Jason Hoover 5564 by: Tom Mathews Bug in mktime-function ? 5565 by: Dirk.Dinger.dignos.com 5566 by: Pablo Vera 5567