Current Page: 1 of 1
Results 1 - 8 of 8
13 years ago
jerem
I've been informed that the problem is that PHP doesn't go well with UTF-8...that this is where the 3 characters were coming from.
Forum: WampServer English
13 years ago
jerem
OK the problem was being caused by the text editor. Notepad was inserting 3 characters before the opening of the php script, but they were not visible. I discovered it after reopening the file with open office. Strangely, I had had the same problem with open office 3 months back. So now you all know...text editors are not trustworthy! Or perhaps both of these were hacked.
Forum: WampServer English
13 years ago
jerem
Can anyone else confirm that the code above works on their wamp and their settings? The code is safe, straight out of PHP manual. See link above. Thank you in advance for your help.
Forum: WampServer English
13 years ago
jerem
Even with windows xp firewall turned off and no anti-virus the code doesn't work on my Wamp..
Forum: WampServer English
13 years ago
jerem
Hmm. So either some other change is needed in php.ini or ...Windows XP is blocking it somehow. Any further suggestions?
Forum: WampServer English
13 years ago
jerem
php_gd2 is checked. So is php_mbstring. Still the code doesn't work. Does it work for you? The file is in the www folder and called draw_image.php. I'm on windows XP and using wamp 2.0f. Please remember I can display images using echo and img src, but not with content type header, like in the code above. What now?
Forum: WampServer English
13 years ago
jerem
Thanks for the quick help. However I still don't see the image. I'm assuming I´ve enabled gd2 correctly: it's now unchecked in the wamp tray php.ini file and also uncommented (no semi-colon in the gd2 dll in the apache php.ini. Right? If so, what else might be the problem?
Forum: WampServer English
13 years ago
jerem
Hi -- I've been breaking my head trying to display images with a content header on 3 browsers (firefox, opera, netscape). For example, the code below is straight out of the PHP manual but all I get (in Opera) is a text with the term image inside a small space; firefox informs that the page won't display because of an error , but it doesn't specify what (even though display errors works fine). I t
Forum: WampServer English
Current Page: 1 of 1