Toon posts:

[php] afbeeldingen uit database goed weergeven

Pagina: 1
Acties:
  • 41 views sinds 30-01-2008

Verwijderd

Topicstarter
Afbeeldingen die ik in een DB heb staan (als BLOB) worden niet goed weergegeven..
Krijg deze error:

code:
1
2
3
4
5
Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/local/lib/php/DB.php) is not within the allowed path(s): (/www/htdocs/amstcon) in /www/htdocs/amstcon/jctroef/tiki/db/tiki-db.php on line 13

Warning: main(DB.php) [function.main]: failed to create stream: Operation not permitted in /www/htdocs/amstcon/jctroef/tiki/db/tiki-db.php on line 13

Fatal error: main() [function.main]: Failed opening required 'DB.php' (include_path='.:/usr/local/lib/php:lib/pear') in /www/htdocs/amstcon/jctroef/tiki/db/tiki-db.php on line 13


Uit phpinfo();
code:
1
open_basedir /www/htdocs/amstcon:/tmp


GD werkt volgens mij ook goed:

GD:
code:
1
2
3
4
5
6
7
8
GD Support  enabled  
GD Version  bundled (2.0 compatible)  
FreeType Support  enabled  
FreeType Linkage  with TTF library  
GIF Read Support  enabled  
JPG Support  enabled  
PNG Support  enabled  
WBMP Support  enabled

  • whoami
  • Registratie: December 2000
  • Laatst online: 15:14

https://fgheysels.github.io/


Dit topic is gesloten.