PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
millsy007 wrote:So I would still need to: "Change page.html to the file you want to get the title from.." each time. I was really hoping there was a way for it to just see the current page and get the value automatically. I know it is easily done in javascript
millsy007 wrote:Thats great thanks
( Just a note for some reason I had to change it to: strpos($contents, '</title>') - 9); to stop a rogue > appearing!? )