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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.