Posted by Erwin Moller on 12/06/07 18:02
JackpipE wrote:
> I need to rename a generic image to the name of the product that's
> being viewed on the page:
>
> /theme/images/fullProfile.gif to -> /theme/images/
> productxxx.jpg
>
> The productxxx.jpg image doesn't physically exist so I just need to
> rename the generic one and still display the same image under
> different name.
>
> Thanks,
> Jack
Hi Jack,
I don't get it.
If the file doesn't exist, what is it excactly that you want to do?
If you need to rename a file: use rename:
http://nl3.php.net/manual/en/function.rename.php
Regards,
Erwin Moller
[Back to original message]
|