Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- filename parsing....stuck!
January 18, 2007, 2:21 pm
rate this thread
What I am trying to do is take a filename from a URL
(http://example.com/?i=image-t.jpg) and dynamically re-size it based on
For example, I have an original image that is called "image.jpg"
If someone changes the URL to point to: "image-t.jpg" I want to parse
the "-t", resize it to a thumbnail and display that.
I have the resizing down so no problem there. I just can't wrap my
head around regular expressions.
- » Best way to conditionally show large blocks of HTML
- — Previous thread in » PHP Scripting Forum