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
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.
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
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
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
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
I have written a simple image uploading system to go along with a simple
database. This will be a part of a publiclay accessable search engine for a
jewelry companie's web site. Almost every entry has a corresponding image.
But that was the easy part... The problem now is that I need to display
7 matches
Mail list logo