hi there,
I have a problem with my webspace on a win2k server. I want to create thumbnails for my pictures there and found out that they built in a gd-libary. But this libary is too old and hasn't the command "ImageCreateFromJPEG". So I want to add this command from a newer libary and try this:
<PRE>
$gd=0;
if ((!extension_loaded("gd")) && (!function_exists("imagecreatefromjpeg"))) {
if (ini_get("enable_dl")=='1') {
if (substr(php_uname(), 0, 7) == "Windows") {
dl(getcwd()."\php_gd.dll");
if (function_exists("imagecreatefromjpeg"))
$gd=1;
}
}
}
else
$gd=1;
</PRE>
But it doesn't work. How should I resolve that problem?
thx for help,
pry