note 112952 deleted from book.image by cmb

From: Date: Sat, 13 Aug 2016 16:05:29 +0000
Subject: note 112952 deleted from book.image by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-206272@lists.php.net to get a copy of this message
Note Submitter: zsolt dot trenyik at gmail dot com ---- According to kurdtpage at gmail dot com, we faced a fairly strange behavior of GD. We saved an incluce file incorrectly, and everything worked (OCI8, other php functions) except GD. It took one and half day to find the reason, at the end commenting out the require part of the main file. The solution was: we took a HEX editor to see if there is a problem with that .inc file. There was some crazy invisible characters before the <?php tag, signing that the text editor saved the file in utf format. These characters cannot be deleted, we had to open a new file in eclipse (notepad++ also works right), copy the visible part of the file to it, replace them, ready. Maybe this detailed warning helps somebody.

« previous php.notes (#206272) next »