Unstoppable Domains

Need some HTML help please

Spaceship Spaceship
Watch

blue^ray

Account Closed
Impact
5
Hi, what I want to do is request the file name of a html file.


basically I have a html page http://something.com/pages/bananaz.html

now somewhere in that html page I want to request the file name


so basically I want to request

/otherfoler/bananaz.html.jpg


I have to do this over 1000's of files so it is extremely easier if I can request the file name with plain HTML.

Is this possible?

Is there a command like this


Thanks in advance
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Just trying to understand what you want accomplished here, so bear with me.

Do you just want the image to pop up? If so, just link to the image like you would a normal link.

(If I understand this properly.)
 
0
•••
blueray, i dont think html can do this. explain what exactly you're trying to do and maybe we can come up with a way around it. sounds to me like a content management type script is what you might need.
 
0
•••
I was told I should look into php as html is unable to do this

basically I am creating a wallpaper site now I bought 4,000 wallpapers and I wanted to batch upload them

now basically I want to have a dynamic code when it comes to showing a wallpaper and to make it easier I wanted to have a dynamic code on the html file so I do not need to change the code every time.

basically the wallpaper site will have

http://www.wallpapersite.com/animals/1/animals001.html

on that page I will display a wallpaper image called animals001.html.jpg (batch rename)

So when it asks for the image url I wanted it to be dynamic and based upon the file name

/1024x768/{dynamic page url}.jpg

so then when

http://www.wallpapersite.com/animals/1/animals001.html

is requested it will automatically copy and paste animals001.html into

/1024x768/animals001.html.jpg


I think that is the best I can describe it.

Any thoughts?

Basically I need a command to request the file name.
 
0
•••
blue^ray

I can help you with this.

I am thinking this could be done with SSI and query strings.

You can use just 1 page and change the image dynamicly using SSI and query strings.

wallpaper.html?animals001
wallpaper.html?animals002
wallpaper.html?animals003

etc.

The data after the "?" will replace this <!--#echo var="QUERY_STRING" -->

/1024x768/<!--#echo var="QUERY_STRING" -->.jpg


Hit me up on ICQ if you need more info

ICQ: 147-823-875
 
0
•••
Hi, I paid asian all my NP$ to design a little php script.

Thanks for all your help nampepros :)

the sites working great now,
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back