How to build a PHP webpage that resolves something like this in the address bar-...

  • Thread starter Thread starter JR Polidario
  • Start date Start date
J

JR Polidario

Guest
....../images.php?img=test.jpg? Please help me about this. I'm trying to make a website that I believe to be dynamic in such a way that when the link about an image, for example:
mywebsite.com/images/test.jpg.html
should be changed to:
mywebsite.com/images.php?img=test.jpg

I'm just new in this kind of stuff. But I just badly needed something like this to update my site easier and faster. I want to display a number of images while using the same format of the webpage, but only the body and some description about the image, change. Presently, I have lots of html files about every single image and its hard to update all of those.

Another thing, if I have two images:
mywebsite.com/images.php?img=test.jpg
mywebsite.com/images.php?img=test2.jpg
the images.php file should only be one file for all the images.

I'm just a beginner but can understand very basic html and php languages. I hope you understand what I am trying to say. I did some research but I don't really know how to explain this very well so I ended up at yahoo answers. Please help! Thanks!
 
Back
Top