Re: Re: How to store Images by memeber name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I really don't understand your question. This is what I'm gathering  
from what you've written:
1. You want to upload images, which you seem to have covered per your  
first e-mail.
2. You need to know how to create a new folder on a per user name  
basis, which I gave you code for.
3. You want to store images in the db, which doesn't make any sense  
if you're already storing them in a directory. If you're just looking  
to store file names in the database, you can just add a table with  
the member name as the primary key and another field with the image  
name.

If you'll clarify the question a bit I'm sure we can help you out.
--
Joe

On Dec 19, 2008, at 5:23 PM, arvindsri123 wrote:

> Hello,
>
> Thank you so much, i have got few scripts but all r do seprate part, i
> wanted a single script through that i can upload atleast 10 JPG
> images, and those images shoud store in DB as well as in new folder
> but folder name should be user name.
>
> I am still searching, If someone will help me with the script, i m not
> very expert.
>
> Thank you again for a quick and positive reply.
>
> Thanks,
> Avi.
>
> --- In php-objects@xxxxxxxxxxxxxxx, Joe Forsythe <jforsythe@...>  
> wrote:
> >
> > if (!(file_exists($directory_name))) {
> > mkdir($directory_name);
> > }
> >
> > Or something like that.
> >
> > If you're doing a google search on this topic, you'll want to search
> > for "directory", not "folder"
> > --
> > Joe
> >
> >
> > On Dec 19, 2008, at 4:07 PM, arvindsri123 wrote:
> >
> > > Hi,
> > >
> > > I need a help, I have just created a image upload script in php/ 
> mysql,
> > > right now all the user's/member's images storing in a common  
> folder.
> > >
> > > I wanted to store every members images in their own folder,  
> Like when
> > > i submit the image upload page, ther must be a new folder  
> created by
> > > the user name and all the images must be store in his/her  
> folder, I
> > > don't want to create folder manually..
> > >
> > > If there is any confusion please ask me, I will be very thank  
> full to
> > > all of you.
> > >
> > > Thanks,
> > > Avi
> > >
> > >
> > >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
> 



[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux