Hi,
I just read this article on storing images in a db: http://www.phpbuilder.com/columns/florian19991014.php3
But I can't make it work, so I figure there is either an error in the article OR my hosting doesn't allow the necessary operations.
When executing store.php3 (i.e. uploading the (jpeg)image to my database) I get this:
Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/projekte.dk/httpdocs/store.php on line 23
Warning: fopen("/tmp/phpefijPC","r") - Operation not permitted in /usr/local/psa/home/vhosts/projekte.dk/httpdocs/store.php on line 23
Warning: Supplied argument is not a valid File-Handle resource in /usr/local/psa/home/vhosts/projekte.dk/httpdocs/store.php on line 23
Does anybody have an idea on what's wrong?