Re: file naming problem

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

 




--- In php-objects@xxxxxxxxxxxxxxx, Oreste Attanasio <attanasio@xxxx> 
wrote:
> hi all, 
>  I have a online catalogue of products. Each product can have one or
> more photos. I've stored the products records in one mysql table and
> the pictures in another one linked by a "product_id" foreign key. 
The
> problem is that if the user uploads photos with same filename, the
> photos table gets inconsistent because there might be different
> products with photos, which have the same filename. Any ideas how I
> could solve this issue? I hope it is clear enough.
> thanks in advance
> -- 
> Oreste Attanasio
> oreste@xxxx
> attanasio@xxxx

The answer to this can be found on my board at chillyhack.com.  Go to 
the PHP forum.  





PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




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

  Powered by Linux