RE: [PHP] Help creating an image repository/library.

2001-12-12 Thread David Piasecki
r 12, 2001 11:24 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Help creating an image repository/library. That would be an ideal solution. But one of my problems is that I'm not very familiar with permission settings. All I know about is CHMOD. What exactly is CHOWN and how w

Re: [PHP] Help creating an image repository/library.

2001-12-12 Thread Kevin Stone
lto:[EMAIL PROTECTED]] > Sent: Tuesday, December 11, 2001 2:50 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Help creating an image repository/library. > > > Yes, I do reference the image filename in the database.. regardless of > where > I save it. That is not the issue.

RE: [PHP] Help creating an image repository/library.

2001-12-11 Thread David Piasecki
11, 2001 2:50 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Help creating an image repository/library. Yes, I do reference the image filename in the database.. regardless of where I save it. That is not the issue. The problem is that I can not save the image in a location where I can access it via

Re: [PHP] Help creating an image repository/library.

2001-12-11 Thread jimtronic
You can also open a socket and put the files up via ftp. I use this method frequently when I cannot move the uploaded files. use the fopen("ftp://user:[EMAIL PROTECTED]/path/to/images","w";) command to place the files. This doesn't work so well if the file already exists, so you have to dele

Re: [PHP] Help creating an image repository/library.

2001-12-11 Thread Kevin Stone
Yes, I do reference the image filename in the database.. regardless of where I save it. That is not the issue. The problem is that I can not save the image in a location where I can access it via a URL (ie. http://www.mydom.com/images/myimage.jpg). If I could then there would be no problem. B

Re: [PHP] Help creating an image repository/library.

2001-12-11 Thread jimtronic
Presumably, each item in the catalog has a unique id of some sort in the database. When you upload the images, you can rename the image file to image_(unique_id).jpg. Then when you load a page, you can reference the item next to the image. This is only one way to do it, of course. You could a