Hi, I want to request the title of a html file within that file basically when im at http://www.somesite.com/folder/banana001.html I want to request a image within that page called banana001.html.jpg now I wanted it to be dynamic because I need to do 1000's of pages at once I was told to ask around website developement forums for a answer Please help if you can I was told PHP coding is probbally needed as HTML cannot do this. Basically I am wanting to know a request command to request the file name so far I have not been able to find anything. Thanks in Advance
Hello, You want to take thousands of pictures off of someone elses website? And you came here for someone to make a script to do it for you? If it was your site you would have access to the ftp to download the pics but you obviosly dont? Anyway if you just want to download someone elses pics from a certain webpage the easiest way is Teleport Pro. Mike
i think he just needs a script that everytime the is loaded to load random picture, i don't think that he wants to steel these images...
Hi, Sorry, steal was the wrong word. Anything on the internet is yours since you pay for itthe internet , anyway maybe I misunderstood. Mike
Hello again, So you want to take all of the images from a website that you don't own? I didn't actually mean "stealing", I was referring to the fact that you didn't have FTP Access to download the files. If this is what you want to do, as I said try teleport pro it will allow you to make a duplicate of a website on your pc. It will follow all the links on whatever webpage you put into it. It's a nice little program. Mike
I am not stealing them from other websites I have a wallpaper pack. its still classified as stealing what you said above. I do not like to do that. I have about 4k wallpapers right here I just need some way of manually adding them to a site as I do not have the money to get a custom CMS made.
Ok I think I got you. If you had a webpage like so: <a href="displayimages.php?theimagename=bg1.jpg"><img src="images/bg1.jpg"></a><br> <a href="displayimages.php?theimagename=bg2.jpg"><img src="images/bg2.jpg"></a><br> <a href="displayimages.php?theimagename=bg3.jpg"><img src="images/bg3.jpg"></a><br> In displayimages.php you would have something like: <? print('<IMG SRC="images/' . $HTTP_GET_VARS['theimagename'] . '">'); ?> displayimages.php would display any image sent to it as you can see. Let me know if i'm on the right track. Mike PS. I said that I was referring to the fact that you didnt have ftp access not stealing ok?
^not 100% sure what you ment above but I did a little searching and google and I found something with javascript. the basic command <SCRIPT LANGUAGE="JavaScript"> <!-- { document.write('location.href); } // --> </SCRIPT> but instead of showing the full url of the location I am only needing the page url (if that made sence) for example this thread I want it to request showthread.php?t=235203 and that only if I use the above code it will request the entire url http://forums.digitalpoint.com/showthread.php?t=235203 is there a way to minus http://forums.digitalpoint.com/ from the code above? been looking around for a hour now and cant find anything.
Hi, This works <script> var temp = location.href; temp = temp.split("/"); document.write(temp[temp.length-1]); </script> Mike