LoadBitmap with PHP - Bug?

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: helmut, XnTriq, xnview

Post Reply
DazBYorks
Posts: 5
Joined: Mon Feb 04, 2008 3:11 pm

LoadBitmap with PHP - Bug?

Post by DazBYorks »

Hi,

First of all I would like to thank you for providing your software to the world :)

With PHP using;

Code: Select all

$ImgObj->LoadBitmap("G:\music_extra\c\Melanie C\This Time\This Time [Single]\front.jpg");
Will fail with an Uncaught exception (Error to open file). This can be 'fixed' by simply using single quotes instead of double ones;

Code: Select all

$ImgObj->LoadBitmap('G:\music_extra\c\Melanie C\This Time\This Time [Single]\front.jpg');
Version: GflAX DLL 2.60- GFL 2.80 (Standard)

I don't recall this happening with the previous version - didn't do much testing though as I normally use VBScript. This may actually be a bug in PHP5 though?

Daz
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: LoadBitmap with PHP - Bug?

Post by xnview »

DazBYorks wrote: I don't recall this happening with the previous version - didn't do much testing though as I normally use VBScript. This may actually be a bug in PHP5 though?
Strange, i have not tested with php
Pierre.
Post Reply