php question

Wolterw
01/17/2006 10:22 pm
Hi, i have a little problem with a site.

The urls look like this
http://www.site.com/members/index.php?show=file&path=/alt_image/578-2/set578-36-lg.jpg
So when i download it, i get two files
index.php@show=file&path=_2Falt_image_2F578-2_2Fset578-49-lg.jpg and set578-54-lg.jpg
What i was wondering was if it was possible to delete the long file and put the short file in a folder named 578-2.

I would be gratefull for any help.
Oleg Chernavin
01/18/2006 05:12 am
Yes, it is easy to use URL Substitutes for this purpose (Project Properties dialog - Advanced).

Best regards,
Oleg Chernavin
MP Staff
Wolterw
01/18/2006 06:01 am
> Yes, it is easy to use URL Substitutes for this purpose (Project Properties dialog - Advanced).
>
> Best regards,
> Oleg Chernavin
> MP Staff

Could you please give me an example of how i could do it in this case, I`ve used it before, but only vey simple ones
Oleg Chernavin
01/18/2006 06:21 am
URL:
*
Replace:
index.php?show=file&path=*
With:
*

Oleg.
Wolterw
01/18/2006 06:32 am
> URL:
> *
> Replace:
> index.php?show=file&path=*
> With:
> *
>
> Oleg.
Well, thats pretty simple and its working perfectly
Thanks a lot for the help
Oleg Chernavin
01/18/2006 06:43 am
Great!

Oleg.