[PHP] Undefined variables?

2002-11-18 Thread Martin Magnusson
I installed php 4.2.3 on Apache2.

When I write  I get an error message telling me that
I have an undefined variable $anyvariable. Is this something new that one
must declare all variables?

In my previous version of php the expression above would return an empty
string - no error messages...

Hope you understand my problem...

Martin Magnusson




[PHP] Problem with browscap.ini

2002-11-20 Thread Martin Magnusson
I've recently installed php 4.2.3 on Apache 2.0.43. (windows2000)
I downloaded a browscap.ini file from GaryKeith.com and copied it to
c:\WINNT\system32\browscap.ini
In php.ini the value for browscap is set to c:\WINNT\system32\browscap.ini

This doesn't work... For example: the variable $HTTP_USER_AGENT is empty.

I've also tried to put the the browscap file in system32\inetsrv\



[PHP] Image Resolution

2005-01-26 Thread Martin Magnusson
Hi,

I have written a script that takes an uploaded jpeg-image and places it in a 
PDF-file with the PDFLib functions in php. The original image file is 560x420, 
72 dpi. Later on the PDF-file will be printed, and our printshop requires at 
least 200 dpi. The format of the printed image should be A6 (15,2x10,9 cm).

Is it possible to change resolution like this?

Thanks // Martin M

[PHP] Image Resolution

2005-01-26 Thread Martin Magnusson
Hi,
I have written a script that takes an uploaded jpeg-image and places it in a 
PDF-file with the PDFLib functions in php. The original image file is 
560x420, 72 dpi. Later on the PDF-file will be printed, and our printshop 
requires at least 200 dpi. The format of the printed image should be A6 
(15,2x10,9 cm).

Is it possible to change resolution like this?
Thanks // Martin M 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php