Re: [PHP] Installing php with gd what a pain!

2003-09-09 Thread Desi
You must also install devel packages from jpeg, png and so on... Desi Jason Wong wrote: On Tuesday 09 September 2003 14:49, Dhaval Desai wrote: I am trying to install php 4.3.2 with gd support. I have already installed zlib and jpeg-6b. My configure line options are as below: PHP + GD

[PHP] Re: gettext i18n

2003-09-04 Thread Desi
Hello, Try: putenv(LANG=de_DE) . 'br'; putenv(LC_ALL=de_DE) . 'br'; setlocale(LC_ALL, de_DE, german) . 'br'; Desi Catalin Trifu wrote: Hi, I want to add i18n support for my web site, but it doesn't seem to work. PHP 4.3.3., Apache 1.3.28, Mandrake 9.0 Here comes the test

[PHP] Re: gettext i18n

2003-09-04 Thread Desi
Send me your messages.po file, I try it... Gettext is cool, it works very well for me... Desi Catalin Trifu wrote: Hi, Thanks for the reply, but it doesn't work this way either. in /www/locale I do have de/ LC_MESSAGES/ messages.mo de_DE

[PHP] Linux support and security services

2003-09-01 Thread Desi
- Tux web accelerator - Dynamic Firewalls - anti DDOS configurations Desi Petrovic J. Stanislava 41 841 05 Bratislava Slovak Republic [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Tracking Bandwidth usage....

2003-09-01 Thread Desi
Hello, Try webalizer... You must setup custom log format in httpd.conf to log virtual hosts and properly configure webalizer. Regards Desi Petrovic Mediate s.r.o. system administrator Binay Agarwal wrote: Hi All, I need to track the bandwidth usage of the different sites hosted on a server

[PHP] Re: imagecopyresized problems

2002-09-13 Thread Desi Petrovic
Hi, this seems to be a problem with headers. Try this: ?php $max_width = 0; $tmp = imagecreatefromjpeg(img.jpg); if (imagesx ($tmp) $max_width) { imagejpeg($tmp); exit(); } $dst_img = imagecreate(80,60); imagecopyresized($dst_img,$tmp,0,0,80,60,80,60,imagesx($tmp),imagesy ($tmp));