Hi Colin,

PHP Warning:  unlink(): open_basedir restriction in effect. File() is not within the allowed path(s): (/var/lib/php/session/:/usr/sausalito/configs/php/:/tmp/:/home/solarspeed/php-5.4/share/pear:/home/.sites/28/site1/) in /home/.sites/28/site1/web/1/phserial/remove-record.php on line 23, referer:

The file in question is a PDF that is written to the phserial folder which it does correctly and is then supposed to delete it.

// DELETE PDF

unlink($row[file]);


Basically what Ken Marcus said: Find out where $row[file] points to. Most likely that is outside the allowed path.

--
With best regards

Michael Stauber
_______________________________________________
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx

Reply via email to