[PHP] Re: Resize an image from URL

2002-12-10 Thread Lokesh Setia
I dont believe that such a function would already exist. If saving network bandwidth is your aim, you can open an HTTP connection yourself, read only the first 10 bytes, and close the connection. The first six bytes of an GIF image is always 'GIF87a' or 'GIF89a'. Then comes the width as a 1

[PHP] Re: make error

2002-12-09 Thread Lokesh Setia
Hi there, Just a question, Have you actually run phpinfo() to see if your vendor supplied PHP rpms come with gd support or not??? On my SuSe 8.1, phpinfo() contains the following bits about gd: __gd__ GD Support enabled GD Version 1.6.2 or higher FreeType Support enabled FreeType Linkage wi

[PHP] ioctl() in PHP

2002-12-09 Thread Lokesh Setia
ioctl()? I was unable to find it in the PHP manual. Or even better, can I use the high-level C library functions for this card from within PHP, without _too_ much of hacking into the internals of PHP ? best regards, Lokesh Setia. -- University of Applied Sciences, Offenburg, Germany. -- PHP Ge