Jump to content

rule loop


Brian W

Recommended Posts

I've posted in the freelance board, but I haven't gotten much replies and no one has been serious, so I'll need to take this into my own hands I guess.

I need to be able to have dynamic images on websites like myspace and other large website which works fine with one major complication; several major websites I'm targeting do not allow for query strings with images. So when my users try using

they get

I want to rewrite something like

still pretty simple and I could do it myself if it was so simple, so here is where it gets complicated. There could be more variables, less, or they could be in a different order. it taking ".png" rather than ".php" is easy and likely the easiest part of this whole thing (I actually already have that part working by itself)

I'm not using any sub-directories, so I was thinking it would be good if I grabbed everything after the domain that had a slash after it then processed like $1=$2& [loop though that until all the variables are converted]

Any input appreciated.

Link to comment
https://forums.phpfreaks.com/topic/151772-rule-loop/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.