problem including images in safe_mode

From: Date: Thu, 15 Jul 2004 11:52:28 +0000
Subject: problem including images in safe_mode
Groups: php.general 
Request: Send a blank email to php-general+get-190593@lists.php.net to get a copy of this message
Hall all, i have sometimes problems to include images. the reason are substrings like <? in the image. in that case the php-parser tries to parse the string and returns the error: parse error, unexpected ',' in unforunatly there in no other way to include the image, cause the server runs in safe_mode and the image is located in the safe_mode_include_dir. therefore readfile and things like that wont work. Any suggestions how to protect an including file for getting parsed? Thanks in advance.

« previous php.general (#190593) next »