I thought it might help if i give more examples of what i am trying to do.

Here on this site, they display .SWF files by simply putting the filename (minus the extension of .swf), the height and width.

http://www.thefucksociety.com/anim.php?id=soc23&w=300&h=300
http://www.thefucksociety.com/anim.php?id=spaceghost&w=320&h=240
http://www.thefucksociety.com/anim.php?id=soc15&w=300&h=300

On this site they can call up any video they have by simply putting the file name at the end of the url

http://poststuff2.entensity.net/061104/media.php?media=onecar.wmv
http://poststuff.entensity.net/060804/media.php?media=skerd.wmv

On that same site they can display any image they want like so

http://poststuff2.entensity.net/061104/image.php?pic=pretty.jpg
http://poststuff2.entensity.net/061104/image.php?pic=pool.jpg

Long story short, i want to be able to have a templete for a video/image/media file so that i can call up whatever i have loaded in that file.

Thanks a bunch.

    Hey M8,

    I guess you had trouble engendering a response from the crowd because some of the material you linked to was a bit offensive. Like the banner at entensity.net often came up with a pornographic image and the cartoons in the first link were encouraging gun violence!! Geez talk about bad taste.

    Anyway to get to the nub of the issue, because I did in fact see a real question about PHP amount the filth and depravity you linked us all to.. And that is how these site are using the URL.

    OK HTTP 101 – When you use a URL with a “?” then foo=bar..as in http://www.mysite.com/index.php?foo=bar The page you call will have the variable $foo=’bar’ passed to it.

    Therefore you can put some

    <?php //code here ?>

    that uses the variable

     $foo 

      ahh man sorry about that, in my original message that i copy and pasted from a word document i was putting together it started out with a warning, i cant believe i forgot to put that in my message, sorry again.

      Thanks for the help, i will be trying it out and such all day today.

      Sorry again, i dident mean to offend anyone.

        wow thank you man so much, even though this isent a big deal its been bugging me forever, i wish i could give you a hug haha

          Write a Reply...