What I have is an ECommerce program that allows you to add products and browse for a picture and thumbnail to upload and associate with the product.
All is fine except that the image which should have been added to the database does not appear. I have tried several times and nothing seems to work.
Yeah, the uploading is the problem. By default, uploading via php will put it in /tmp - this is fine for the primary ibay, it doesn't have open_basedir restrictions on it. All other ibays do have the restriction, therefore they can't reach /tmp and the upload fails.
You'll need to tell apache to set that php_admin_value for the ibay so that the php uploading will go to a location that is "within" the openbasedir path restriction.
G
PS. when uploading with php, it doesn't matter where you tell (or where the script tells) the file to go to, be it in the filesystem or in a database. It will still first go to a temporary filesystem location as specified in the php.ini file as the upload is taking place.
[/quote]