Allowing file_get_contents

Status
Not open for further replies.

bux.tombulka27

New Member
Messages
3
Reaction score
0
Points
0
Hello,
I really need to use this code:
PHP:
	$image = file_get_contents('http://82.177.67.40:65530/test/stok.jpg') or die('Could not get image');
but I recognized that file_get_contents() from remote files is not allowed. Is that possible to add this url to some kind of white list? It is just an image so it can`t be dangerous.

Thanks a lot for your help!
 
Status
Not open for further replies.
Top